[
https://issues.apache.org/jira/browse/HDFS-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-6213:
------------------------------
Attachment: hdfs-6213-1.patch
Patch attached. Another test case in the file starts a DN and doesn't turn it
off at the end, potentially taking the port. I changed it to turn this DN off
in a try/finally. I also changed it to use port 0 for the data and HTTP port, a
belt-and-suspenders approach to fixing the issue.
> TestDataNodeConfig failing on Jenkins runs due to DN web port in use
> --------------------------------------------------------------------
>
> Key: HDFS-6213
> URL: https://issues.apache.org/jira/browse/HDFS-6213
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0
> Reporter: Steve Loughran
> Assignee: Andrew Wang
> Priority: Minor
> Attachments: hdfs-6213-1.patch
>
>
> The {{TestDataNodeConfig}} test fails on some runs from the port 50075 being
> in use -the DN the test is creating is picking up the default web port, and
> if is in use (previous test?) the test fails.
--
This message was sent by Atlassian JIRA
(v6.2#6252)