Browse Source

HADOOP-7247. Update documentation to match current jar names. (omalley)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-203@1097281 13f79535-47bb-0310-9956-ffa450edef68
Owen O'Malley 14 years ago
parent
commit
b15624313a

+ 2 - 0
CHANGES.txt

@@ -2,6 +2,8 @@ Hadoop Change Log
 
 
 Release 0.20.203.0 - unreleased
 Release 0.20.203.0 - unreleased
 
 
+    HADOOP-7247. Update documentation to match current jar names. (omalley)
+
     HADOOP-7246. Update the log4j configuration to match the EventCounter
     HADOOP-7246. Update the log4j configuration to match the EventCounter
     package. (Luke Lu via omalley)
     package. (Luke Lu via omalley)
 
 

+ 2 - 2
src/core/overview.html

@@ -114,7 +114,7 @@ be demonstrated as follows:</p>
 <tt>
 <tt>
 mkdir input<br>
 mkdir input<br>
 cp conf/*.xml input<br>
 cp conf/*.xml input<br>
-bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+'<br>
+bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+'<br>
 cat output/*
 cat output/*
 </tt>
 </tt>
 <p>This will display counts for each match of the <a
 <p>This will display counts for each match of the <a
@@ -217,7 +217,7 @@ command, run on the master node:</p>
 examine it:</p>
 examine it:</p>
 
 
 <tt>
 <tt>
-bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+'<br>
+bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+'<br>
 bin/hadoop fs -get output output
 bin/hadoop fs -get output output
 cat output/*
 cat output/*
 </tt>
 </tt>

+ 2 - 2
src/docs/src/documentation/content/xdocs/capacity_scheduler.xml

@@ -142,13 +142,13 @@
       
       
         <p>The CapacityScheduler is available as a JAR file in the Hadoop
         <p>The CapacityScheduler is available as a JAR file in the Hadoop
         tarball under the <em>contrib/capacity-scheduler</em> directory. The name of 
         tarball under the <em>contrib/capacity-scheduler</em> directory. The name of 
-        the JAR file would be on the lines of hadoop-*-capacity-scheduler.jar.</p>
+        the JAR file would be on the lines of hadoop-capacity-scheduler-*.jar.</p>
         <p>You can also build the Scheduler from source by executing
         <p>You can also build the Scheduler from source by executing
         <em>ant package</em>, in which case it would be available under
         <em>ant package</em>, in which case it would be available under
         <em>build/contrib/capacity-scheduler</em>.</p>
         <em>build/contrib/capacity-scheduler</em>.</p>
         <p>To run the CapacityScheduler in your Hadoop installation, you need 
         <p>To run the CapacityScheduler in your Hadoop installation, you need 
         to put it on the <em>CLASSPATH</em>. The easiest way is to copy the 
         to put it on the <em>CLASSPATH</em>. The easiest way is to copy the 
-        <code>hadoop-*-capacity-scheduler.jar</code> from 
+        <code>hadoop-capacity-scheduler-*.jar</code> from 
         to <code>HADOOP_HOME/lib</code>. Alternatively, you can modify 
         to <code>HADOOP_HOME/lib</code>. Alternatively, you can modify 
         <em>HADOOP_CLASSPATH</em> to include this jar, in 
         <em>HADOOP_CLASSPATH</em> to include this jar, in 
         <code>conf/hadoop-env.sh</code>.</p>
         <code>conf/hadoop-env.sh</code>.</p>

+ 2 - 2
src/docs/src/documentation/content/xdocs/fair_scheduler.xml

@@ -93,7 +93,7 @@
       <p>
       <p>
         To run the fair scheduler in your Hadoop installation, you need to put
         To run the fair scheduler in your Hadoop installation, you need to put
         it on the CLASSPATH. The easiest way is to copy the 
         it on the CLASSPATH. The easiest way is to copy the 
-        <em>hadoop-*-fairscheduler.jar</em> from
+        <em>hadoop-fairscheduler-*.jar</em> from
         <em>HADOOP_HOME/contrib/fairscheduler</em> to <em>HADOOP_HOME/lib</em>.
         <em>HADOOP_HOME/contrib/fairscheduler</em> to <em>HADOOP_HOME/lib</em>.
         Alternatively you can modify <em>HADOOP_CLASSPATH</em> to include this jar, in
         Alternatively you can modify <em>HADOOP_CLASSPATH</em> to include this jar, in
         <em>HADOOP_CONF_DIR/hadoop-env.sh</em>
         <em>HADOOP_CONF_DIR/hadoop-env.sh</em>
@@ -101,7 +101,7 @@
       <p>
       <p>
         In order to compile fair scheduler, from sources execute <em> ant 
         In order to compile fair scheduler, from sources execute <em> ant 
         package</em> in source folder and copy the 
         package</em> in source folder and copy the 
-        <em>build/contrib/fair-scheduler/hadoop-*-fairscheduler.jar</em> 
+        <em>build/contrib/fair-scheduler/hadoop-fairscheduler-*.jar</em> 
         to <em>HADOOP_HOME/lib</em>
         to <em>HADOOP_HOME/lib</em>
       </p>
       </p>
       <p>
       <p>

+ 2 - 2
src/docs/src/documentation/content/xdocs/single_node_setup.xml

@@ -146,7 +146,7 @@
         <code>$ mkdir input</code><br/>
         <code>$ mkdir input</code><br/>
         <code>$ cp conf/*.xml input</code><br/>
         <code>$ cp conf/*.xml input</code><br/>
         <code>
         <code>
-          $ bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+'
+          $ bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+'
         </code><br/>
         </code><br/>
         <code>$ cat output/*</code>
         <code>$ cat output/*</code>
       </p>
       </p>
@@ -252,7 +252,7 @@
         <p>
         <p>
           Run some of the examples provided:<br/>
           Run some of the examples provided:<br/>
           <code>
           <code>
-            $ bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+'
+            $ bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+'
           </code>
           </code>
         </p>
         </p>
         
         

+ 1 - 1
src/examples/org/apache/hadoop/examples/AggregateWordCount.java

@@ -34,7 +34,7 @@ import org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob;
  * text input files, breaks each line into words and counts them. The output is
  * text input files, breaks each line into words and counts them. The output is
  * a locally sorted list of words and the count of how often they occurred.
  * a locally sorted list of words and the count of how often they occurred.
  * 
  * 
- * To run: bin/hadoop jar hadoop-*-examples.jar aggregatewordcount <i>in-dir</i>
+ * To run: bin/hadoop jar hadoop-examples-*.jar aggregatewordcount <i>in-dir</i>
  * <i>out-dir</i> <i>numOfReducers</i> textinputformat
  * <i>out-dir</i> <i>numOfReducers</i> textinputformat
  * 
  * 
  */
  */

+ 1 - 1
src/examples/org/apache/hadoop/examples/AggregateWordHistogram.java

@@ -32,7 +32,7 @@ import org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob;
  * This is an example Aggregated Hadoop Map/Reduce application. Computes the
  * This is an example Aggregated Hadoop Map/Reduce application. Computes the
  * histogram of the words in the input texts.
  * histogram of the words in the input texts.
  * 
  * 
- * To run: bin/hadoop jar hadoop-*-examples.jar aggregatewordhist <i>in-dir</i>
+ * To run: bin/hadoop jar hadoop-examples-*.jar aggregatewordhist <i>in-dir</i>
  * <i>out-dir</i> <i>numOfReducers</i> textinputformat
  * <i>out-dir</i> <i>numOfReducers</i> textinputformat
  * 
  * 
  */
  */

+ 2 - 2
src/examples/org/apache/hadoop/examples/dancing/package.html

@@ -59,8 +59,8 @@ Both applications have been added to the examples jar, so they can be
 run as:
 run as:
 
 
 <pre>
 <pre>
-bin/hadoop jar hadoop-*-examples.jar pentomino pent-outdir
-bin/hadoop jar hadoop-*-examples.jar sudoku puzzle.txt
+bin/hadoop jar hadoop-examples-*.jar pentomino pent-outdir
+bin/hadoop jar hadoop-examples-*.jar sudoku puzzle.txt
 </pre>
 </pre>
 
 
 <p>
 <p>

+ 1 - 1
src/examples/org/apache/hadoop/examples/terasort/TeraGen.java

@@ -55,7 +55,7 @@ import org.apache.hadoop.util.ToolRunner;
  *
  *
  * <p>
  * <p>
  * To run the program: 
  * To run the program: 
- * <b>bin/hadoop jar hadoop-*-examples.jar teragen 10000000000 in-dir</b>
+ * <b>bin/hadoop jar hadoop-examples-*.jar teragen 10000000000 in-dir</b>
  */
  */
 public class TeraGen extends Configured implements Tool {
 public class TeraGen extends Configured implements Tool {
 
 

+ 1 - 1
src/examples/org/apache/hadoop/examples/terasort/TeraSort.java

@@ -45,7 +45,7 @@ import org.apache.hadoop.util.ToolRunner;
  * finish. 
  * finish. 
  * <p>
  * <p>
  * To run the program: 
  * To run the program: 
- * <b>bin/hadoop jar hadoop-*-examples.jar terasort in-dir out-dir</b>
+ * <b>bin/hadoop jar hadoop-examples-*.jar terasort in-dir out-dir</b>
  */
  */
 public class TeraSort extends Configured implements Tool {
 public class TeraSort extends Configured implements Tool {
   private static final Log LOG = LogFactory.getLog(TeraSort.class);
   private static final Log LOG = LogFactory.getLog(TeraSort.class);

+ 1 - 1
src/examples/org/apache/hadoop/examples/terasort/TeraValidate.java

@@ -44,7 +44,7 @@ import org.apache.hadoop.util.ToolRunner;
  * Any output from the reduce is problem report.
  * Any output from the reduce is problem report.
  * <p>
  * <p>
  * To run the program: 
  * To run the program: 
- * <b>bin/hadoop jar hadoop-*-examples.jar teravalidate out-dir report-dir</b>
+ * <b>bin/hadoop jar hadoop-examples-*.jar teravalidate out-dir report-dir</b>
  * <p>
  * <p>
  * If there is any output, something is wrong and the output of the reduce
  * If there is any output, something is wrong and the output of the reduce
  * will have the problem report.
  * will have the problem report.