|
|
-
Problem with hbase master
Dalia Sobhy 2012-05-14, 15:20
Here is error msgs i receive..
> Subject: Problem with hbase master > > My problem is when I run " hbase master start" > > 12/05/14 09:16:07 INFO ipc.HBaseRpcMetrics: Initializing RPC Metrics > with hostName=HMaster, port=60000 > 12/05/14 09:16:07 INFO security.UserGroupInformation: JAAS > Configuration already set up for Hadoop, not re-installing. > 2012-05-14T09:16:07.410-0400: [GC [ParNew: 17024K->1371K(19136K), > 0.0071000 secs] 17024K->1371K(83008K), 0.0072040 secs] [Times: > user=0.03 sys=0.00, real=0.00 secs] > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server Responder: starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server listener on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 0 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 1 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 2 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 3 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 4 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 5 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 7 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 6 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 9 on 60000: > starting > 12/05/14 09:16:07 INFO ipc.HBaseServer: IPC Server handler 8 on 60000: > starting > 12/05/14 09:16:07 INFO zookeeper.ZooKeeper: Client > environment:zookeeper.version=3.3.5-cdh3u4--1, built on 05/07/2012 > 21:12 GMT > 12/05/14 09:16:07 INFO zookeeper.ZooKeeper: Client > environment:host.name=namenode > 12/05/14 09:16:07 INFO zookeeper.ZooKeeper: Client > environment:java.version=1.6.0_30 > 12/05/14 09:16:07 INFO zookeeper.ZooKeeper: Client > environment:java.vendor=Sun Microsystems Inc. > 12/05/14 09:16:07 INFO zookeeper.ZooKeeper: Client > environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.30/jre > 12/05/14 09:16:07 INFO zookeeper.ZooKeeper: Client > environment:java.class.path=/usr/lib/hbase/bin/../conf:/usr/lib/jvm/ > java-6-sun/lib/tools.jar:/usr/lib/hbase/bin/..:/usr/lib/hbase/bin/../ > hbase-0.90.4-cdh3u3.jar:/usr/lib/hbase/bin/../hbase-0.90.4-cdh3u3- > tests.jar:/usr/lib/hbase/bin/../lib/activation-1.1.jar:/usr/lib/hbase/ > bin/../lib/asm-3.1.jar:/usr/lib/hbase/bin/../lib/avro-1.5.4.jar:/usr/ > lib/hbase/bin/../lib/avro-ipc-1.5.4.jar:/usr/lib/hbase/bin/../lib/ > commons-cli-1.2.jar:/usr/lib/hbase/bin/../lib/commons-codec-1.4.jar:/ > usr/lib/hbase/bin/../lib/commons-el-1.0.jar:/usr/lib/hbase/bin/../lib/ > commons-httpclient-3.1.jar:/usr/lib/hbase/bin/../lib/commons- > lang-2.5.jar:/usr/lib/hbase/bin/../lib/commons-logging-1.1.1.jar:/usr/ > lib/hbase/bin/../lib/commons-net-1.4.1.jar:/usr/lib/hbase/bin/../lib/ > core-3.1.1.jar:/usr/lib/hbase/bin/../lib/guava-r06.jar:/usr/lib/hbase/ > bin/../lib/guava-r09-jarjar.jar:/usr/lib/hbase/bin/../lib/hadoop- > core.jar:/usr/lib/hbase/bin/../lib/jackson-core-asl-1.5.2.jar:/usr/lib/ > hbase/bin/../lib/jackson-jaxrs-1.5.5.jar:/usr/lib/hbase/bin/../lib/ > jackson-mapper-asl-1.5.2.jar:/usr/lib/hbase/bin/../lib/jackson- > xc-1.5.5.jar:/usr/lib/hbase/bin/../lib/jamon-runtime-2.3.1.jar:/usr/ > lib/hbase/bin/../lib/jasper-compiler-5.5.23.jar:/usr/lib/hbase/bin/../ > lib/jasper-runtime-5.5.23.jar:/usr/lib/hbase/bin/../lib/jaxb- > api-2.1.jar:/usr/lib/hbase/bin/../lib/jaxb-impl-2.1.12.jar:/usr/lib/ > hbase/bin/../lib/jersey-core-1.4.jar:/usr/lib/hbase/bin/../lib/jersey- > json-1.4.jar:/usr/lib/hbase/bin/../lib/jersey-server-1.4.jar:/usr/lib/ > hbase/bin/../lib/jettison-1.1.jar:/usr/lib/hbase/bin/../lib/ > jetty-6.1.26.jar:/usr/lib/hbase/bin/../lib/jetty-util-6.1.26.jar:/usr/ > lib/hbase/bin/../lib/jruby-complete-1.6.0.jar:/usr/lib/hbase/bin/../ > lib/jsp-2.1-6.1.14.jar:/usr/lib/hbase/bin/../lib/jsp- > api-2.1-6.1.14.jar:/usr/lib/hbase/bin/../lib/jsp-api-2.1.jar:/usr/lib/ > hbase/bin/../lib/jsr311-api-1.1.1.jar:/usr/lib/hbase/bin/../lib/
-
Re: Problem with hbase master
Stack 2012-05-14, 19:19
On Mon, May 14, 2012 at 8:20 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: > > Here is error msgs i receive.. >> 12/05/14 09:16:17 FATAL master.HMaster: Unhandled exception. Starting >> shutdown. >> java.net.ConnectException: Call to namenode/10.0.2.3:8020 failed on >> connection exception: java.net.ConnectException: Connection refused >> at org.apache.hadoop.ipc.Client.wrapException(Client.java:1134) >> at org.apache.hadoop.ipc.Client.call(Client.java:1110) >> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:226) >> at $Proxy6.getProtocolVersion(Unknown Source) >> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:398) >> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:384) >> at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java: >> 123) >> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:246) >> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208) >> at >> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java: >> 89) >> at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java: >> 1563)
The above looks pretty basic. It looks like you are not running hdfs or at least its not running where hbase has been told to go look for it.
Please do not post raw log into mail messages. Please use a service like pastebin. Logs in mail messages with line wrapping are hard to parse.
St.Ack
-
Re: Problem with hbase master
Mohammad Tariq 2012-05-14, 19:37
Configure your hosts file properly..proper dns resplution is really important and a bit tricky..also check your fs.default.name and hbase.rootdir properties..they both should coincide..and add following two jars into your HBASE_HOME/lib dorectory : 1. hadoop-core from your HADOOP_HOME 2. commons-collection from your HADOOP_HOME/lib On May 14, 2012 8:50 PM, "Dalia Sobhy" <[EMAIL PROTECTED]> wrote:
-
RE: Problem with hbase master
Dalia Sobhy 2012-05-14, 20:02
Hi stack, The namenode, jobtracker and secondary namenode are working and no problem with them. The problem is when I run this command $host -v -t A `hostname`Trying "namenode"Host namenode not found: 3(NXDOMAIN) I don't know why, so I want to ask a question do I have to let hostname = namenode.example.com (in the canonical form) or can leave it "namenode". Note that my hostname is namenode. Thanks, > Date: Mon, 14 May 2012 12:19:36 -0700 > Subject: Re: Problem with hbase master > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > > On Mon, May 14, 2012 at 8:20 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: > > > > Here is error msgs i receive.. > >> 12/05/14 09:16:17 FATAL master.HMaster: Unhandled exception. Starting > >> shutdown. > >> java.net.ConnectException: Call to namenode/10.0.2.3:8020 failed on > >> connection exception: java.net.ConnectException: Connection refused > >> at org.apache.hadoop.ipc.Client.wrapException(Client.java:1134) > >> at org.apache.hadoop.ipc.Client.call(Client.java:1110) > >> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:226) > >> at $Proxy6.getProtocolVersion(Unknown Source) > >> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:398) > >> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:384) > >> at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java: > >> 123) > >> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:246) > >> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208) > >> at > >> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java: > >> 89) > >> at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java: > >> 1563) > > The above looks pretty basic. It looks like you are not running hdfs > or at least its not running where hbase has been told to go look for > it. > > Please do not post raw log into mail messages. Please use a service > like pastebin. Logs in mail messages with line wrapping are hard to > parse. > > St.Ack
-
Re: Problem with hbase master
Stack 2012-05-14, 20:08
On Mon, May 14, 2012 at 1:02 PM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: > > Hi stack, > The namenode, jobtracker and secondary namenode are working and no problem with them. > The problem is when I run this command > $host -v -t A `hostname`Trying "namenode"Host namenode not found: 3(NXDOMAIN) > I don't know why, so I want to ask a question do I have to let hostname = namenode.example.com (in the canonical form) or can leave it "namenode". > Note that my hostname is namenode.
Try following some of Mohammed's advise. Fix the above networking issue first. St.Ack
|
|