HBase prints the classpath when you start it, make sure you see the jars in there. For example, my local HBase 0.90.4 that runs on 0.20.205.0 has:
/Users/jdcryans/Work/HBase/hbase-0.90.4/bin/../lib/guava-r06.jar:/Users/jdcryans/Work/HBase/hbase-0.90.4/bin/../lib/hadoop-ant-0.20.205.0.jar:/Users/jdcryans/Work/HBase/hbase-0.90.4/bin/../lib/hadoop-core-0.20.205.0.jar:/Users/jdcryans/Work/HBase/hbase-0.90.4/bin/../lib/hadoop-examples-0.20.205.0.jar:/Users/jdcryans/Work/HBase/hbase-0.90.4/bin/../lib/hadoop-test-0.20.205.0.jar:/Users/jdcryans/Work/HBase/hbase-0.90.4/bin/../lib/hadoop-tools-0.20.205.0.jar: I also needed to copy over commons-configuration-1.6.jar, else I'd have a class not found. And it works. J-D On Tue, Dec 6, 2011 at 10:12 AM, <[email protected]> wrote: > > >>> What doc you looking at? > > > Pick one. There's a dozen or so HBase tutorials published on the web, > none of which will leave the reader with a working HBase instance. > Mostly though, I've been trying to get this to work: > > > http://hbase.apache.org/book/hadoop.html > > > I've also read the O'Reilly book in its entirety. > > >>> Does the hadoop lib jar that is under hbase match that of your cluster? > > > Well, that's not in the official docs, but I copied these over from > HADOOP_HOME into the HBase lib dir: > > hadoop-core-0.20.205.0.jar > > hadoop-ant-0.20.205.0.jar > hadoop-examples-0.20.205.0.jar > hadoop-test-0.20.205.0.jar > hadoop-tools-0.20.205.0.jar > > and removed the version of hadoop-core that shipped with HBase. > > > -------- Original Message -------- > Subject: Re: EOFException in HBase 0.94 > From: Stack <[email protected]> > Date: Tue, December 06, 2011 12:47 pm > To: [email protected] > > On Tue, Dec 6, 2011 at 8:42 AM, <[email protected]> wrote: > > > > > > Yes. HDFS is up and running, but at soon as HBase connects to it, it > > gets the EOF exception and immediately shuts down the master. Most of > > the documentation for getting HBase running seems out of date as it > > refers to a namenode server running on 8020. There is nothing running > on > > 8020. The namenode server runs on 9000. > > > > Conf: > > > > http://paste.pocoo.org/show/517118/ > > > > What doc you looking at? > > Does the hadoop lib jar that is under hbase match that of your cluster? > > St.Ack >
