hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yiyu jia <jia.y...@gmail.com>
Subject Re: 答复: Cannot open channel to 1 at election address /172.23.34.80:3888
Date Mon, 29 Oct 2012 04:04:54 GMT
Hi,

Thank you for message. But, I do open the 3888 port already. I use CentOS
6.3.

Yiyu



On Mon, Oct 29, 2012 at 12:01 AM, 苏铖 <sucheng@lietou.com> wrote:

> Hi.
> The ip address is OK, I think.
> You might need to check your firewall settings. You should open the 3888
> port.
>
>
> --------------
> Hi there,
>
> I try to install HBase 0.94.2 on my Hadoop 1.0.3 cluster. But, I can not
> start HBase master successfully. Any help will be appreciated. It will be
> great if any one can share his successful hbase-stite.xml for a real
> cluster env.
>
> After typing ./bin/start-hbase.sh, there is no error report in console.
> But, after checking the Zoonkeeper lot file, I see the below exception.
>
>
>
> 2012-10-28 23:30:42,699 WARN
> org.apache.zookeeper.server.quorum.QuorumCnxManager: Cannot open channel to
> 1 at election address /172.23.34.80:3888
> java.net.ConnectException: Connection refused
>
>
> Than, I run command  netstat -tulpn, and find that the port 3888 is bind on
> strange address as shown below. Anybody can tell me where I put wrong
> configuration parameter, which causes this?
>
> Proto Recv-Q Send-Q Local Address               Foreign Address
> State       PID/Program name
> tcp        0      0 0.0.0.0:111                 0.0.0.0:*
> LISTEN      -
> tcp        0      0 0.0.0.0:48305               0.0.0.0:*
> LISTEN      -
> tcp        0      0 0.0.0.0:22                  0.0.0.0:*
> LISTEN      -
> tcp        0      0 127.0.0.1:631               0.0.0.0:*
> LISTEN      -
> tcp        0      0 127.0.0.1:25                0.0.0.0:*
> LISTEN      -
> tcp        0      0 :::2181                     :::*
> LISTEN      12798/java
> tcp        0      0 ::ffff:172.23.34.12:9000    :::*
> LISTEN      3097/java
> tcp        0      0 :::50090                    :::*
> LISTEN      3275/java
> tcp        0      0 :::111                      :::*
> LISTEN      -
> tcp        0      0 :::3888                     :::*
> LISTEN      12798/java
> tcp        0      0 :::37650                    :::*
> LISTEN      -
> tcp        0      0 :::50070                    :::*
> LISTEN      3097/java
> tcp        0      0 :::22                       :::*
> LISTEN      -
> tcp        0      0 ::1:631                     :::*
> LISTEN      -
> tcp        0      0 :::38584                    :::*
> LISTEN      3275/java
> tcp        0      0 ::1:25                      :::*
> LISTEN      -
> tcp        0      0 :::34175                    :::*
> LISTEN      3097/java
> udp        0      0 0.0.0.0:111                 0.0.0.0:*
> -
> udp        0      0 0.0.0.0:631                 0.0.0.0:*
> -
> udp        0      0 0.0.0.0:33144               0.0.0.0:*
> -
> udp        0      0 0.0.0.0:632                 0.0.0.0:*
> -
> udp        0      0 0.0.0.0:651                 0.0.0.0:*
> -
> udp        0      0 0.0.0.0:68                  0.0.0.0:*
> -
> udp        0      0 :::111
> :::*                                    -
> udp        0      0 :::632
> :::*                                    -
> udp        0      0 :::40622
> :::*                                    -
>
>
>
> After certain time, I got the exception message in my HBase master log file
> as below,
>
>
> 2012-10-28 23:32:16,587 INFO org.apache.zookeeper.ZooKeeper: Session:
> 0x23aaa9248e40000 closed
> 2012-10-28 23:32:16,587 INFO org.apache.hadoop.hbase.master.HMaster:
> HMaster main thread exiting
> 2012-10-28 23:32:16,588 INFO org.apache.zookeeper.ClientCnxn: EventThread
> shut down
> 2012-10-28 23:32:16,588 ERROR
> org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master
> java.lang.RuntimeException: HMaster Aborted
>     at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommand
> Line.java:154)
>     at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.jav
> a:103)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>     at
>
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java
> :76)
>     at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1806)
> 2012-10-28 23:32:16,592 ERROR org.apache.hadoop.hdfs.DFSClient: Exception
> closing file /hbase-hadoopuser/hbase/hbase.version :
> org.apache.hadoop.ipc.RemoteException: java.io.IOException: File
> /hbase-hadoopuser/hbase/hbase.version could only be replicated to 0 nodes,
> instead of 1
>     at
>
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNam
> esystem.java:1558)
>     at
> org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:696)
>     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:43)
>     at java.lang.reflect.Method.invoke(Method.java:616)
>     at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:563)
>     at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1388)
>     at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1384)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at javax.security.auth.Subject.doAs(Subject.java:416)
>     at
>
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.ja
> va:1121)
>     at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1382)
>
>


-- 
******************************************
* Mr. Jia Yiyu                                *
*                                                   *
* Email: jia.yiyu@gmail.com          *
*                                                   *
* Web: http://yiyujia.blogspot.com/*
*******************************************

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message