[ https://issues.apache.org/jira/browse/HDFS-9474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yongjun Zhang updated HDFS-9474: -------------------------------- Resolution: Fixed Fix Version/s: 2.8.0 Status: Resolved (was: Patch Available) Committed to trunk, branch-2 and branch-2.8. Thanks John for the contribution. > TestPipelinesFailover should not fail when printing debug message > ----------------------------------------------------------------- > > Key: HDFS-9474 > URL: https://issues.apache.org/jira/browse/HDFS-9474 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Yongjun Zhang > Assignee: John Zhuge > Fix For: 2.8.0 > > Attachments: HDFS-9474.001.patch, HDFS-9474.002.patch > > > HDFS-6693 introduced some debug message to debug why when > TestPipelinesFailover fails. > HDFS-9438 restricted the debug message to Linux/Mac/Solaris. However, the > test would fail when printing debug message if "ifconfig" command is not > available in certain environment. > This is not quite right. The test should not fail due to the debug message > printing. We should catch any exception thrown from the code that prints > debug message, and issue a warning message. > Suggest to make this change. -- This message was sent by Atlassian JIRA (v6.3.4#6332)