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

hadoop-hdfs-client tests do not write logs.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The tests that have been split into the hadoop-hdfs-client module are not writing any log output, because there is no src/test/resources/log4j.properties file in the module. This makes it more difficult to troubleshoot test failures.

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          ABORTED: Integrated in Hadoop-Hdfs-trunk-Java8 #574 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/574/)
          HDFS-9378. hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe)

          • hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - ABORTED: Integrated in Hadoop-Hdfs-trunk-Java8 #574 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/574/ ) HDFS-9378 . hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe) hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #2571 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2571/)
          HDFS-9378. hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe)

          • hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2571 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2571/ ) HDFS-9378 . hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe) hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #630 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/630/)
          HDFS-9378. hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe)

          • hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #630 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/630/ ) HDFS-9378 . hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe) hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #641 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/641/)
          HDFS-9378. hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe)

          • hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #641 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/641/ ) HDFS-9378 . hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe) hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #1364 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1364/)
          HDFS-9378. hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe)

          • hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #1364 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1364/ ) HDFS-9378 . hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe) hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #2512 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2512/)
          HDFS-9378. hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe)

          • hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2512 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2512/ ) HDFS-9378 . hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe) hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #8759 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8759/)
          HDFS-9378. hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe)

          • hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8759 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8759/ ) HDFS-9378 . hadoop-hdfs-client tests do not write logs. Contributed by (cnauroth: rev c563401796c58119d1b42dda55d6916bdab56dfe) hadoop-hdfs-project/hadoop-hdfs-client/src/test/resources/log4j.properties hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          cnauroth Chris Nauroth added a comment -

          I have committed this to trunk and branch-2. Arpit, Haohui and Mingliang, thank you for the reviews.

          Show
          cnauroth Chris Nauroth added a comment - I have committed this to trunk and branch-2. Arpit, Haohui and Mingliang, thank you for the reviews.
          Hide
          liuml07 Mingliang Liu added a comment -

          +1 (non-binding).

          I also think it's OK to commit without Jenkins report.

          Show
          liuml07 Mingliang Liu added a comment - +1 (non-binding). I also think it's OK to commit without Jenkins report.
          Hide
          wheat9 Haohui Mai added a comment -

          +1. Thanks.

          Show
          wheat9 Haohui Mai added a comment - +1. Thanks.
          Hide
          arpitagarwal Arpit Agarwal added a comment -

          +1, probably okay to commit this without Jenkins +1. Thanks for fixing this Chris Nauroth.

          Show
          arpitagarwal Arpit Agarwal added a comment - +1, probably okay to commit this without Jenkins +1. Thanks for fixing this Chris Nauroth .
          Hide
          cnauroth Chris Nauroth added a comment -

          I'm attaching a trivial patch that simply copies the same log4j.properties configuration that we've always used in hadoop-hdfs.

          Show
          cnauroth Chris Nauroth added a comment - I'm attaching a trivial patch that simply copies the same log4j.properties configuration that we've always used in hadoop-hdfs.

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development