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

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


+
Russell Jurney 2014-01-20, 17:15
+
Fernando Iwamoto - Planne... 2014-01-20, 17:31
+
Russell Jurney 2014-01-20, 18:12
Copy link to this message
-
Re: Issue connectiong to HBase using Pig's HBaseStorage: Unable to find region for my_table
Stack 2014-01-20, 21:33
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
> find
> > > region for bluecoat,,99999999999999 after 10 tries.
> > > 2014-01-20 09:00:44,714 [main] ERROR org.apache.pig.tools.grunt.Grunt -
> > > ERROR 2999: Unexpected internal error.
> > > org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to
> find
> > > region for bluecoat,,99999999999999 after 10 tries.
> > > 2014-01-20 09
+
Russell Jurney 2014-01-21, 00:35
+
Fernando Iwamoto - Planne... 2014-01-21, 13:40
+
Bharath Vissapragada 2014-01-21, 14:33
+
Fernando Iwamoto - Planne... 2014-01-21, 15:13
+
Fernando Iwamoto - Planne... 2014-01-20, 22:49