You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 344 Next »

Requirements

  • hadoop-0.20.x for HDFS
  • Sun Java JDK 1.5.x or higher version
  • ssh must be installed and sshd must be running to manage remote BSP daemons.

A distributed mode

hama-site.xml

<configuration>
  <property>
    <name>bsp.master.address</name>
    <value>mydomain.com:40000</value>
    <description>The address of the bsp master server. Either the
    literal string "local" or a host:port for distributed mode
    </description>
  </property>
  
<property>
  <name>fs.default.name</name>
  <value>hdfs://mydomain.com: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>mydomain.com</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>

Run the BSP deamons and Examples

# {$HAMA_HOME}/bin/start-bspd.sh

# {$HAMA_HOME}/bin/hama jar build/hama-0.2.0-dev-examples.jar pi
  • No labels