1. 程式人生 > >core-site.xml

core-site.xml

<configuration>
    <property>
  <name>fs.defaultFS</name>
  <value>hdfs://mycluster</value>
</property>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/var/hadoop/ha/</value>
    </property> <property>
   <name>ha.zookeeper.quorum</name>
   <value>node02:2181,node03:2181,node04:2181</value>
 </property> </configuration>