浏览namenode上的文件系统不起作用:Hadoop安装

时间:2017-05-24 08:52:19

标签: hadoop cygwin namenode

我已经安装了hadoop-1.2.1。我能够配置名称节点和作业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>

核心-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>

0 个答案:

没有答案