My Oracle Support Banner

DataNode And ZooKeeper Conflict Seen On Port 50020 on Oracle Big Data Appliance V2.2 (Doc ID 1588719.1)

Last updated on MARCH 24, 2017

Applies to:

Big Data Appliance Integrated Software - Version 2.2.1 to 2.2.1 [Release 2.2]
Linux x86-64


Stopping Node01 of an Oracle Big Data Appliance (BDA) cluster and restarting it after some amount of time like 30 minutes shows that all the CDH services start correctly except for the DataNode. Analyzing the logs shows that Zookeeper is listening on port 50020, and the DataNode tries to listen on that port as well. Port 50020 is the designated CDH port for the DataNode i.e. it is the one a DataNode runs on.

2013-09-25 12:26:28,182 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in secureMain Problem binding to [] Address already in use; For more details see:
      at org.apache.hadoop.ipc.Server.bind(
      at org.apache.hadoop.ipc.Server$Listener.<init>(
      at org.apache.hadoop.ipc.Server.<init>(
      at org.apache.hadoop.ipc.RPC$Server.<init>(
      at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(
      at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(
      at org.apache.hadoop.ipc.RPC.getServer(
      at org.apache.hadoop.ipc.RPC.getServer(
      at org.apache.hadoop.hdfs.server.datanode.DataNode.initIpcServer(
      at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(
      at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(
      at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(
      at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(
      at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(
      at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(
      at org.apache.hadoop.hdfs.server.datanode.DataNode.main(
2013-09-25 12:26:28,192 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1
2013-09-25 12:26:28,194 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: SHUTDOWN_MSG:
SHUTDOWN_MSG: Shutting down DataNode at

The lsof command shows ZooKeeper listening on port 50020:

# lsof -i:50020
java    10938 zookeeper   15u  IPv4  87281      0t0  TCP *:50020 (LISTEN)
java    10938 zookeeper   38u  IPv4 140171      0t0  TCP> (ESTABLISHED)


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.