Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> TimeStampFilter - "type int out of range"


Copy link to this message
-
TimeStampFilter - "type int out of range"
Dear all,

I am running the sample about TimeStampFilter as follows.

                List<Long> ts = new ArrayList<Long>();
                ts.add(new Long(1329640759364));
                ts.add(new Long(1329640759372));
                ts.add(new Long(1329640759378));
                Filter filter = new TimestampsFilter(ts);

When compiling the above code, the error is "type int out of range". But
the time stamp is that long. How to handle this problem?

Thanks so much!

Best regards,
Bing