This is the error message that I get:

"[EMAIL PROTECTED] nutch-nightly]# bin/start-all.sh
cat: /root/.slaves: Arquivo ou diretório não encontrado
starting namenode, logging to /usr/nutch-nightly/nutch-root-namenode-
localhost.l
ocaldomain.log
051227 085214 parsing file:/usr/nutch-nightly/conf/nutch-default.xml
051227 085214 parsing file:/usr/nutch-nightly/conf/nutch-site.xml
Exception in thread "main" java.lang.RuntimeException: Not a host:port
pair: local
        at org.apache.nutch.ndfs.DataNode.createSocketAddr
(DataNode.java:54)
        at org.apache.nutch.ndfs.NameNode.<init>(NameNode.java:52)
        at org.apache.nutch.ndfs.NameNode.main(NameNode.java:349)
starting jobtracker, logging to /usr/nutch-nightly/nutch-root-
jobtracker-localhost.localdomain.log
051227 085215 parsing file:/usr/nutch-nightly/conf/nutch-default.xml
051227 085215 parsing file:/usr/nutch-nightly/conf/nutch-site.xml
Exception in thread "main" java.lang.RuntimeException: Bad
mapred.job.tracker: local
        at org.apache.nutch.mapred.JobTracker.getAddress
(JobTracker.java:254)
        at
org.apache.nutch.mapred.JobTracker.<init>(JobTracker.java:228)
        at org.apache.nutch.mapred.JobTracker.startTracker
(JobTracker.java:45)
        at org.apache.nutch.mapred.JobTracker.main(JobTracker.java:1070)
cat: /root/.slaves: Arquivo ou diretório não encontrado
[EMAIL PROTECTED] nutch-nightly]#"

My nutch-site.xml is the saved nutch-default.xml, without modifications:

"
......................
<property>
  <name>fs.default.name</name>
  <value>local</value>
  <description>The name of the default file system.  Either the
  literal string "local" or a host:port for NDFS.</description>
</property>

<property>
  <name>ndfs.datanode.port</name>
  <value>50010</value>
  <description>The port number that the ndfs datanode server uses as a
starting  point to look for a free port to listen on.
</description>
</property>

<property>
  <name>ndfs.name.dir</name>
  <value>/tmp/nutch/ndfs/name</value>
  <description>Determines where on the local filesystem the NDFS name
node
      should store the name table.</description>
</property>

<property>
  <name>ndfs.data.dir</name>
  <value>/tmp/nutch/ndfs/data</value>
  <description>Determines where on the local filesystem an NDFS data
node
  should store its blocks.  If this is a comma- or space-delimited
  list of directories, then data will be stored in all named
  directories, typically on different devices.</description>
</property>

<!-- map/reduce properties -->

<property>
  <name>mapred.job.tracker</name>
  <value>local</value>
  <description>The host and port that the MapReduce job tracker runs
  at.  If "local", then jobs are run in-process as a single map
  and reduce task.
  </description>
</property>

<property>
  <name>mapred.job.tracker.info.port</name>
  <value>50030</value>
  <description>The port that the MapReduce job tracker info webserver
runs at.
  </description>
</property>

<property>
  <name>mapred.task.tracker.output.port</name>
  <value>50040</value>
  <description>The port number that the MapReduce task tracker output
server uses as a starting
               point to look for a free port to listen on.
  </description>
</property>

<property>
  <name>mapred.task.tracker.report.port</name>
  <value>50050</value>
  <description>The port number that the MapReduce task tracker report
server uses as a starting
               point to look for a free port to listen on.
  </description>
</property>

<property>
  <name>mapred.local.dir</name>
  <value>/tmp/nutch/mapred/local</value>
  <description>The local directory where MapReduce stores intermediate
  data files.  May be a space- or comma- separated list of
  directories on different devices in order to spread disk i/o.
  </description>
</property>

<property>
  <name>mapred.system.dir</name>
  <value>/tmp/nutch/mapred/system</value>
  <description>The shared directory where MapReduce stores control
files.
  </description>
</property>

<property>
  <name>mapred.temp.dir</name>
  <value>/tmp/nutch/mapred/temp</value>
  <description>A shared directory for temporary files.
  </description>
</property>
 
...........

As a final reminder, if that matters, this computer is on a small
network (with a router) with another computer that runs another OS
performing other tasks.

Thank you for your attention





Reply via email to