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 Threaded View
HBase >> mail # user >> Thrift Error in HBase


Copy link to this message
-
Re: Thrift Error in HBase
As per the line no it comes as

* byte*[][] famAndQf = KeyValue.*parseColumn*(*getBytes*(m.column));
column inside Mutation comes as null...  Can you check client code

-Anoop-

On Tue, Dec 17, 2013 at 2:59 PM, ramkrishna vasudevan <
[EMAIL PROTECTED]> wrote:

> Due to some reason the row that is created inside the BatchMutation is
> null.  Can you check your Thrift client code where BatchMutation is
> created?
>
>
> On Tue, Dec 17, 2013 at 2:45 PM, Ramon Wang <[EMAIL PROTECTED]> wrote:
>
> > Hi Folks
> >
> > We upgraded our cluster to CDH4.5.0 recently, HBase version is
> > 0.94.6-cdh4.5.0 now. Our client program(written in Python) cannot save
> data
> > by using Thrift, there are errors happen when we are trying to save data
> > with many columns(more than 7 or 8), and here is the error log:
> >
> > 2013-12-17 08:54:39,582 ERROR org.apache.thrift.ProcessFunction: Internal
> > > error processing mutateRows
> > > java.lang.NullPointerException
> > > at org.apache.hadoop.hbase.util.Bytes.getBytes(Bytes.java:781)
> > > at
> > >
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.mutateRowsTs(ThriftServerRunner.java:1037)
> > > at
> > >
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.mutateRows(ThriftServerRunner.java:1018)
> >
> >
> > I checked the HBase source code, but cannot understand what happens
> there,
> > why there can be a NullPointerException, if i save data directly by using
> > Java client without Thrift, everything works. Any ideas? Thanks in
> advance.
> >
> > Cheers
> > Ramon
> >
>
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