hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10730) Fix some failed tests due to BindException
Date Mon, 08 Aug 2016 11:56:20 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yiqun Lin updated HDFS-10730:
-----------------------------
    Description: 
In HDFS-10723, [~kihwal] 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}

  was:
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}


> 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
>         Attachments: HDFS-10730.001.patch
>
>
> In HDFS-10723, [~kihwal] 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message