Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9474

TestPipelinesFailover should not fail when printing debug message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    Description

      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.

      Attachments

        1. HDFS-9474.002.patch
          3 kB
          John Zhuge
        2. HDFS-9474.001.patch
          3 kB
          John Zhuge

        Issue Links

          Activity

            People

              jzhuge John Zhuge
              yzhangal Yongjun Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: