You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Anurag Awasthi <an...@gmail.com> on 2011/08/27 22:21:21 UTC

Launching HBase from source code to test the changes.

Hello,

I am trying to observer the changes I have made to HBase source code by
testing it directly through eclipse. The procedure given in the
http://wiki.apache.org/hadoop/Hbase/HowToTest seems to working. But when I
run a program (actually an example from the javadocs in the overview of the
client package, please let me know if the source code is required) I get
that the table does not exist. I have created a table beforehand and the
table exists which I can see from the web browser (through
http://localhost:60010). Still the error persists. Can someone help me in
this regard. I suppose one of the reasons is a particular component is not
up. As of now (from the same directions in the above link) I have started
HMaster and HRegionServer.

Thank you in advance.


Regards,
Anurag


11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:zookeeper.version=
3.3.3-1073969, built on 02/23/2011 22:27 GMT
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:host.name
=ubuntu
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:java.version=1.6.0_26
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:java.vendor=Sun Microsystems Inc.
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.26/jre
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:java.class.path=/home/anurag/workspace/hbase/conf:/home/anurag/workspace/hbase/target/test-classes:/home/anurag/workspace/hbase/target/classes:/home/anurag/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/anurag/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/home/anurag/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/home/anurag/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/anurag/.m2/repository/asm/asm/3.1/asm-3.1.jar:/home/anurag/.m2/repository/org/apache/avro/avro/1.4.1/avro-1.4.1.jar:/home/anurag/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/anurag/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/home/anurag/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/home/anurag/.m2/repository/commons-el/commons-el/1.0/commons-el-1.0.jar:/home/anurag/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/anurag/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar:/home/anurag/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/home/anurag/.m2/repository/org/apache/commons/commons-math/2.1/commons-math-2.1.jar:/home/anurag/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar:/home/anurag/.m2/repository/org/eclipse/jdt/core/3.1.1/core-3.1.1.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftplet-api/1.0.0/ftplet-api-1.0.0.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftpserver-core/1.0.0/ftpserver-core-1.0.0.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftpserver-deprecated/1.0.0-M2/ftpserver-deprecated-1.0.0-M2.jar:/home/anurag/.m2/repository/com/google/guava/guava/r09/guava-r09.jar:/home/anurag/.m2/repository/org/apache/hadoop/hadoop-core/0.20-append-r1057313/hadoop-core-0.20-append-r1057313.jar:/home/anurag/.m2/repository/org/apache/hadoop/hadoop-test/0.20-append-r1057313/hadoop-test-0.20-append-r1057313.jar:/home/anurag/.m2/repository/com/github/stephenc/high-scale-lib/high-scale-lib/1.1.1/high-scale-lib-1.1.1.jar:/home/anurag/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar:/home/anurag/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.5.5/jackson-core-asl-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.5.5/jackson-jaxrs-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.5.5/jackson-mapper-asl-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-xc/1.5.5/jackson-xc-1.5.5.jar:/home/anurag/.m2/repository/org/jamon/jamon-runtime/2.3.1/jamon-runtime-2.3.1.jar:/home/anurag/.m2/repository/tomcat/jasper-compiler/5.5.23/jasper-compiler-5.5.23.jar:/home/anurag/.m2/repository/tomcat/jasper-runtime/5.5.23/jasper-runtime-5.5.23.jar:/home/anurag/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.12/jaxb-impl-2.1.12.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-core/1.4/jersey-core-1.4.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-json/1.4/jersey-json-1.4.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-server/1.4/jersey-server-1.4.jar:/home/anurag/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/home/anurag/.m2/repository/org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar:/home/anurag/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar:/home/anurag/.m2/repository/org/apache/thrift/libthrift/0.6.1/libthrift-0.6.1.jar:/home/anurag/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/anurag/.m2/repository/org/apache/mina/mina-core/2.0.0-M5/mina-core-2.0.0-M5.jar:/home/anurag/.m2/repository/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar:/home/anurag/.m2/repository/org/jboss/netty/netty/3.2.1.Final/netty-3.2.1.Final.jar:/home/anurag/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar:/home/anurag/.m2/repository/com/google/protobuf/protobuf-java/2.3.0/protobuf-java-2.3.0.jar:/home/anurag/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.jar:/home/anurag/.m2/repository/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar:/home/anurag/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar:/home/anurag/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/home/anurag/.m2/repository/org/apache/velocity/velocity/1.6.4/velocity-1.6.4.jar:/home/anurag/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/home/anurag/.m2/repository/org/apache/zookeeper/zookeeper/3.3.3/zookeeper-3.3.3.jar:/home/anurag/.m2/repository
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386::/usr/java/packages/lib/i386:/lib:/usr/lib
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:os.arch=i386
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:os.version=2.6.38-11-generic
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:user.name
=anurag
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:user.home=/home/anurag
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
environment:user.dir=/home/anurag/workspace/hbase
11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Initiating client connection,
connectString=master:2181 sessionTimeout=180000 watcher=hconnection
11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Opening socket connection to
server master/192.168.126.158:2181
11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Socket connection established
to master/192.168.126.158:2181, initiating session
11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Session establishment complete
on server master/192.168.126.158:2181, sessionid = 0x1320ee7bf42000c,
negotiated timeout = 40000
11/08/27 23:39:47 DEBUG client.HConnectionManager$HConnectionImplementation:
Lookedup root region location,
connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42552c;
serverName=ubuntu,60020,1314510734929
11/08/27 23:39:47 INFO ipc.HBaseRPC: Using
org.apache.hadoop.hbase.ipc.WritableRpcEngine for
org.apache.hadoop.hbase.ipc.HRegionInterface
*Exception in thread "main" org.apache.hadoop.hbase.**TableNotFoundException:
Table '.META.' was not found.
    at org.apache.hadoop.hbase.**client.HConnectionManager$**
HConnectionImplementation.**locateRegionInMeta(**
HConnectionManager.java:908)
    at org.apache.hadoop.hbase.**client.HConnectionManager$**
HConnectionImplementation.**locateRegion(**HConnectionManager.java:757)
    at org.apache.hadoop.hbase.**client.HConnectionManager$**
HConnectionImplementation.**locateRegion(**HConnectionManager.java:725)
    at org.apache.hadoop.hbase.**client.HConnectionManager$**
HConnectionImplementation.**locateRegionInMeta(**
HConnectionManager.java:858)
    at org.apache.hadoop.hbase.**client.HConnectionManager$**
HConnectionImplementation.**locateRegion(**HConnectionManager.java:761)
    at org.apache.hadoop.hbase.**client.HConnectionManager$**
HConnectionImplementation.**locateRegion(**HConnectionManager.java:725)
    at org.apache.hadoop.hbase.**client.HTable.<init>(HTable.**java:189)
    at org.apache.hadoop.hbase.**client.HTable.<init>(HTable.**java:160)
    at MyLittleHBaseClient.main(**MyLittleHBaseClient.java:25*

Re: Launching HBase from source code to test the changes.

Posted by Anurag Awasthi <an...@gmail.com>.
Hi,

Thanks for your reply. So I was able to figure out the problem when I looked
at the hadoop logs. Apparently there was mismatch between the namespace and
datanode ids after I had changed the version of HBase I was using. I was
able to resolve it by reformating the hdfs.

Thanks again
Anurag

On Sun, Aug 28, 2011 at 10:31 AM, Stack <st...@duboce.net> wrote:

> Pardon me, I see that you included some log on the tail of your
> message.  Its saying the .META. is not deployed on your cluster.  If
> you look at the cluster master logs, do you see anything that would
> explain why .META. not deployed?
>
> St.Ack
>
> On Sat, Aug 27, 2011 at 9:58 PM, Stack <st...@duboce.net> wrote:
> > You have the conf directory that points at the running cluster added
> > to your CLASSPATH in your IDE?
> > St.Ack
> >
> > On Sat, Aug 27, 2011 at 1:21 PM, Anurag Awasthi
> > <an...@gmail.com> wrote:
> >> Hello,
> >>
> >> I am trying to observer the changes I have made to HBase source code by
> >> testing it directly through eclipse. The procedure given in the
> >> http://wiki.apache.org/hadoop/Hbase/HowToTest seems to working. But
> when I
> >> run a program (actually an example from the javadocs in the overview of
> the
> >> client package, please let me know if the source code is required) I get
> >> that the table does not exist. I have created a table beforehand and the
> >> table exists which I can see from the web browser (through
> >> http://localhost:60010). Still the error persists. Can someone help me
> in
> >> this regard. I suppose one of the reasons is a particular component is
> not
> >> up. As of now (from the same directions in the above link) I have
> started
> >> HMaster and HRegionServer.
> >>
> >> Thank you in advance.
> >>
> >>
> >> Regards,
> >> Anurag
> >>
> >>
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:zookeeper.version=
> >> 3.3.3-1073969, built on 02/23/2011 22:27 GMT
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:
> host.name
> >> =ubuntu
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:java.version=1.6.0_26
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:java.vendor=Sun Microsystems Inc.
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.26/jre
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >>
> environment:java.class.path=/home/anurag/workspace/hbase/conf:/home/anurag/workspace/hbase/target/test-classes:/home/anurag/workspace/hbase/target/classes:/home/anurag/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/anurag/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/home/anurag/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/home/anurag/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/anurag/.m2/repository/asm/asm/3.1/asm-3.1.jar:/home/anurag/.m2/repository/org/apache/avro/avro/1.4.1/avro-1.4.1.jar:/home/anurag/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/anurag/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/home/anurag/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/home/anurag/.m2/repository/commons-el/commons-el/1.0/commons-el-1.0.jar:/home/anurag/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/anurag/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar:/home/anurag/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/home/anurag/.m2/repository/org/apache/commons/commons-math/2.1/commons-math-2.1.jar:/home/anurag/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar:/home/anurag/.m2/repository/org/eclipse/jdt/core/3.1.1/core-3.1.1.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftplet-api/1.0.0/ftplet-api-1.0.0.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftpserver-core/1.0.0/ftpserver-core-1.0.0.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftpserver-deprecated/1.0.0-M2/ftpserver-deprecated-1.0.0-M2.jar:/home/anurag/.m2/repository/com/google/guava/guava/r09/guava-r09.jar:/home/anurag/.m2/repository/org/apache/hadoop/hadoop-core/0.20-append-r1057313/hadoop-core-0.20-append-r1057313.jar:/home/anurag/.m2/repository/org/apache/hadoop/hadoop-test/0.20-append-r1057313/hadoop-test-0.20-append-r1057313.jar:/home/anurag/.m2/repository/com/github/stephenc/high-scale-lib/high-scale-lib/1.1.1/high-scale-lib-1.1.1.jar:/home/anurag/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar:/home/anurag/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.5.5/jackson-core-asl-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.5.5/jackson-jaxrs-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.5.5/jackson-mapper-asl-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-xc/1.5.5/jackson-xc-1.5.5.jar:/home/anurag/.m2/repository/org/jamon/jamon-runtime/2.3.1/jamon-runtime-2.3.1.jar:/home/anurag/.m2/repository/tomcat/jasper-compiler/5.5.23/jasper-compiler-5.5.23.jar:/home/anurag/.m2/repository/tomcat/jasper-runtime/5.5.23/jasper-runtime-5.5.23.jar:/home/anurag/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.12/jaxb-impl-2.1.12.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-core/1.4/jersey-core-1.4.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-json/1.4/jersey-json-1.4.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-server/1.4/jersey-server-1.4.jar:/home/anurag/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/home/anurag/.m2/repository/org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar:/home/anurag/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar:/home/anurag/.m2/repository/org/apache/thrift/libthrift/0.6.1/libthrift-0.6.1.jar:/home/anurag/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/anurag/.m2/repository/org/apache/mina/mina-core/2.0.0-M5/mina-core-2.0.0-M5.jar:/home/anurag/.m2/repository/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar:/home/anurag/.m2/repository/org/jboss/netty/netty/3.2.1.Final/netty-3.2.1.Final.jar:/home/anurag/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar:/home/anurag/.m2/repository/com/google/protobuf/protobuf-java/2.3.0/protobuf-java-2.3.0.jar:/home/anurag/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.jar:/home/anurag/.m2/repository/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar:/home/anurag/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar:/home/anurag/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/home/anurag/.m2/repository/org/apache/velocity/velocity/1.6.4/velocity-1.6.4.jar:/home/anurag/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/home/anurag/.m2/repository/org/apache/zookeeper/zookeeper/3.3.3/zookeeper-3.3.3.jar:/home/anurag/.m2/repository
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >>
> environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386::/usr/java/packages/lib/i386:/lib:/usr/lib
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:java.io.tmpdir=/tmp
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:java.compiler=<NA>
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:os.name
> =Linux
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:os.arch=i386
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:os.version=2.6.38-11-generic
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:
> user.name
> >> =anurag
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:user.home=/home/anurag
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> >> environment:user.dir=/home/anurag/workspace/hbase
> >> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Initiating client
> connection,
> >> connectString=master:2181 sessionTimeout=180000 watcher=hconnection
> >> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Opening socket connection
> to
> >> server master/192.168.126.158:2181
> >> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Socket connection
> established
> >> to master/192.168.126.158:2181, initiating session
> >> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Session establishment
> complete
> >> on server master/192.168.126.158:2181, sessionid = 0x1320ee7bf42000c,
> >> negotiated timeout = 40000
> >> 11/08/27 23:39:47 DEBUG
> client.HConnectionManager$HConnectionImplementation:
> >> Lookedup root region location,
> >>
> connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42552c
> ;
> >> serverName=ubuntu,60020,1314510734929
> >> 11/08/27 23:39:47 INFO ipc.HBaseRPC: Using
> >> org.apache.hadoop.hbase.ipc.WritableRpcEngine for
> >> org.apache.hadoop.hbase.ipc.HRegionInterface
> >> *Exception in thread "main"
> org.apache.hadoop.hbase.**TableNotFoundException:
> >> Table '.META.' was not found.
> >>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> >> HConnectionImplementation.**locateRegionInMeta(**
> >> HConnectionManager.java:908)
> >>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> >> HConnectionImplementation.**locateRegion(**HConnectionManager.java:757)
> >>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> >> HConnectionImplementation.**locateRegion(**HConnectionManager.java:725)
> >>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> >> HConnectionImplementation.**locateRegionInMeta(**
> >> HConnectionManager.java:858)
> >>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> >> HConnectionImplementation.**locateRegion(**HConnectionManager.java:761)
> >>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> >> HConnectionImplementation.**locateRegion(**HConnectionManager.java:725)
> >>    at org.apache.hadoop.hbase.**client.HTable.<init>(HTable.**java:189)
> >>    at org.apache.hadoop.hbase.**client.HTable.<init>(HTable.**java:160)
> >>    at MyLittleHBaseClient.main(**MyLittleHBaseClient.java:25*
> >>
> >
>

Re: Launching HBase from source code to test the changes.

Posted by Stack <st...@duboce.net>.
Pardon me, I see that you included some log on the tail of your
message.  Its saying the .META. is not deployed on your cluster.  If
you look at the cluster master logs, do you see anything that would
explain why .META. not deployed?

St.Ack

On Sat, Aug 27, 2011 at 9:58 PM, Stack <st...@duboce.net> wrote:
> You have the conf directory that points at the running cluster added
> to your CLASSPATH in your IDE?
> St.Ack
>
> On Sat, Aug 27, 2011 at 1:21 PM, Anurag Awasthi
> <an...@gmail.com> wrote:
>> Hello,
>>
>> I am trying to observer the changes I have made to HBase source code by
>> testing it directly through eclipse. The procedure given in the
>> http://wiki.apache.org/hadoop/Hbase/HowToTest seems to working. But when I
>> run a program (actually an example from the javadocs in the overview of the
>> client package, please let me know if the source code is required) I get
>> that the table does not exist. I have created a table beforehand and the
>> table exists which I can see from the web browser (through
>> http://localhost:60010). Still the error persists. Can someone help me in
>> this regard. I suppose one of the reasons is a particular component is not
>> up. As of now (from the same directions in the above link) I have started
>> HMaster and HRegionServer.
>>
>> Thank you in advance.
>>
>>
>> Regards,
>> Anurag
>>
>>
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:zookeeper.version=
>> 3.3.3-1073969, built on 02/23/2011 22:27 GMT
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:host.name
>> =ubuntu
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:java.version=1.6.0_26
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:java.vendor=Sun Microsystems Inc.
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.26/jre
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:java.class.path=/home/anurag/workspace/hbase/conf:/home/anurag/workspace/hbase/target/test-classes:/home/anurag/workspace/hbase/target/classes:/home/anurag/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/anurag/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/home/anurag/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/home/anurag/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/anurag/.m2/repository/asm/asm/3.1/asm-3.1.jar:/home/anurag/.m2/repository/org/apache/avro/avro/1.4.1/avro-1.4.1.jar:/home/anurag/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/anurag/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/home/anurag/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/home/anurag/.m2/repository/commons-el/commons-el/1.0/commons-el-1.0.jar:/home/anurag/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/anurag/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar:/home/anurag/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/home/anurag/.m2/repository/org/apache/commons/commons-math/2.1/commons-math-2.1.jar:/home/anurag/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar:/home/anurag/.m2/repository/org/eclipse/jdt/core/3.1.1/core-3.1.1.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftplet-api/1.0.0/ftplet-api-1.0.0.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftpserver-core/1.0.0/ftpserver-core-1.0.0.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftpserver-deprecated/1.0.0-M2/ftpserver-deprecated-1.0.0-M2.jar:/home/anurag/.m2/repository/com/google/guava/guava/r09/guava-r09.jar:/home/anurag/.m2/repository/org/apache/hadoop/hadoop-core/0.20-append-r1057313/hadoop-core-0.20-append-r1057313.jar:/home/anurag/.m2/repository/org/apache/hadoop/hadoop-test/0.20-append-r1057313/hadoop-test-0.20-append-r1057313.jar:/home/anurag/.m2/repository/com/github/stephenc/high-scale-lib/high-scale-lib/1.1.1/high-scale-lib-1.1.1.jar:/home/anurag/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar:/home/anurag/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.5.5/jackson-core-asl-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.5.5/jackson-jaxrs-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.5.5/jackson-mapper-asl-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-xc/1.5.5/jackson-xc-1.5.5.jar:/home/anurag/.m2/repository/org/jamon/jamon-runtime/2.3.1/jamon-runtime-2.3.1.jar:/home/anurag/.m2/repository/tomcat/jasper-compiler/5.5.23/jasper-compiler-5.5.23.jar:/home/anurag/.m2/repository/tomcat/jasper-runtime/5.5.23/jasper-runtime-5.5.23.jar:/home/anurag/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.12/jaxb-impl-2.1.12.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-core/1.4/jersey-core-1.4.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-json/1.4/jersey-json-1.4.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-server/1.4/jersey-server-1.4.jar:/home/anurag/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/home/anurag/.m2/repository/org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar:/home/anurag/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar:/home/anurag/.m2/repository/org/apache/thrift/libthrift/0.6.1/libthrift-0.6.1.jar:/home/anurag/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/anurag/.m2/repository/org/apache/mina/mina-core/2.0.0-M5/mina-core-2.0.0-M5.jar:/home/anurag/.m2/repository/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar:/home/anurag/.m2/repository/org/jboss/netty/netty/3.2.1.Final/netty-3.2.1.Final.jar:/home/anurag/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar:/home/anurag/.m2/repository/com/google/protobuf/protobuf-java/2.3.0/protobuf-java-2.3.0.jar:/home/anurag/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.jar:/home/anurag/.m2/repository/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar:/home/anurag/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar:/home/anurag/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/home/anurag/.m2/repository/org/apache/velocity/velocity/1.6.4/velocity-1.6.4.jar:/home/anurag/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/home/anurag/.m2/repository/org/apache/zookeeper/zookeeper/3.3.3/zookeeper-3.3.3.jar:/home/anurag/.m2/repository
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386::/usr/java/packages/lib/i386:/lib:/usr/lib
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:java.io.tmpdir=/tmp
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:java.compiler=<NA>
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:os.arch=i386
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:os.version=2.6.38-11-generic
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:user.name
>> =anurag
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:user.home=/home/anurag
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
>> environment:user.dir=/home/anurag/workspace/hbase
>> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Initiating client connection,
>> connectString=master:2181 sessionTimeout=180000 watcher=hconnection
>> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Opening socket connection to
>> server master/192.168.126.158:2181
>> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Socket connection established
>> to master/192.168.126.158:2181, initiating session
>> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Session establishment complete
>> on server master/192.168.126.158:2181, sessionid = 0x1320ee7bf42000c,
>> negotiated timeout = 40000
>> 11/08/27 23:39:47 DEBUG client.HConnectionManager$HConnectionImplementation:
>> Lookedup root region location,
>> connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42552c;
>> serverName=ubuntu,60020,1314510734929
>> 11/08/27 23:39:47 INFO ipc.HBaseRPC: Using
>> org.apache.hadoop.hbase.ipc.WritableRpcEngine for
>> org.apache.hadoop.hbase.ipc.HRegionInterface
>> *Exception in thread "main" org.apache.hadoop.hbase.**TableNotFoundException:
>> Table '.META.' was not found.
>>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
>> HConnectionImplementation.**locateRegionInMeta(**
>> HConnectionManager.java:908)
>>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
>> HConnectionImplementation.**locateRegion(**HConnectionManager.java:757)
>>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
>> HConnectionImplementation.**locateRegion(**HConnectionManager.java:725)
>>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
>> HConnectionImplementation.**locateRegionInMeta(**
>> HConnectionManager.java:858)
>>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
>> HConnectionImplementation.**locateRegion(**HConnectionManager.java:761)
>>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
>> HConnectionImplementation.**locateRegion(**HConnectionManager.java:725)
>>    at org.apache.hadoop.hbase.**client.HTable.<init>(HTable.**java:189)
>>    at org.apache.hadoop.hbase.**client.HTable.<init>(HTable.**java:160)
>>    at MyLittleHBaseClient.main(**MyLittleHBaseClient.java:25*
>>
>

Re: Launching HBase from source code to test the changes.

Posted by Stack <st...@duboce.net>.
You have the conf directory that points at the running cluster added
to your CLASSPATH in your IDE?
St.Ack

On Sat, Aug 27, 2011 at 1:21 PM, Anurag Awasthi
<an...@gmail.com> wrote:
> Hello,
>
> I am trying to observer the changes I have made to HBase source code by
> testing it directly through eclipse. The procedure given in the
> http://wiki.apache.org/hadoop/Hbase/HowToTest seems to working. But when I
> run a program (actually an example from the javadocs in the overview of the
> client package, please let me know if the source code is required) I get
> that the table does not exist. I have created a table beforehand and the
> table exists which I can see from the web browser (through
> http://localhost:60010). Still the error persists. Can someone help me in
> this regard. I suppose one of the reasons is a particular component is not
> up. As of now (from the same directions in the above link) I have started
> HMaster and HRegionServer.
>
> Thank you in advance.
>
>
> Regards,
> Anurag
>
>
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:zookeeper.version=
> 3.3.3-1073969, built on 02/23/2011 22:27 GMT
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:host.name
> =ubuntu
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:java.version=1.6.0_26
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:java.vendor=Sun Microsystems Inc.
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.26/jre
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:java.class.path=/home/anurag/workspace/hbase/conf:/home/anurag/workspace/hbase/target/test-classes:/home/anurag/workspace/hbase/target/classes:/home/anurag/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/anurag/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/home/anurag/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/home/anurag/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/anurag/.m2/repository/asm/asm/3.1/asm-3.1.jar:/home/anurag/.m2/repository/org/apache/avro/avro/1.4.1/avro-1.4.1.jar:/home/anurag/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/anurag/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/home/anurag/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/home/anurag/.m2/repository/commons-el/commons-el/1.0/commons-el-1.0.jar:/home/anurag/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/anurag/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar:/home/anurag/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/home/anurag/.m2/repository/org/apache/commons/commons-math/2.1/commons-math-2.1.jar:/home/anurag/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar:/home/anurag/.m2/repository/org/eclipse/jdt/core/3.1.1/core-3.1.1.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftplet-api/1.0.0/ftplet-api-1.0.0.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftpserver-core/1.0.0/ftpserver-core-1.0.0.jar:/home/anurag/.m2/repository/org/apache/ftpserver/ftpserver-deprecated/1.0.0-M2/ftpserver-deprecated-1.0.0-M2.jar:/home/anurag/.m2/repository/com/google/guava/guava/r09/guava-r09.jar:/home/anurag/.m2/repository/org/apache/hadoop/hadoop-core/0.20-append-r1057313/hadoop-core-0.20-append-r1057313.jar:/home/anurag/.m2/repository/org/apache/hadoop/hadoop-test/0.20-append-r1057313/hadoop-test-0.20-append-r1057313.jar:/home/anurag/.m2/repository/com/github/stephenc/high-scale-lib/high-scale-lib/1.1.1/high-scale-lib-1.1.1.jar:/home/anurag/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar:/home/anurag/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.5.5/jackson-core-asl-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.5.5/jackson-jaxrs-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.5.5/jackson-mapper-asl-1.5.5.jar:/home/anurag/.m2/repository/org/codehaus/jackson/jackson-xc/1.5.5/jackson-xc-1.5.5.jar:/home/anurag/.m2/repository/org/jamon/jamon-runtime/2.3.1/jamon-runtime-2.3.1.jar:/home/anurag/.m2/repository/tomcat/jasper-compiler/5.5.23/jasper-compiler-5.5.23.jar:/home/anurag/.m2/repository/tomcat/jasper-runtime/5.5.23/jasper-runtime-5.5.23.jar:/home/anurag/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.12/jaxb-impl-2.1.12.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-core/1.4/jersey-core-1.4.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-json/1.4/jersey-json-1.4.jar:/home/anurag/.m2/repository/com/sun/jersey/jersey-server/1.4/jersey-server-1.4.jar:/home/anurag/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/home/anurag/.m2/repository/org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar:/home/anurag/.m2/repository/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar:/home/anurag/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar:/home/anurag/.m2/repository/org/apache/thrift/libthrift/0.6.1/libthrift-0.6.1.jar:/home/anurag/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/anurag/.m2/repository/org/apache/mina/mina-core/2.0.0-M5/mina-core-2.0.0-M5.jar:/home/anurag/.m2/repository/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar:/home/anurag/.m2/repository/org/jboss/netty/netty/3.2.1.Final/netty-3.2.1.Final.jar:/home/anurag/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar:/home/anurag/.m2/repository/com/google/protobuf/protobuf-java/2.3.0/protobuf-java-2.3.0.jar:/home/anurag/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.jar:/home/anurag/.m2/repository/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar:/home/anurag/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar:/home/anurag/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/home/anurag/.m2/repository/org/apache/velocity/velocity/1.6.4/velocity-1.6.4.jar:/home/anurag/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/home/anurag/.m2/repository/org/apache/zookeeper/zookeeper/3.3.3/zookeeper-3.3.3.jar:/home/anurag/.m2/repository
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386::/usr/java/packages/lib/i386:/lib:/usr/lib
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=/tmp
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:os.arch=i386
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:os.version=2.6.38-11-generic
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client environment:user.name
> =anurag
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:user.home=/home/anurag
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Client
> environment:user.dir=/home/anurag/workspace/hbase
> 11/08/27 23:39:47 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=master:2181 sessionTimeout=180000 watcher=hconnection
> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Opening socket connection to
> server master/192.168.126.158:2181
> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Socket connection established
> to master/192.168.126.158:2181, initiating session
> 11/08/27 23:39:47 INFO zookeeper.ClientCnxn: Session establishment complete
> on server master/192.168.126.158:2181, sessionid = 0x1320ee7bf42000c,
> negotiated timeout = 40000
> 11/08/27 23:39:47 DEBUG client.HConnectionManager$HConnectionImplementation:
> Lookedup root region location,
> connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42552c;
> serverName=ubuntu,60020,1314510734929
> 11/08/27 23:39:47 INFO ipc.HBaseRPC: Using
> org.apache.hadoop.hbase.ipc.WritableRpcEngine for
> org.apache.hadoop.hbase.ipc.HRegionInterface
> *Exception in thread "main" org.apache.hadoop.hbase.**TableNotFoundException:
> Table '.META.' was not found.
>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> HConnectionImplementation.**locateRegionInMeta(**
> HConnectionManager.java:908)
>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> HConnectionImplementation.**locateRegion(**HConnectionManager.java:757)
>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> HConnectionImplementation.**locateRegion(**HConnectionManager.java:725)
>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> HConnectionImplementation.**locateRegionInMeta(**
> HConnectionManager.java:858)
>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> HConnectionImplementation.**locateRegion(**HConnectionManager.java:761)
>    at org.apache.hadoop.hbase.**client.HConnectionManager$**
> HConnectionImplementation.**locateRegion(**HConnectionManager.java:725)
>    at org.apache.hadoop.hbase.**client.HTable.<init>(HTable.**java:189)
>    at org.apache.hadoop.hbase.**client.HTable.<init>(HTable.**java:160)
>    at MyLittleHBaseClient.main(**MyLittleHBaseClient.java:25*
>