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 [email protected] thread:
http://mail-archives.apache.org/mod_mbox/hbase-user/201007.mbox/%[email protected]%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.