How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Vikram Singh Chandel
Hi I am trying to pass a POJO (RequestVO say) having a single member variable i.e *Text Name; *to coprocessorExec method. This VO implements writable But getting following exception org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=10, *exceptions:* Tue May 27

HBase 0.98 rpm

2014-05-27 Thread oc tsdb
Hi , 1) Where can we find hbase.098 tar with hbase 0.98 directory structure similar to hbase-0.94.19 ? i,e .. Directory structure of hbase 0.98 # ls bin/ dev-support/ hbase-common/ hbase-hadoop2-compat/ hbase-prefix-tree/ hbase-shell/ LICENSE.txt README.txt CHANGES.txt

RE: HBase 0.98 rpm

2014-05-27 Thread Kashif Jawed Siddiqui
Follow http://hbase.apache.org/book/quickstart.html Choose a download site from the list of Apache Download Mirrors mentioned in the link For RPMs, why do you need rpm build ? The tar installation is relatively easier Regards KASHIF

Re: HBase 0.98 rpm

2014-05-27 Thread Bharath Vissapragada
On Tue, May 27, 2014 at 2:38 PM, oc tsdb oc.t...@gmail.com wrote: Hi , 1) Where can we find hbase.098 tar with hbase 0.98 directory structure similar to hbase-0.94.19 ? i,e .. Directory structure of hbase 0.98 # ls bin/ dev-support/ hbase-common/ hbase-hadoop2-compat/

Some block can not be found while inserting data into HBase

2014-05-27 Thread Tao Xiao
I put massive records into HBase and found that one of the region servers crashed. I checked the RS log and NameNode log and found them complaining that some block does not exist. For example: *In RS's log:* java.io.IOException: Bad response ERROR for block

Re: Some block can not be found while inserting data into HBase

2014-05-27 Thread Ted Yu
What hbase / hadoop release are you using ? Cheers On Tue, May 27, 2014 at 4:25 AM, Tao Xiao xiaotao.cs@gmail.com wrote: I put massive records into HBase and found that one of the region servers crashed. I checked the RS log and NameNode log and found them complaining that some block

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Ted Yu
Can you confirm the version of HBase ? To my knowledge, cdh5 is based on 0.96 Cheers On Tue, May 27, 2014 at 1:36 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi I am trying to pass a POJO (RequestVO say) having a single member variable i.e *Text Name; *to

Re: [VOTE] The 2nd HBase 0.98.3 release candidate (RC1) is available, vote closing 6/1/2014

2014-05-27 Thread Stack
+1 Downloaded, checked hash, checked doc. Loaded data into standaalone mode. Checked it made it. Checked UI. All seems fine. Put it up on my little test cluster and ran my blockcache loadings (I had to copy in hadoop 2.4.x libs). It started fine over data written by trunk. Seems fine. No

Re: [VOTE] The 2nd HBase 0.98.3 release candidate (RC1) is available, vote closing 6/1/2014

2014-05-27 Thread Anoop John
+1 Downloaded, checked signature, ran tests, checked doc. Ran ITs for visibility labels, tags and encryption (HFile and WAL). All looks good. -Anoop- On Tue, May 27, 2014 at 10:20 PM, Stack st...@duboce.net wrote: +1 Downloaded, checked hash, checked doc. Loaded data into standaalone

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Tom Brown
Can you check your server logs for a full stack trace? This sounds like it could be similar to this: On Tue, May 27, 2014 at 10:15 AM, Ted Yu yuzhih...@gmail.com wrote: Can you confirm the version of HBase ? To my knowledge, cdh5 is based on 0.96 Cheers On Tue, May 27, 2014 at 1:36 AM,

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Tom Brown
Sorry, accidentally hit send... I meant to suggest this: http://stackoverflow.com/questions/20257356/hbase-client-scan-could-not-initialize-org-apache-hadoop-hbase-util-classes/ --Tom On Tue, May 27, 2014 at 11:14 AM, Tom Brown tombrow...@gmail.com wrote: Can you check your server logs for a

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Vikram Singh Chandel
Hi Ted Yes you were right The CDH version is 4.5 and HBase version is 0.94.6 Tom full stack trace of log as (displayed on console) is at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at

RE: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Vladimir Rodionov
Make sure that your Writable implementation code is correct. Do you have any unit tests for your Writable implementation? Best regards, Vladimir Rodionov Principal Platform Engineer Carrier IQ, www.carrieriq.com e-mail: vrodio...@carrieriq.com From:

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Anoop John
I have not done doing some thing like this. But I think making the VO as writable is not enough. You have to add the new VO class entry into HbaseObjectWritable. (Yes u have to touch the hbase code) You can see that all the Writable classes, which client send to server, is added into this class

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Ted Yu
In HbaseObjectWritable#readObject(), we have: if(Writable.class.isAssignableFrom(instanceClass)){ Writable writable = WritableFactories.newInstance(instanceClass, conf); try { writable.readFields(in); Vikram: Please double check your VO class w.r.t. Writable

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Vikram Singh Chandel
Hi Vladimir No as of now i didn't have junit for it.will do it first thing in the morning Anoop Thanks for the suggestions will look into that class and will get back to you. Is passing Params to Coprocessor so complex i thought at least that would be easy out of all :D On Tue, May 27, 2014 at

Re: [VOTE] The 2nd HBase 0.98.3 release candidate (RC1) is available, vote closing 6/1/2014

2014-05-27 Thread Jesse Yates
Downloaded, checked signature, poked around with a mini-cluster + shell, ui looks good, built against phoenix. +1 --- Jesse Yates @jesse_yates jyates.github.com On Tue, May 27, 2014 at 10:09 AM, Anoop John anoop.hb...@gmail.com wrote: +1 Downloaded, checked signature, ran

Re: Performance on updation.

2014-05-27 Thread Jonathan Hsieh
Regardless of what version of hbase you use, updates are initially just as expensive as new writes. Newer versions of hbase have become more efficient at writes. Updates that require reading the value before an update (like an append or insert) cost more because of the read operation. Numbers

Re: Some block can not be found while inserting data into HBase

2014-05-27 Thread Tao Xiao
I‘m using HDP 2.0.6 2014-05-28 0:03 GMT+08:00 Ted Yu yuzhih...@gmail.com: What hbase / hadoop release are you using ? Cheers On Tue, May 27, 2014 at 4:25 AM, Tao Xiao xiaotao.cs@gmail.com wrote: I put massive records into HBase and found that one of the region servers crashed. I

Re: Some block can not be found while inserting data into HBase

2014-05-27 Thread Bharath Vissapragada
Run an fsck on /hbase to check if there are any inconsistencies. On Wed, May 28, 2014 at 6:23 AM, Tao Xiao xiaotao.cs@gmail.com wrote: I‘m using HDP 2.0.6 2014-05-28 0:03 GMT+08:00 Ted Yu yuzhih...@gmail.com: What hbase / hadoop release are you using ? Cheers On Tue, May

Re: Some block can not be found while inserting data into HBase

2014-05-27 Thread Tao Xiao
fsck on /apps/hbase says that it is healthy 2014-05-28 10:58 GMT+08:00 Bharath Vissapragada bhara...@cloudera.com: Run an fsck on /hbase to check if there are any inconsistencies. On Wed, May 28, 2014 at 6:23 AM, Tao Xiao xiaotao.cs@gmail.com wrote: I‘m using HDP 2.0.6