hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Cockrill (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-2826) Unhelpful exception from Client on HBase master startup when hbase.rootdir is incorrect.
Date Fri, 09 Jul 2010 20:36:50 GMT
Unhelpful exception from Client on HBase master startup when hbase.rootdir is incorrect.

                 Key: HBASE-2826
                 URL: https://issues.apache.org/jira/browse/HBASE-2826
             Project: HBase
          Issue Type: Improvement
          Components: ipc
         Environment: Ubuntu Karmic, using Cloudera distribution karmic-cdh3. The exact hbase
version is 0.89.20100621+17.
            Reporter: James Cockrill
            Priority: Minor

As per users@hbase.apache.org thread: http://mail-archives.apache.org/mod_mbox/hbase-user/201007.mbox/%3CAANLkTimyCtWiuNxWw9P2IFAy6Y4Q7X8oLZSZNdggV3Nn@mail.gmail.com%3E

I setup HBase (and as such, Zookeeper) on Ubuntu 10.04 using the Cloudera Karmic CDH3 distribution.
Zookeeper has installed fine, however when it comes to starting an hbase master, it falls
over with the following exception:

(stack trace summarised to last bit)
Caused by: java.io.EOFException
   at java.io.DataInputStream.readInt(DataInputStream.java:375)
   at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:508)
   at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446)

The cause was that the hbase.rootdir was incorrectly set to hdfs://master:50071/hbase, when
it should have been set to port 50070. After remedying this hbase master started fine.

I was asked to raise this as a JIRA to investigate the possibility of improving the handling
of the EOFException to perhaps indicate more clearly to the user that an incorrect address
has been specified for the rootdir, rather than the very unclear statement above.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message