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

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

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

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>
<property> 
<name>dfs.replication</name> 
<value>1</value> 
</property> 
<property> 
<name>dfs.permission</name> 
<value>false</value> 
</property> 
<property> 
<name>dfs.data.dir</name> 
<value>C:/cygwin64/home/hadoop-dir/datadir</value> 
</property> 
<property> 
<name>dfs.name.dir</name> 
<value>C:/cygwin64/home/hadoop-dir/namedir</value> 
</property> 
</configuration>

core-site.xml文件

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>

mapred-site.xml文件

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>
<property> 
<name>mapred.job.tracker</name> 
<value>localhost:50001</value> 
</property> 
</configuration>

暂无答案!

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

相关问题