浏览namenode上的文件系统不工作:hadoop安装

kqhtkvqz  于 2021-06-01  发布在  Hadoop
关注(0)|答案(0)|浏览(258)

我已经安装了hadoop-1.2.1。我能够配置name node和job trakcer,它们都已经启动并运行。但是,当我试图点击链接“浏览文件系统”。我被自动重定向到“http://0.0.0.0:50070/browsedirectory.jsp?”。你能帮帮我吗。pfb我的配置文件:
hdfs-site.xml文件

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!-- Put site-specific property overrides in this file. -->
  4. <configuration>
  5. <property>
  6. <name>dfs.replication</name>
  7. <value>1</value>
  8. </property>
  9. <property>
  10. <name>dfs.permission</name>
  11. <value>false</value>
  12. </property>
  13. <property>
  14. <name>dfs.data.dir</name>
  15. <value>C:/cygwin64/home/hadoop-dir/datadir</value>
  16. </property>
  17. <property>
  18. <name>dfs.name.dir</name>
  19. <value>C:/cygwin64/home/hadoop-dir/namedir</value>
  20. </property>
  21. </configuration>

core-site.xml文件

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!-- Put site-specific property overrides in this file. -->
  4. <configuration>
  5. <property>
  6. <name>fs.default.name</name>
  7. <value>hdfs://localhost:9000</value>
  8. </property>
  9. </configuration>

mapred-site.xml文件

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!-- Put site-specific property overrides in this file. -->
  4. <configuration>
  5. <property>
  6. <name>mapred.job.tracker</name>
  7. <value>localhost:50001</value>
  8. </property>
  9. </configuration>

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题