在運行hadoop多節點集羣時,我在主日誌上得到了錯誤消息,可以建議做些什麼..?我是否需要創建一個新用戶或我可以給我的現有機器的用戶名在這裏Hadoop webuser:沒有這樣的用戶
2013年7月25日19:41:11765 WARN org.apache.hadoop.security.UserGroupInformation:沒有組 for user webuser 2013-07-25 19:41:11,778 WARN org.apache.hadoop.security.ShellBasedUnixGroupsMapping:得到異常 嘗試獲取用戶webuser的組 org.apache.hadoop.util.Shell $ ExitCodeException:id :webuser:沒有這樣的 用戶
hdfs-site.xml文件
<configuration>
<property>
<name>dfs.replication</name>
<value>2</value>
<description>Default block replication.
The actual number of replications can be specified when the file is created.
The default is used if replication is not specified in create time.
</description>
</property>
</configuration>
芯-site.xml中
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://master:54310</value>
<description>The name of the default file system. A URI whose
scheme and authority determine the FileSystem implementation. The
uri's scheme determines the config property (fs.SCHEME.impl) naming
the FileSystem implementation class. The uri's authority is used to
determine the host, port, etc. for a filesystem.</description>
</property>
</configuration>
mapred-site.xml中
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>master:54311</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>
</configuration>
我跟着http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-node-cluster/。
的Hadoop 1.2.0 碼頭-6.1.26
加入我的HDFS-site.xml中後看起來
<configuration>
<property>
<name>dfs.replication</name>
<value>2</value>
<description>Default block replication.
The actual number of replications can be specified when the file is created.
The default is used if replication is not specified in create time.
</description>
</property>
<property>
<name>dfs.web.ugi</name>
<value>hduser,hadoop</value>
</property>
</configuration>
您可以編輯問題併發布您的{hdfs | core | mapred} -site.xml文件嗎? –
我確實添加了他們@ JtheRocker – Surya