[ https://issues.apache.org/jira/browse/HDFS-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lokesh Jain updated HDFS-12280: ------------------------------- Attachment: HDFS-12280-HDFS-7240.001.patch setRandomContainerPort(true) is used so that the container launched by Datanode in the MiniOzoneCluster uses a different port from the default port. The default port might be used by datanode running in the machine. DFS_CONTAINER_IPC_RANDOM_PORT is set to false so that the container launched in the test uses the port set by the pipeline leader. > 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 > Attachments: HDFS-12280-HDFS-7240.001.patch > > > {{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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org