Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


+
Bing Li 2012-02-20, 07:34
Copy link to this message
-
Re: TimeStampFilter - "type int out of range"
Hi Bing,

Add a "L" to the number, e.g.

ts.add(new Long(1329640759372L));

Lars

On Feb 20, 2012, at 2:34 AM, Bing Li wrote:

> 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB