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

Wrong paths for CapacityScheduler/FairScheduler jar in documentation

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:

      Description

      Both documentations
      http://hadoop.apache.org/common/docs/r1.0.3/fair_scheduler.html
      http://hadoop.apache.org/common/docs/r1.0.3/capacity_scheduler.html

      say that the jar should be copied from the contrib/*scheduler directory.

      But that's not the case ; both jars are actually in the lib folder

        Activity

        Hide
        Neelesh Srinivas Salian added a comment -

        Seems to be applicable to docs preceding 2.4.1.

        http://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html, however, doesn't have the installation section.
        In 1.0.4 it says:
        You can also build the Scheduler from source by executing ant package, in which case it would be available under build/contrib/capacity-scheduler.

        To run the CapacityScheduler in your Hadoop installation, you need to put it on the CLASSPATH. The easiest way is to copy the hadoop-capacity-scheduler-*.jar from to HADOOP_HOME/lib. Alternatively, you can modify HADOOP_CLASSPATH to include this jar, in conf/hadoop-env.sh.

        For ant, it would be under /build/* for Hadoop it would be in ~/lib.

        Closing this for now.
        Please reopen if you have questions.

        Thank you.

        Show
        Neelesh Srinivas Salian added a comment - Seems to be applicable to docs preceding 2.4.1. http://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html , however, doesn't have the installation section. In 1.0.4 it says: You can also build the Scheduler from source by executing ant package, in which case it would be available under build/contrib/capacity-scheduler. To run the CapacityScheduler in your Hadoop installation, you need to put it on the CLASSPATH. The easiest way is to copy the hadoop-capacity-scheduler-*.jar from to HADOOP_HOME/lib. Alternatively, you can modify HADOOP_CLASSPATH to include this jar, in conf/hadoop-env.sh. For ant, it would be under /build/* for Hadoop it would be in ~/lib. Closing this for now. Please reopen if you have questions. Thank you.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bertrand Dechoux
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development