You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by 鲁伟明 <lw...@126.com> on 2006/09/28 14:01:41 UTC

Error when execute bin/start-all.sh

Hi, all
   I install hadoop-0.6.2 in windows through cygwin. I can run "grep" operation, but when I try to operate distributedly, Some error occured.
I set the conf/hadoop-site.xml like as follows:
<configuration>
  <property>
    <name>fs.default.name</name>
    <value>localhost:9000</value>
  </property>

  <property>
    <name>mapred.job.tracker</name>
    <value>localhost:9001</value>
  </property>

  <property>
    <name>dfs.replication</name>
    <value>1</value>
  </property>

</configuration>
 
and then run "<FONT face=新宋体>bin/hadoop namenode -format", then run "bin/start-all.sh"
The error message is shown as:
[: ==: unknown operand
/hadoop-0.6.2/bin/hadoop-daemon.sh:65:Syntax error: word unexpected(expecting ")")
/hadoop-0.6.2/bin/slaves.sh:36:Syntax error: Bad substitution
 
Can someone help me? Thanks~