Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> HBase connection refused


Copy link to this message
-
Re: HBase connection refused
It looks like HBase can't connect to the Hadoop NameNode.
Check that the NameNode is running http://localhost:50070/dfshealth.jsp
and see the port that it's running on 192.168.15.20:54310

(The hdfs-site.xml configuration file has the "fs.default.name" property
that specifies the interface and port for the NameNode)

Cosmin

On 4/9/12 12:15 PM, "shaharyar khan" <[EMAIL PROTECTED]> wrote:

>
>Hi I am using hadoop and HBase.When i tried to start hadoop, It started
>fine
>but when I tried to start HBase it shows exception in log files. In log
>file
>hadoop is refusing the connection on port 54310 of localhost. Logs are
>given
>below:
>Mon Apr  9 12:28:15 PKT 2012 Starting master on hbase
>ulimit -n 1024
>2012-04-09 12:28:17,685 INFO org.apache.hadoop.hbase.ipc.HBaseRpcMetrics:
>Initializing RPC Metrics with hostName=HMaster, port=60000
>2012-04-09 12:28:18,180 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>Responder: starting
>2012-04-09 12:28:18,190 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>listener on 60000: starting
>2012-04-09 12:28:18,197 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 0 on 60000: starting
>2012-04-09 12:28:18,200 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 1 on 60000: starting
>2012-04-09 12:28:18,202 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 2 on 60000: starting
>2012-04-09 12:28:18,206 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 3 on 60000: starting
>2012-04-09 12:28:18,210 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 4 on 60000: starting
>2012-04-09 12:28:18,278 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 9 on 60000: starting
>2012-04-09 12:28:18,279 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 5 on 60000: starting
>2012-04-09 12:28:18,284 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 8 on 60000: starting
>2012-04-09 12:28:18,285 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 7 on 60000: starting
>2012-04-09 12:28:18,285 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
>handler 6 on 60000: starting
>2012-04-09 12:28:18,369 INFO org.apache.zookeeper.ZooKeeper: Client
>environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32 GMT
>2012-04-09 12:28:18,370 INFO org.apache.zookeeper.ZooKeeper: Client
>environment:host.name=hbase.com.com
>2012-04-09 12:28:18,370 INFO org.apache.zookeeper.ZooKeeper: Client
>environment:java.version=1.6.0_20
>2012-04-09 12:28:18,370 INFO org.apache.zookeeper.ZooKeeper: Client
>environment:java.vendor=Sun Microsystems Inc.
>2012-04-09 12:28:18,370 INFO org.apache.zookeeper.ZooKeeper: Client
>environment:java.home=/usr/lib/jvm/java-6-openjdk/jre
>2012-04-09 12:28:18,370 INFO org.apache.zookeeper.ZooKeeper: Client
>environment:java.class.path=/opt/com/hbase-0.90.4/bin/../conf:/usr/lib/jvm
>/java-6-openjdk/lib/tools.jar:/opt/com/hbase-0.90.4/bin/..:/opt/com/hbase-
>0.90.4/bin/../hbase-0.90.4.jar:/opt/com/hbase-0.90.4/bin/../hbase-0.90.4-t
>ests.jar:/opt/com/hbase-0.90.4/bin/../lib/activation-1.1.jar:/opt/com/hbas
>e-0.90.4/bin/../lib/asm-3.1.jar:/opt/com/hbase-0.90.4/bin/../lib/avro-1.3.
>3.jar:/opt/com/hbase-0.90.4/bin/../lib/commons-cli-1.2.jar:/opt/com/hbase-
>0.90.4/bin/../lib/commons-codec-1.4.jar:/opt/com/hbase-0.90.4/bin/../lib/c
>ommons-configuration-1.6.jar:/opt/com/hbase-0.90.4/bin/../lib/commons-el-1
>.0.jar:/opt/com/hbase-0.90.4/bin/../lib/commons-httpclient-3.1.jar:/opt/co
>m/hbase-0.90.4/bin/../lib/commons-lang-2.5.jar:/opt/com/hbase-0.90.4/bin/.
>./lib/commons-logging-1.1.1.jar:/opt/com/hbase-0.90.4/bin/../lib/commons-n
>et-1.4.1.jar:/opt/com/hbase-0.90.4/bin/../lib/core-3.1.1.jar:/opt/com/hbas
>e-0.90.4/bin/../lib/guava-r06.jar:/opt/com/hbase-0.90.4/bin/../lib/hadoop-
>core-0.20.205.0.jar:/opt/com/hbase-0.90.4/bin/../lib/hadoop-gpl-compressio
>n-0.2.0-dev.jar:/opt/com/hbase-0.90.4/bin/../lib/jackson-core-asl-1.5.5.ja
>r:/opt/com/hbase-0.90.4/bin/../lib/jackson-jaxrs-1.5.5.jar:/opt/com/hbase-
>0.90.4/bin/../lib/jackson-mapper-asl-1.4.2.jar:/opt/com/hbase-0.90.4/bin/.