这就对了 
[lngz@LionmatoMacBook-Pro ~/hadoop]$ cat conf/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>
<property>
<name>hadoop.tmp.dir</name>
<value>/Users/lngz/hadoop/tmp/hadoop-${user.name}</value>
</property>
</configuration>
Hadoop配置详解
本文介绍了Hadoop集群中core-site.xml文件的具体配置细节,包括默认的文件系统为HDFS及临时目录的位置设定。这对于理解Hadoop的基本配置至关重要。
8944

被折叠的 条评论
为什么被折叠?



