浏览代码

Updated javadoc for recent config changes.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@378131 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 年之前
父节点
当前提交
c506f665df
共有 1 个文件被更改,包括 5 次插入6 次删除
  1. 5 6
      src/java/overview.html

+ 5 - 6
src/java/overview.html

@@ -48,6 +48,9 @@ Unpack the release and connect to its top-level directory.</p>
 href="http://lucene.apache.org/hadoop/version_control.html">subversion</a>
 and build it with <a href="http://ant.apache.org/">Ant</a>.</p>
 
+<p>Edit the file <tt>conf/hadoop-env.sh</tt> to define at least
+<tt>JAVA_HOME</tt>.</p>
+
 <p>Try the following command:</p>
 <tt>bin/hadoop</tt>
 <p>This will display the documentation for the Hadoop command script.</p>
@@ -91,7 +94,7 @@ href="../hadoop-default.html#mapred.job.tracker">mapred.job.tracker</a></tt>.
 </li>
 
 <li>A <em>slaves</em> file that lists the names of all the hosts in
-the cluster.  The default slaves file is <tt>~/.slaves</tt>.
+the cluster.  The default slaves file is <tt>conf/slaves</tt>.
 
 </ol>
 
@@ -129,10 +132,6 @@ require a password.  If it does, execute the following commands:</p>
 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
 </tt></p>
 
-<p>Finally, you can create a <tt>.slaves</tt> file with the command:</p>
-
-<p><tt>echo localhost > ~/.slaves</tt></p>
-
 <h3>Bootstrapping</h3>
 
 <p>The Hadoop daemons are started with the following command:</p>
@@ -199,7 +198,7 @@ number of slave processors for <tt>mapred.map.tasks</tt>, and 2x the
 number of slave processors for <tt>mapred.reduce.tasks</tt>.</li>
 
 <li>List all slave hostnames or IP addresses in your
-<tt>~/.slaves</tt> file, one per line.</li>
+<tt>conf/slaves</tt> file, one per line.</li>
 
 </ol>