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

ant build mapreduce fails protected access jc.displayJobList(jobs);

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • mrv2
    • None
    • Reviewed

    Description

      Running the ant target in the hadoop-mapreduce-project directory fails with:

      [jsp-compile] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      [javac] /home/tgraves/branch23/branch-0.23/hadoop-mapreduce-project/build.xml:398: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
      [javac] Compiling 50 source files to /home/tgraves/branch23/branch-0.23/hadoop-mapreduce-project/build/classes
      [javac] /home/tgraves/branch23/branch-0.23/hadoop-mapreduce-project/src/java/org/apache/hadoop/mapred/JobQueueClient.java:189: displayJobList(org.apache.hadoop.mapreduce.JobStatus[]) has protected access in org.apache.hadoop.mapreduce.tools.CLI
      [javac] jc.displayJobList(jobs);
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] 1 error

      Attachments

        1. MAPREDUCE-2971.patch
          3 kB
          Mahadev Konar
        2. MAPREDUCE-2971.patch
          3 kB
          Thomas Graves
        3. MAPREDUCE-2971.patch
          2 kB
          Thomas Graves
        4. MAPREDUCE-2971.patch
          1 kB
          Thomas Graves

        Activity

          People

            tgraves Thomas Graves
            tgraves Thomas Graves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: