Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10367

TestDFSShell.testMoveWithTargetPortEmpty fails with Address bind exception.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Problem binding to [localhost:9820] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
      
      Stack Trace:
      java.net.BindException: Problem binding to [localhost:9820] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
      	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:530)
      	at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:793)
      	at org.apache.hadoop.ipc.Server.<init>(Server.java:2592)
      	at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:958)
      	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:563)
      	at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:538)
      	at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:800)
      	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.<init>(NameNodeRpcServer.java:426)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.createRpcServer(NameNode.java:783)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:710)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:924)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:903)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1620)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNode(MiniDFSCluster.java:1247)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.configureNameService(MiniDFSCluster.java:1016)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:891)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:823)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:482)
      	at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:441)
      	at org.apache.hadoop.hdfs.TestDFSShell.testMoveWithTargetPortEmpty(TestDFSShell.java:567)
      

        Attachments

        1. HDFS-10367.patch
          1 kB
          Brahma Reddy Battula
        2. HDFS-10367-002.patch
          3 kB
          Brahma Reddy Battula
        3. HDFS-10367-003.patch
          3 kB
          Brahma Reddy Battula
        4. HDFS-10367-004.patch
          3 kB
          Brahma Reddy Battula
        5. HDFS-10367-005.patch
          3 kB
          Brahma Reddy Battula
        6. HDFS-10367.005.patch
          3 kB
          Masatake Iwasaki

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              brahmareddy Brahma Reddy Battula
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: