hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10723) TestRenameWhileOpen tries to restart NN with the same rpc port
Date Fri, 05 Aug 2016 14:23:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15409513#comment-15409513
] 

Kihwal Lee commented on HDFS-10723:
-----------------------------------

It is more likely that another process grabbed the port. In general it is not a good idea
to hard-core or reuse the same port number in unit tests. We had to fix a lot of such test
cases in the past. The jenkins slave can run multiple jobs at the same time and also hdfs
tests can run in parallel.

> TestRenameWhileOpen tries to restart NN with the same rpc port
> --------------------------------------------------------------
>
>                 Key: HDFS-10723
>                 URL: https://issues.apache.org/jira/browse/HDFS-10723
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Kihwal Lee
>
> In {{testWhileOpenRenameParentToNonexistentDir}},
> {code}
>       // restart cluster with the same namenode port as before.
>       // This ensures that leases are persisted in fsimage.
>       cluster.shutdown();
> {code}
> And we are getting test failures in precommit builds.
> {noformat}
> java.net.BindException: Problem binding to [localhost:47395]
>  java.net.BindException: Address already in use;
> {noformat}



--
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