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

TestDecommission#testIncludeByRegistrationName sometimes timeout

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      From https://builds.apache.org/job/Hadoop-hdfs-trunk/lastCompletedBuild/testReport/org.apache.hadoop.hdfs/TestDecommission/testIncludeByRegistrationName/ :

      java.lang.Exception: test timed out after 360000 milliseconds
      	at java.lang.Thread.sleep(Native Method)
      	at org.apache.hadoop.hdfs.TestDecommission.testIncludeByRegistrationName(TestDecommission.java:957)
      

      In the test output, the following repeated over 300 times:

      2014-12-13 18:44:29,910 ERROR datanode.DataNode (BPServiceActor.java:run(836)) - Initialization failed for Block pool BP-408261154-67.195.81.152-1418496249312 (Datanode Uuid null) service to localhost/127.0.0.1:38607 Datanode denied communication with namenode because the host is not in the include-list: DatanodeRegistration(127.0.0.1, datanodeUuid=755318af-3336-462d-9bd7-2a7b966ee4f4, infoPort=45707, infoSecurePort=0, ipcPort=46621, storageInfo=lv=-56;cid=testClusterID;nsid=1154823031;c=0)
      	at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager.registerDatanode(DatanodeManager.java:915)
      	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.registerDatanode(FSNamesystem.java:4402)
      	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.registerDatanode(NameNodeRpcServer.java:1196)
      	at org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolServerSideTranslatorPB.registerDatanode(DatanodeProtocolServerSideTranslatorPB.java:92)
      	at org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos$DatanodeProtocolService$2.callBlockingMethod(DatanodeProtocolProtos.java:26296)
      	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:637)
      	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:966)
      	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2127)
      	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2123)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:415)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1669)
      	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2121)
      
      2014-12-13 18:44:30,871 INFO  hdfs.TestDecommission (TestDecommission.java:testIncludeByRegistrationName(956)) - Waiting for datanode to come back
      2014-12-13 18:44:31,873 INFO  hdfs.TestDecommission (TestDecommission.java:testIncludeByRegistrationName(956)) - Waiting for datanode to come back
      2014-12-13 18:44:32,874 INFO  hdfs.TestDecommission (TestDecommission.java:testIncludeByRegistrationName(956)) - Waiting for datanode to come back
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: