You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Fernando Iwamoto - Plannej <fe...@plannej.com.br> on 2014/01/15 21:56:40 UTC
Unable to find region for hello_world,,99999999999999 after 10 tries.
Versions of Hadoop 2.2, Hbase 0.96.1, Pig 0.12 that I'm using.
My problem is that whenever I run this script
raw_data = LOAD 'sample_data.csv' USING PigStorage( ',' ) AS (
listing_id: chararray, fname: chararray, lname: chararray );
STORE raw_data INTO 'hbase://hello_world' USING
org.apache.pig.backend.hadoop.hbase.HBaseStorage ( 'info:fname info:lname');
And the log show me this:
2014-01-15 20:12:30,788 [main-SendThread(hadoop-master:2181)] INFO
org.apache.zookeeper.ClientCnxn - Socket connection established to
hadoop-master/50.50.1.15:2181, initiating session 2014-01-15 20:12:30,798
[main-SendThread(hadoop-master:2181)] INFO org.apache.zookeeper.ClientCnxn
- Session establishment complete on server hadoop-master/50.50.1.15:2181,
sessionid = 0x14397878303000b, negotiated timeout = 90000
which seems OK, but after 10min, this error shows me:
2014-01-15 20:23:10,247 [main] ERROR
org.apache.hadoop.hbase.mapreduce.TableOutputFormat -
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for hello_world,,99999999999999 after 10 tries. 2014-01-15
20:23:10,250 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2999:
Unexpected internal error.
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for hello_world,,99999999999999 after 10 tries.
To check if everything is OK, I typed this command to check: hbase hbck and
give me this:
Summary:
hbase:meta is okay.
Number of regions: 1
Deployed on: hadoop-master,60020,1389816680166
hello_world is okay.
Number of regions: 1
Deployed on:
ubuntu-5e1cfa86-44db-4cab-a902-2aa87485669f,60020,1389816681502
hbase:namespace is okay.
Number of regions: 1
Deployed on: hadoop-master,60020,1389816680166
0 inconsistencies detected.
Status: OK
In jps, my cluster give me the HRegionServer and HQuorumPeer in master,
Hmaster on my master
My jps master:
29660 ResourceManager
29264 NameNode
32372 HRegionServer
32064 HQuorumPeer
32159 HMaster
586 Jps
29513 SecondaryNameNode
31728 JobHistoryServer
My jps slave:
29817 Jps
29071 HRegionServer
26844 NodeManager
26665 DataNode
28731 JobHistoryServer
Only error that give is the hbase hbck because It runs and close before the
zookeeper continue I think.
2014-01-15 20:28:29,652 WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181]
server.NIOServerCnxn: caught end of stream exception EndOfStreamException:
Unable to read additional data from client sessionid 0x143978783030018,
likely client has closed socket at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220) at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
at java.lang.Thread.run(Thread.java:701) 2014-01-15 20:28:29,652 INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed
socket connection for client /50.50.1.15:50853 which had sessionid
0x143978783030018 2014-01-15 20:28:29,653 WARN [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid
0x14397878303001b, likely client has closed socket at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220) at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
at java.lang.Thread.run(Thread.java:701) 2014-01-15 20:28:29,653 INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed
socket connection for client /50.50.1.15:50863 which had sessionid
0x14397878303001b
There's anything I'm missing?
Re: Unable to find region for hello_world,,99999999999999 after 10 tries.
Posted by Ted Yu <yu...@gmail.com>.
Can you check master log to see what happened to hello_world,,99999999999999
?
BTW you should be using HBase 0.96.1.1 release.
Cheers
On Wed, Jan 15, 2014 at 12:56 PM, Fernando Iwamoto - Plannej <
fernando.iwamoto@plannej.com.br> wrote:
> Versions of Hadoop 2.2, Hbase 0.96.1, Pig 0.12 that I'm using.
>
> My problem is that whenever I run this script
>
> raw_data = LOAD 'sample_data.csv' USING PigStorage( ',' ) AS (
> listing_id: chararray, fname: chararray, lname: chararray );
>
> STORE raw_data INTO 'hbase://hello_world' USING
> org.apache.pig.backend.hadoop.hbase.HBaseStorage ( 'info:fname
> info:lname');
>
> And the log show me this:
>
> 2014-01-15 20:12:30,788 [main-SendThread(hadoop-master:2181)] INFO
> org.apache.zookeeper.ClientCnxn - Socket connection established to
> hadoop-master/50.50.1.15:2181, initiating session 2014-01-15 20:12:30,798
> [main-SendThread(hadoop-master:2181)] INFO org.apache.zookeeper.ClientCnxn
> - Session establishment complete on server hadoop-master/50.50.1.15:2181,
> sessionid = 0x14397878303000b, negotiated timeout = 90000
>
> which seems OK, but after 10min, this error shows me:
>
> 2014-01-15 20:23:10,247 [main] ERROR
> org.apache.hadoop.hbase.mapreduce.TableOutputFormat -
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region for hello_world,,99999999999999 after 10 tries. 2014-01-15
> 20:23:10,250 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2999:
> Unexpected internal error.
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region for hello_world,,99999999999999 after 10 tries.
>
> To check if everything is OK, I typed this command to check: hbase hbck and
> give me this:
>
> Summary:
> hbase:meta is okay.
> Number of regions: 1
> Deployed on: hadoop-master,60020,1389816680166
> hello_world is okay.
> Number of regions: 1
> Deployed on:
> ubuntu-5e1cfa86-44db-4cab-a902-2aa87485669f,60020,1389816681502
> hbase:namespace is okay.
> Number of regions: 1
> Deployed on: hadoop-master,60020,1389816680166
> 0 inconsistencies detected.
> Status: OK
>
> In jps, my cluster give me the HRegionServer and HQuorumPeer in master,
> Hmaster on my master
>
> My jps master:
>
> 29660 ResourceManager
> 29264 NameNode
> 32372 HRegionServer
> 32064 HQuorumPeer
> 32159 HMaster
> 586 Jps
> 29513 SecondaryNameNode
> 31728 JobHistoryServer
>
> My jps slave:
>
> 29817 Jps
> 29071 HRegionServer
> 26844 NodeManager
> 26665 DataNode
> 28731 JobHistoryServer
>
> Only error that give is the hbase hbck because It runs and close before the
> zookeeper continue I think.
>
> 2014-01-15 20:28:29,652 WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181]
> server.NIOServerCnxn: caught end of stream exception EndOfStreamException:
> Unable to read additional data from client sessionid 0x143978783030018,
> likely client has closed socket at
> org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220) at
>
> org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
> at java.lang.Thread.run(Thread.java:701) 2014-01-15 20:28:29,652 INFO
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed
> socket connection for client /50.50.1.15:50853 which had sessionid
> 0x143978783030018 2014-01-15 20:28:29,653 WARN [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: caught end of stream exception
> EndOfStreamException: Unable to read additional data from client sessionid
> 0x14397878303001b, likely client has closed socket at
> org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220) at
>
> org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
> at java.lang.Thread.run(Thread.java:701) 2014-01-15 20:28:29,653 INFO
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed
> socket connection for client /50.50.1.15:50863 which had sessionid
> 0x14397878303001b
>
> There's anything I'm missing?
>