tar -xvzf hama-0.6.0.tar.gz 第二步:修改配置文件
进入$HAMA_HOME/conf文件夹。
修改hama-env.sh文件。加入JAVA_HOME变量。
修改hama-site.xml文件。我的hama-site.xml配置文件如下:
bsp.master.address
LenovoE46a:40000
The address of the bsp master server. Either the
literal string "local" or a host:port for distributed mode
fs.default.name
LenovoE46a:9000/
The name of the default file system. Either the literal string
"local" or a host:port for HDFS.
hama.zookeeper.quorum
LenovoE46a
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.