[ https://issues.apache.org/jira/browse/HADOOP-6846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931224#action_12931224 ]
Robert Demb commented on HADOOP-6846: ------------------------------------- Hi, I'm responding to a bug I'm encountering using these release scripts. Since there is no build.xml file for 0.21.0, I searched and found these scripts. Executing the build-hadoop.sh file successfully builds hadoop-common and hadoop-hdfs, but produces the following the error for hadoop-mapreduce - see below. I apologize if this has gone out to a wide audience who are already familiar with this issue and have it solved. I could not find any documentation on how to build 0.21.0 - aside from the jira posts concerning the absence of the build.xml, and the jira posts on these scripts. If there is a 0.21.0 release that has the coordinated build.xml, please let me know. Thank you, Robert javac] /home/hadoop_devel/hadoop-mapreduce/build/src/org/apache/hadoop/ma pred/jobdetailshistory_jsp.java:268: cannot find symbol [javac] symbol : class FilteredJob [javac] location: class org.apache.hadoop.mapred.HistoryViewer [javac] HistoryViewer.FilteredJob filter = new HistoryViewer.FilteredJob (job,TaskStatus.State.FAILED.toString()); [javac] ^ [javac] /home/hadoop_devel/hadoop-mapreduce/build/src/org/apache/hadoo p/mapred/jobdetailshistory_jsp.java:317: cannot find symbol [javac] symbol : class FilteredJob [javac] location: class org.apache.hadoop.mapred.HistoryViewer [javac] filter = new HistoryViewer.FilteredJob(job, TaskStatus.State.KIL LED.toString()); [javac] ^ [javac] /home/hadoop_devel/hadoop-mapreduce/build/src/org/apache/hadoo p/mapred/jobhistory_jsp.java:186: cannot find symbol [javac] symbol : variable OLD_SUFFIX [javac] location: class org.apache.hadoop.mapred.JobHistory [javac] path.getName().endsWith(JobHistory.OLD_SUFFIX)) && [javac] ^ [javac] /home/hadoop_devel/hadoop-mapreduce/build/src/org/apache/hadoo p/mapred/jobhistory_jsp.java:316: cannot find symbol [javac] symbol : method getJobIDFromHistoryFilePath(org.apache.hadoop.fs.Pa th) [javac] location: class org.apache.hadoop.mapred.JobHistory [javac] String jobId = JobHistory.getJobIDFromHistoryFilePath(jobFile) .toString(); [javac] ^ [javac] /home/hadoop_devel/hadoop-mapreduce/build/src/org/apache/hadoo p/mapred/jobhistory_jsp.java:317: cannot find symbol [javac] symbol : method getUserFromHistoryFilePath(org.apache.hadoop.fs.Pat h) [javac] location: class org.apache.hadoop.mapred.JobHistory [javac] String userName = JobHistory.getUserFromHistoryFilePath(jobFil e); [javac] ^ [javac] /home/hadoop_devel/hadoop-mapreduce/build/src/org/apache/hadoo p/mapred/taskdetailshistory_jsp.java:52: cannot find symbol [javac] symbol : method getTaskLogsUrl(org.apache.hadoop.mapreduce.jobhisto ry.JobHistoryParser.TaskAttemptInfo) [javac] location: class org.apache.hadoop.mapred.HistoryViewer [javac] String taskLogsUrl = HistoryViewer.getTaskLogsUrl(taskAttempt); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 13 errors BUILD FAILED /home/rdemb/hadoop_devel/hadoop-mapreduce/build.xml:378: Compile failed; see the compiler error output for details. > Scripts for building Hadoop 0.21.0 release > ------------------------------------------ > > Key: HADOOP-6846 > URL: https://issues.apache.org/jira/browse/HADOOP-6846 > Project: Hadoop Common > Issue Type: Task > Components: build > Reporter: Tom White > Assignee: Tom White > Attachments: release-scripts.tar.gz > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.