0

我已经安装了 hadoop-1.2.1。我能够配置名称节点和作业跟踪器,两者都已启动并正在运行。但是,当我尝试单击“浏览文件系统”链接时。我会自动被重定向到“ 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>

核心站点.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>
4

0 回答 0