[
https://issues.apache.org/jira/browse/MAPREDUCE-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101351#comment-13101351
]
Vinod Kumar Vavilapalli commented on MAPREDUCE-2971:
----------------------------------------------------
Yes, this is because of MAPREDUCE-2908, I take the blame. I removed the method
as FindBugs warned that method wasn't properly overridden because of a
different argument - something of that sort. The removed method
JobClient.displayJobList() and CLI.displayJobList() are essentially the same
code.
The attached patch will bring that warning back. We should just change the
visibility of CLI.displayJobList() to be public.
> ant build mapreduce fails protected access jc.displayJobList(jobs);
> ---------------------------------------------------------------------
>
> Key: MAPREDUCE-2971
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2971
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2971.patch
>
>
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira