Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7757

Test file reference count is at least 3x actual value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 0.24.0
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: build
    • Labels:
      None

      Description

      patch file format example

      diff --git hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/test/MapredTestDriver.java hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/test/MapredTestDriver.java
      index 26747cd..4ab14ad 100644
      — hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/test/MapredTestDriver.java
      +++ hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/test/MapredTestDriver.java

      method to count test file references will count 3 test files referenced instead of the more accurate 1 test file referenced

      grep -c -i '/test'

        Attachments

        1. HADOOP-7757.patch
          0.8 kB
          Jonathan Eagles
        2. HADOOP-7757.patch
          0.6 kB
          Jonathan Eagles

          Activity

            People

            • Assignee:
              jeagles Jonathan Eagles
              Reporter:
              jeagles Jonathan Eagles
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: