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

TestPipelinesFailover should not fail when printing debug message

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      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.001.patch
          3 kB
          John Zhuge
        2. HDFS-9474.002.patch
          3 kB
          John Zhuge

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: