无法从namenode ui中的hdfs下载和上载文件

时间:2017-12-07 12:32:59

标签: hadoop hdfs

http://awsip:50070/explorer.html#

的用户界面中上传文件时出现以下错误

错误: 无法上传文件abc.zip。

core-site.xml:

 <configuration>
<property>
    <name>fs.default.name</name>
    <value>hdfs://0.0.0.0:8020</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>

hdfs-site.xml:

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

 <property>
    <name>dfs.name.dir</name>
    <value>/app/hadoop/tmp/namenode</value>
 </property>
 <property>
    <name>dfs.permissions</name>
    <value>false</value>
  </property>
 <property>
    <name>dfs.data.dir</name>
    <value>/app/hadoop/tmp/datanode</value>
 </property>
 <property>
     <name>dfs.namenode.rpc-address</name>
     <value>0.0.0.0:8020</value>
 </property>
 <property>
    <name>dfs.namenode.http-bind-host</name>
    <value>0.0.0.0</value>
 </property>
</configuration>

0 个答案:

没有答案