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>

猜你喜欢

转载自www.cnblogs.com/huiandong/p/9975066.html