Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Issue connectiong to HBase using Pig's HBaseStorage: Unable to find region for my_table


Copy link to this message
-
Re: Issue connectiong to HBase using Pig's HBaseStorage: Unable to find region for my_table
Yes, the table exists on the cluster. Yes, I can see it in hbase shell and
can scan it.
On Mon, Jan 20, 2014 at 1:33 PM, Stack <[EMAIL PROTECTED]> wrote:

> Does the region/table exist on your cluster?  Can you see it in the UI and
> scan it from shell?
> St.Ack
>
>
> On Mon, Jan 20, 2014 at 10:12 AM, Russell Jurney
> <[EMAIL PROTECTED]>wrote:
>
> > I'm on CDH 4.4, so it is HBase 0.94.6.
> >
> >
> >
> > On Mon, Jan 20, 2014 at 9:31 AM, Fernando Iwamoto - Plannej <
> > [EMAIL PROTECTED]> wrote:
> >
> > > What kind of HBase and Pig version are you using? I'm having the same
> > > problem as you.
> > >
> > >
> > > 2014/1/20 Russell Jurney <[EMAIL PROTECTED]>
> > >
> > > > I'm having trouble connecting to HBase from Pig's
> > > > HBaseStorage<
> > > >
> > >
> >
> http://pig.apache.org/docs/r0.12.0/api/org/apache/pig/backend/hadoop/hbase/HBaseStorage.html
> > > > >command.
> > > > Any help would be appreciated.
> > > >
> > > > I'm running this command:
> > > >
> > > > time_series = LOAD '/tmp/time_series.txt' AS (date_time:chararray,
> > > > time_series:chararray);
> > > >
> > > > STORE time_series INTO 'hbase://bluecoat' USING
> > > >
> > > >
> > >
> >
> org.apache.pig.backend.hadoop.hbase.HBaseStorage('bytes_per_hour_time_series:series');
> > > >
> > > >
> > > > The output is thus:
> > > >
> > > > 2014-01-20 08:49:51,896 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client
> > > >
> > > >
> > >
> >
> environment:java.library.path=/Users/rjurney/Software/hadoop-1.0.3/libexec/../lib/native/Mac_OS_X-x86_64-64
> > > > 2014-01-20 08:49:51,896 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client
> > > >
> > > >
> > >
> >
> environment:java.io.tmpdir=/var/folders/0b/74l_65015_5fcbmbdz1w2xl40000gn/T/
> > > > 2014-01-20 08:49:51,896 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client environment:java.compiler=<NA>
> > > > 2014-01-20 08:49:51,896 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client environment:os.name=Mac OS X
> > > > 2014-01-20 08:49:51,897 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client environment:os.arch=x86_64
> > > > 2014-01-20 08:49:51,897 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client environment:os.version=10.9
> > > > 2014-01-20 08:49:51,897 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client environment:user.name=rjurney
> > > > 2014-01-20 08:49:51,897 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client environment:user.home=/Users/rjurney
> > > > 2014-01-20 08:49:51,897 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Client
> > > >
> environment:user.dir=/Users/rjurney/Software/steel-thread/pig/bluecoat
> > > > 2014-01-20 08:49:51,899 [main] INFO  org.apache.zookeeper.ZooKeeper -
> > > > Initiating client connection,
> > > > connectString=hiveapp2:2181,hiveapp1:2181,hiveapp3:2181
> > > > sessionTimeout=60000 watcher=hconnection
> > > > 2014-01-20 08:49:51,926 [main] INFO
> > > >  org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - The
> > identifier
> > > of
> > > > this process is [EMAIL PROTECTED]l
> > > > 2014-01-20 08:49:52,993 [main-SendThread(hiveapp1:2181)] INFO
> > > >  org.apache.zookeeper.ClientCnxn - Opening socket connection to
> server
> > > > hiveapp1/10.10.30.200:2181. Will not attempt to authenticate using
> > SASL
> > > > (unknown error)
> > > > 2014-01-20 08:49:53,000 [main-SendThread(hiveapp1:2181)] INFO
> > > >  org.apache.zookeeper.ClientCnxn - Socket connection established to
> > > > hiveapp1/10.10.30.200:2181, initiating session
> > > > 2014-01-20 08:49:53,030 [main-SendThread(hiveapp1:2181)] INFO
> > > >  org.apache.zookeeper.ClientCnxn - Session establishment complete on
> > > server
> > > > hiveapp1/10.10.30.200:2181, sessionid = 0x34397f09f6c25aa,
> negotiated
> > > > timeout = 60000
> > > > 2014-01-20 09:00:44,711 [main] ERROR
> > > > org.apache.hadoop.hbase.mapreduce.TableOutputFormat -
> > > > org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to

Russell Jurney twitter.com/rjurney [EMAIL PROTECTED] datasyndrome.com