[
https://issues.apache.org/jira/browse/HDFS-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232224#comment-13232224
]
Harsh J commented on HDFS-3112:
-------------------------------
Forgot to add, right steps for you are:
$ ant compile
$ cd src/contrib/capacity-scheduler
$ ant compile
OR just,
$ ant compile-contrib
> Build contrib
> -------------
>
> Key: HDFS-3112
> URL: https://issues.apache.org/jira/browse/HDFS-3112
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 1.0.0
> Reporter: cldoltd
>
> I build capacity-shechuder contrib in src/contrib/capacity-scheduler
> > ant package
> but error is:
> [javac] ^
> [javac]
> /setup/hadoop-1.0.0/src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerQueue.java:754:
> cannot find symbol
> [javac] symbol : class JobInProgress
> [javac] location: class
> org.apache.hadoop.mapred.CapacitySchedulerQueue.UserInfo
> [javac] public void jobAdded(JobSchedulingInfo jobSchedInfo,
> JobInProgress job) {
> [javac] ^
> [javac]
> /setup/hadoop-1.0.0/src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerQueue.java:758:
> cannot find symbol
> [javac] symbol : class JobSchedulingInfo
> [javac] location: class
> org.apache.hadoop.mapred.CapacitySchedulerQueue.User
> ........
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] 100 errors
> BUILD FAILED
> /setup/hadoop-1.0.0/src/contrib/build.xml:30: The following error occurred
> while executing this line:
> /setup/hadoop-1.0.0/src/contrib/build-contrib.xml:185: Compile failed; see
> the compiler error output for details.
> HADOOP_CLASSPATH=/setup/hadoop-1.0.0/lib/
> thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira