Thanks Jeff,

My setup was working fine with pig 0.8.0 trunk and 0.20.6. Does it change
with 0.89? I would assume that the hbase jar has to at least be different
and trunk simply seems to include 0.20.6 under /lib.

0.89 has deprecated a few methods and changed the way one should
instantiate HBaseConfiguration. When we upgraded, we had to make some
changes to our data access code to bring it up to speed.

-GS

On Wed, Oct 13, 2010 at 8:20 PM, Jeff Zhang <[email protected]> wrote:

> Hi George
>
> Here's three things should been taken care when you use HBaseStorage()
>
>
> 1. Register three jars: hbase-0.20.6.jar, zookeeper.jar, guava.jar
> 2. Tell the TaskTracker the configuration files of hbase storage, one
> convinenit method method is copy files under $HBASE_HOME/conf to
> $HADOOP_HOMB/conf
> 3. Import package org.apache.pig.backend.hadoop.hbase, or the full
> qualified class name :
> org.apache.pig.backend.hadoop.hbase.HBaseStorage
>
>
>
> On Thu, Oct 14, 2010 at 4:08 AM, George Stathis <[email protected]>
> wrote:
> > Hey folks, I've been trying HBaseStorage 0.8.0 trunk with hbase-0.89 and
> it
> > does not seem to work. It gets stuck at:
> >
> > [...]
> > 2010-10-13 14:58:44,064 [Thread-4] INFO  org.apache.zookeeper.ClientCnxn
> -
> > zoo'keeper.disableAutoWatchReset is false
> > 2010-10-13 14:58:44,182 [Thread-4-SendThread] INFO
> >  org.apache.zookeeper.ClientCnxn - Attempting connection to server
> > localhost/127.0.0.1:2181
> > 2010-10-13 14:58:44,188 [Thread-4-SendThread] INFO
> >  org.apache.zookeeper.ClientCnxn - Priming connection to
> > java.nio.channels.SocketChannel[connected
> > local=/127.0.0.1:54359remote=localhost/
> > 127.0.0.1:2181]
> > 2010-10-13 14:58:44,191 [Thread-4-SendThread] INFO
> >  org.apache.zookeeper.ClientCnxn - Server connection successful
> >
> > and stays there. Has anyone tried running it against hbase 0.89 or is
> 0.20.6
> > the only last supported version?
> >
> > -GS
> >
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>

Reply via email to