You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Shuja Rehman <sh...@gmail.com> on 2010/08/23 13:03:35 UTC

can not find symbol class BatchUpdate - Cloudera Hbase

Hi
I am trying to run mapreduce example and create a sample program but
BatchUpdate is not visible to program and having error on this line.

import org.apache.hadoop.hbase.io.BatchUpdate;

I also include the hbase jar file. Any clue??

-- 
Regards
Shuja-ur-Rehman Baig
http://pk.linkedin.com/in/shujamughal
Cell: +92 3214207445

Re: can not find symbol class BatchUpdate - Cloudera Hbase

Posted by Gary Helmling <gh...@gmail.com>.
BatchUpdate was part of the old 0.19 client API.  The client API was
completely rewritten with the 0.20 release (see
org.apache.hadoop.hbase.client), and BatchUpdate was deprecated.

If you're using Cloudera's CDH3 (which I assume since that includes HBase),
it includes HBase based off the 0.89 release series, which removes the
deprecated BatchUpdate class.  You'll need to port over any of your client
code to use the new Get, Put, and Delete classes.



On Mon, Aug 23, 2010 at 8:59 AM, Ted Yu <yu...@gmail.com> wrote:

> What version of HBase are you using ?
> Can you include the detailed error message ?
>
> On Mon, Aug 23, 2010 at 4:03 AM, Shuja Rehman <sh...@gmail.com>
> wrote:
>
> > Hi
> > I am trying to run mapreduce example and create a sample program but
> > BatchUpdate is not visible to program and having error on this line.
> >
> > import org.apache.hadoop.hbase.io.BatchUpdate;
> >
> > I also include the hbase jar file. Any clue??
> >
> > --
> > Regards
> > Shuja-ur-Rehman Baig
> > http://pk.linkedin.com/in/shujamughal
> > Cell: +92 3214207445
> >
>

Re: can not find symbol class BatchUpdate - Cloudera Hbase

Posted by Ted Yu <yu...@gmail.com>.
What version of HBase are you using ?
Can you include the detailed error message ?

On Mon, Aug 23, 2010 at 4:03 AM, Shuja Rehman <sh...@gmail.com> wrote:

> Hi
> I am trying to run mapreduce example and create a sample program but
> BatchUpdate is not visible to program and having error on this line.
>
> import org.apache.hadoop.hbase.io.BatchUpdate;
>
> I also include the hbase jar file. Any clue??
>
> --
> Regards
> Shuja-ur-Rehman Baig
> http://pk.linkedin.com/in/shujamughal
> Cell: +92 3214207445
>