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

Hadoop 无法从namenode ui中的hdfs下载和上载文件,hadoop,hdfs,Hadoop,Hdfs,在的用户界面中上载文件时,我遇到以下错误 错误: 无法上载文件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.

在的用户界面中上载文件时,我遇到以下错误

错误: 无法上载文件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>
 <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>

fs.default.name
hdfs://0.0.0.0:8020
默认文件系统的名称。其
方案和权限决定文件系统的实现。这个
uri的方案决定了配置属性(fs.scheme.impl)的命名
文件系统实现类。uri的权限用于
确定文件系统的主机、端口等。
hdfs-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>
 <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>

dfs.replication
1.
dfs.name.dir
/app/hadoop/tmp/namenode
dfs.0权限
假的
dfs.data.dir
/app/hadoop/tmp/datanode
dfs.namenode.rpc-address
0.0.0.0:8020
dfs.namenode.http-bind-host
0.0.0.0

日志文件中有其他错误吗?Hadoop托管在aws中,我正在从用户界面上传该文件,我没有看到为上传生成的任何日志,但下载时使用的是私有ip,如果我可以更改URL中的公共ip,我可以下载它,我们有没有其他不改变IP就可以直接下载的可能性?您的hdfs-site.xml和core-site.xml应该使用机器的FQDN,除非您在EC2中使用静态IP如果您的服务器在AWS中,我不明白本地主机地址如何返回该页面另外,为什么您不能直接上传到S3?或者您正在AWS中使用HDFS?