Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-852

ExampleDriver is incorrectly set as a Main-Class in tools in build.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Changed the target name from "tools-jar" to "tools" in build.xml.

      Description

      In build.xml,

        <target name="examples" depends="jar, compile-examples" description="Make the Hadoop examples jar.">
      ...
      
        <target name="tools-jar" depends="jar, compile-tools" 
                description="Make the Hadoop tools jar.">
          <jar jarfile="${build.dir}/${tools.final.name}.jar"
               basedir="${build.tools}">
            <manifest>
              <attribute name="Main-Class" 
                         value="org/apache/hadoop/examples/ExampleDriver"/>
            </manifest>
          </jar>
        </target>
      
      • ExampleDriver should not be a Main-Class of tools
      • Should we rename the target name from "tools-jar" to "tools", so that the name would be consistent with the "examples" target?
      1. m852_20090812.patch
        2 kB
        Tsz Wo Nicholas Sze

        Activity

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development