You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2019/08/08 10:07:00 UTC

[jira] [Created] (HDDS-1934) TestSecureOzoneCluster may fail due to port conflict

Doroszlai, Attila created HDDS-1934:
---------------------------------------

             Summary: TestSecureOzoneCluster may fail due to port conflict
                 Key: HDDS-1934
                 URL: https://issues.apache.org/jira/browse/HDDS-1934
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: test
    Affects Versions: 0.4.1
            Reporter: Doroszlai, Attila
            Assignee: Doroszlai, Attila


{{TestSecureOzoneCluster}} fails if SCM is already running on same host.

Steps to reproduce:

# Start {{ozone}} docker compose cluster
# Run {{TestSecureOzoneCluster}} test

{noformat:title=https://ci.anzix.net/job/ozone/17602/consoleText}
[ERROR] Tests run: 10, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 49.821 s <<< FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
[ERROR] testSCMSecurityProtocol(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time elapsed: 6.59 s  <<< ERROR!
java.net.BindException: Port in use: 0.0.0.0:9876
	at org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
	at org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
	at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
	at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
	at org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
	at org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
	at org.apache.hadoop.ozone.TestSecureOzoneCluster.testSCMSecurityProtocol(TestSecureOzoneCluster.java:277)
...

[ERROR] testSecureOmReInit(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time elapsed: 5.312 s  <<< ERROR!
java.net.BindException: Port in use: 0.0.0.0:9876
	at org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
	at org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
	at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
	at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
	at org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
	at org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
	at org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmReInit(TestSecureOzoneCluster.java:743)
...

[ERROR] testSecureOmInitSuccess(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time elapsed: 5.312 s  <<< ERROR!
java.net.BindException: Port in use: 0.0.0.0:9876
	at org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
	at org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
	at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
	at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
	at org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
	at org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
	at org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmInitSuccess(TestSecureOzoneCluster.java:789)
...
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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