Yiqun Lin created HDFS-10730:
--------------------------------

             Summary: Fix some failed tests due to BindException
                 Key: HDFS-10730
                 URL: https://issues.apache.org/jira/browse/HDFS-10730
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Yiqun Lin
            Assignee: Yiqun Lin


In HDFS-10723, suggested that 
{quote}
it is not a good idea to hard-core or reuse the same port number in unit tests. 
Because the jenkins slave can run multiple jobs at the same time.
{quote}
So I collected some tests which failed by this reason in recent jenkin 
buildings.
Finally I found these two failed test 
{{TestFileChecksum.testStripedFileChecksumWithMissedDataBlocks1}}(https://builds.apache.org/job/PreCommit-HDFS-Build/16301/testReport/)
 and 
{{TestDecommissionWithStriped.testDecommissionWithURBlockForSameBlockGroup}}(https://builds.apache.org/job/PreCommit-HDFS-Build/16257/testReport/).

We can make a change to update the param value for {{keepPort}} from
{code}
cluster.restartDataNode(dnp, true);
{code}
to
{code}
cluster.restartDataNode(dnp, false);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to