[
https://issues.apache.org/jira/browse/HDFS-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130440#comment-16130440
]
Lokesh Jain commented on HDFS-12280:
------------------------------------
Hi
The error occurs if Datanode is running on the node on which we are running the
test. The port number 50011 is already in use in such a case. For the datanode
in MiniOzoneCluster to use different port either property "dfs.container.ipc"
needs to be set or property "dfs.container.ipc.random.port" needs to be set to
True.
> Ozone: TestOzoneContainer#testCreateOzoneContainer fails
> --------------------------------------------------------
>
> Key: HDFS-12280
> URL: https://issues.apache.org/jira/browse/HDFS-12280
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Nandakumar
> Assignee: Lokesh Jain
>
> {{org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer#testCreateOzoneContainer}}
> fails with the below error
> {code}
> Running org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 64.507 sec
> <<< FAILURE! - in
> org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer
> testCreateOzoneContainer(org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer)
> Time elapsed: 64.44 sec <<< ERROR!
> java.io.IOException: Failed to start MiniOzoneCluster
> at
> org.apache.hadoop.test.GenericTestUtils.waitFor(GenericTestUtils.java:370)
> at
> org.apache.hadoop.ozone.MiniOzoneCluster.waitOzoneReady(MiniOzoneCluster.java:239)
> at
> org.apache.hadoop.ozone.MiniOzoneCluster$Builder.build(MiniOzoneCluster.java:422)
> at
> org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer.testCreateOzoneContainer(TestOzoneContainer.java:62)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]