hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doris Gu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11751) DFSZKFailoverController daemon exits with wrong status code
Date Thu, 04 May 2017 08:23:04 GMT
Doris Gu created HDFS-11751:
-------------------------------

             Summary: DFSZKFailoverController daemon exits with wrong status code
                 Key: HDFS-11751
                 URL: https://issues.apache.org/jira/browse/HDFS-11751
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: auto-failover
    Affects Versions: 3.0.0-alpha2
            Reporter: Doris Gu


1.use *hdfs zkfc* to start a zkfc daemon;
2.zkfc failed to start for some reason, but we got the successful code:
{quote}2017-05-04 16:06:24,720 FATAL org.apache.hadoop.hdfs.tools.DFSZKFailoverController:
Got a fatal error, exiting now
java.net.BindException: Problem binding to [localhost:8019] java.net.BindException: address
already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:792)
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:721)
        at org.apache.hadoop.ipc.Server.bind(Server.java:431)
        at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:580)
        at org.apache.hadoop.ipc.Server.<init>(Server.java:2221)
        at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:951)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:534)
        at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:509)
        at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:796)
        at org.apache.hadoop.ha.ZKFCRpcServer.<init>(ZKFCRpcServer.java:58)
        at org.apache.hadoop.ha.ZKFailoverController.initRPC(ZKFailoverController.java:341)
        at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.initRPC(DFSZKFailoverController.java:152)
        at org.apache.hadoop.ha.ZKFailoverController.doRun(ZKFailoverController.java:249)
        at org.apache.hadoop.ha.ZKFailoverController.access$000(ZKFailoverController.java:72)
        at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:187)
        at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:183)
        at org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:415)
        at org.apache.hadoop.ha.ZKFailoverController.run(ZKFailoverController.java:183)
        at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DFSZKFailoverController.java:181)
Caused by: java.net.BindException: address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:444)
        at sun.nio.ch.Net.bind(Net.java:436)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.hadoop.ipc.Server.bind(Server.java:414)
        ... 16 more
[hdfs@localhost ~]$ echo $?
0{quote}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message