当前位置: 首页 > 工具软件 > Apache Hama > 使用案例 >

Apache Hama配置

牧璞
2023-12-01

hama-site.xml

<configuration>
  <property>
    <name>bsp.master.address</name>
    <value>192.168.0.1:40000</value>
    <description>The address of the bsp master server. Either the
    literal string "local" or a host[:port] (where host is a name or
    IP address) for distributed mode.
    </description>
  </property>

 <property>
      <name>fs.default.name</name>
      <value>hdfs://192.168.0.1:9000/</value>
      <description>
        The name of the default file system. Either the literal string
        "local" or a host:port for HDFS.
      </description>
 </property>
 <property>
    <name>hama.zookeeper.quorum</name>
    <value>192.168.0.1</value>
    <description>Comma separated list of servers in the ZooKeeper quorum.
    For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
    By default this is set to localhost for local and pseudo-distributed modes
    of operation. For a fully-distributed setup, this should be set to a full
    list of ZooKeeper quorum servers. If HAMA_MANAGES_ZK is set in hama-env.sh
    this is the list of servers which we will start/stop ZooKeeper on.
    </description>
  </property>
</configuration>


 类似资料: