Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3945

Ant not sending hadoopversion to piggybank sub-ant

    XMLWordPrintableJSON

Details

    • Patch Available
    • Ant sends hadoopversion to piggybank sub-ant, fixes building piggybank from top level

    Description

      The piggybank ant script needs to know what hadoopversion to use; but it is described in the main build script with inheritAll false, meaning that none of the main ant task's properties are sent along.

      This matters because the JobHistoryLoader needs to be excluded when building against Hadoop 2.0 (0.23) version branch. Running 'ant piggybank' from the top level was failed for me with errors about org.apache.hadoop.mapred.DefaultJobHistoryParser not found in contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/storage/HadoopJobHistoryLoader.java

      This patch leaves the inheritAll flag alone but selectively passes along the hadoopversion property. Alternatively, I can put in a patch that instead flips inheritAll to be true.

      Attachments

        Activity

          People

            mrflip Flip Kromer
            mrflip Flip Kromer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: