No such luck with either of those attempts.

FYI Hadoop, HBase and ZooKeeper seem to be working because I can hit my localhost:60010 and I see the following:


Attribute Name  Value   Description
HBase Version   0.90.3-cdh3u1, rUnknown         HBase version and svn revision
HBase Compiled Sat Oct 1 13:12:02 PDT 2011, rob When HBase version was compiled and by whom Hadoop Version 0.20.2-cdh3u1, rbdafb1dbffd0d5f2fbc6ee022e1c8df6500fd638 Hadoop version and svn revision Hadoop Compiled Mon Jul 18 08:06:52 PDT 2011, jenkins When Hadoop version was compiled and by whom HBase Root Directory hdfs://localhost:9000/hbase Location of HBase home directory Load average 2 Average number of regions per regionserver. Naive computation. Zookeeper Quorum localhost:2181 Addresses of all registered ZK servers. For more, seezk dump <http://localhost:60010/zk.jsp>.







On 10/2/11 11:29 AM, Zijad Purkovic wrote:
Or comment out one of the IPv6, leave one IPv4 (default localhost) and
one IPv6 (::1 localhost).

On Sun, Oct 2, 2011 at 8:25 PM, Zijad Purkovic<[email protected]>  wrote:
Try removing or commenting out the IPv6 addresses from your hosts file
and restart hadoop/hbase. As i understand hadoop/hbase doesn't like
when hosts file contains multiple IPs assigned to one hostname (in
your case localhost).

On Sun, Oct 2, 2011 at 8:17 PM, Mark<[email protected]>  wrote:
Just the good ol default hosts file

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##

127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost



On 10/2/11 11:04 AM, Zijad Purkovic wrote:
Can you show your hosts file, particularly info on localhost. Of
course omit any sensitive info like public IP's or hostnames?

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 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






--
Zijad Purković
Dobrovoljnih davalaca krvi 3/19, Zavidovići
061/ 690 - 241



Reply via email to