Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2091

Map/Reduce Build Failing due to missing Smoke Tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 0.21.1, 0.22.0
    • None
    • build
    • None
    • SLES 10 SP2, SUN JRE 1.6

    Description

      The Compilation (the ANT clean and tar directives) of the Map/Reduce Project works fine, but the test-core directive fails because the smoke tests are missing. This is the tail of the build log:

      [junit] Running org.apache.hadoop.mapreduce.TestMapReduceLocal
      [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 57.962 sec
      [junit] Running org.apache.hadoop.mapreduce.lib.input.TestFileInputFormat
      [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.839 sec
      [junit] Running org.apache.hadoop.mapreduce.lib.output.TestFileOutputCommitter
      [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.866 sec

      checkfailure:

      run-smoke-test:
      [delete] Deleting directory /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build/test/data
      [mkdir] Created dir: /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build/test/data
      [delete] Deleting directory /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build/test/logs
      [mkdir] Created dir: /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build/test/logs

      BUILD FAILED
      /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build.xml:749: The following error occurred while executing this line:
      /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build.xml:658: Excludesfile /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/src/test/smoke-tests not found.

      The fastest way to reproduce this error is to run : "ant run-test-mapred-excluding-commit-and-smoke"

      Attachments

        Activity

          People

            Unassigned Unassigned
            wattsteve Stephen Watt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: