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

hadoop 0.20 branch "test-patch" is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.0
    • 0.20.1
    • build
    • None
    • Reviewed

    Description

      There were two problems found in src/test/bin/test-patch.sh while I am doing the backporting of TFile patch (HADOOP-3315):

      • java5.home and forrest.home is not defined for the ant command in pre-build stage, which leads to the following error message (in file trunkJavacWarnings.txt):
        java5.check:
        
        BUILD FAILED
        /home/htang/workspace/test-patch/branch-0.20/build.xml:891: 'java5.home' is not defined.  Forrest requires Java 5.  Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
        
      • When referring 10-th argument from the command line, it should use "${10}" instead of "$10" (which is $1 with a zero appended).

      Attachments

        1. hadoop-6141.patch
          5 kB
          Hong Tang

        Activity

          People

            hong.tang Hong Tang
            hong.tang Hong Tang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: