복붙노트

[HADOOP] Hadoop 웹 사용자 : 해당 사용자 없음

HADOOP

Hadoop 웹 사용자 : 해당 사용자 없음

hadoop 다중 노드 클러스터를 실행하는 동안 마스터 로그에 다음과 같은 오류 메시지가 표시됩니다. 어떻게해야 할 지 조언 해 줄 수 있습니까? 새 사용자를 생성해야합니까, 아니면 여기에 기존의 Machine 사용자 이름을 부여 할 수 있습니까?

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>

core-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>

해결법

  1. ==============================

    1.hdfs-site.xml에서 dfs.web.ugi 속성을 편집하고 거기에 사용자를 추가하십시오. 기본적으로 webuser, webgroup입니다.

    hdfs-site.xml에서 dfs.web.ugi 속성을 편집하고 거기에 사용자를 추가하십시오. 기본적으로 webuser, webgroup입니다.

  2. from https://stackoverflow.com/questions/17862787/hadoop-webuser-no-such-user by cc-by-sa and MIT license