8619 JobTracker
8563 SecondaryNameNode
8410 NameNode
8699 TaskTracker
8487 DataNode
9843 HMaster
9797 Jps


I don't see any references to Zookeeper nor do I see any errors in my hbase-mark-Marks-Mackbook-Pro.local.log.

So is this error related to Zookeeper? I see some debug info regarding Zookeeper in the logs though and it appears to be working.

2011-10-02 11:11:34,267 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: 
regionserver:53449-0x132c5d55bdc0002 Attempting to transition node 
1028785192/.META. from RS_ZK_REGION_OPENING to RS_ZK_REGION_OPENED
2011-10-02 11:11:34,274 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: 
regionserver:53449-0x132c5d55bdc0002 Successfully transitioned node 1028785192 
from RS_ZK_REGION_OPENING to RS_ZK_REGION_OPENED
2011-10-02 11:11:34,285 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: 
master:53446-0x132c5d55bdc0000 Deleting any existing unassigned nodes


On 10/2/11 10:48 AM, Dejan Menges wrote:
Can you list all services with jps? If I'm not wrong, ZooKeeper should be
HQuorumServer, HMaster is separated one.

Can you also tail -f $HBASE_HOME/logs/* to see if there is something that
can point you to the problem?

Regards,
Dejo

On Sun, Oct 2, 2011 at 7:19 PM, Mark<[email protected]>  wrote:

I am trying to run the HBase URL application:
https://github.com/larsgeorge/**hbase-book<https://github.com/larsgeorge/hbase-book>on
 my local machine in psuedo-distributed mode using the Cloudera  CDH3 but
I keep receiving the following error:

...
INFO [main] (ZooKeeper.java:373) - Initiating client connection,
connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection
INFO [main-SendThread()] (ClientCnxn.java:1041) - Opening socket connection
to server localhost/0:0:0:0:0:0:0:1:2181
INFO [main-SendThread(localhost:**2181)] (ClientCnxn.java:949) - Socket
connection established to localhost/0:0:0:0:0:0:0:1:**2181, initiating
session
INFO [main-SendThread(localhost:**2181)] (ClientCnxn.java:738) - Session
establishment complete on server localhost/0:0:0:0:0:0:0:1:**2181,
sessionid = 0x132c59cf1100004, negotiated timeout = 40000
Exception in thread "main" java.lang.**StringIndexOutOfBoundsExceptio**n:
String index out of range: -1
    at java.lang.String.substring(**String.java:1937)
    at org.apache.hadoop.hbase.**ServerName.parseHostname(**
ServerName.java:81)
    at org.apache.hadoop.hbase.**ServerName.<init>(ServerName.**java:63)
    at org.apache.hadoop.hbase.**MasterAddressTracker.**getMasterAddress(**
MasterAddressTracker.java:62)
    at org.apache.hadoop.hbase.**client.HConnectionManager$**
HConnectionImplementation.**getMaster(HConnectionManager.**java:568)
    at org.apache.hadoop.hbase.**client.HBaseAdmin.<init>(**
HBaseAdmin.java:94)
    at com.hbasebook.hush.schema.**SchemaManager.process(**
SchemaManager.java:126)
    at com.hbasebook.hush.HushMain.**main(HushMain.java:57)



When I type JPS I see /HMaster/ however I do not see any mention of
/Zookeeper/. Is this to be expected? Is the above error I am receiving due
to a misconfiguration of zookeeper or is it something completely unrelated?
Is there something wrong with my hostname? Any ideas why I am receiving this
error

Any help would be greatly appreciated. Thanks



Reply via email to