hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <static.void....@gmail.com>
Subject HBase Hush Application
Date Sun, 02 Oct 2011 17:19:23 GMT
I am trying to run the HBase URL application: 
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.StringIndexOutOfBoundsException: 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message