1.配置hadoop的core-site.xml文件,配置内容如下
<configuration> <property> <name>fs.defaultFS</name> <value>hdfs://node1:9000</value> </property> <property> <name>hadoop.tmp.dir</name> <value>/opt/hadoop-2.5</value> </property> </configuration>
时间: 2025-01-17 22:19:01