apache-hama集群配置
2016-05-14 17:18
615 查看
hadoop集群配置完成后才能配置apache-hama
配置apache-hama-0.7.0
1、在hama-env.sh文件中添加JAVA_HOME
2、在groomservers添加子节点的hostName
slave01
slave02
slave04
slave05
3、配置hama-site.xml文件
<configuration>
<property>
<name>bsp.master.address</name>
<value>master: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://master: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>master,slave01,slave02,slave04,slave05</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>
<property>
<name>hama.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
</configuration>
我的集群中安装了zookeeper集群,所以在hama.zookeeper.quorum中我配置了hostName信息,如果没有安装zookeeper集群可以不配置此信息
至上配置完成!
在apache-hama-0.7.0根目录下执行命令:
bin/start-all.sh
用jps查看线程
配置apache-hama-0.7.0
1、在hama-env.sh文件中添加JAVA_HOME
2、在groomservers添加子节点的hostName
slave01
slave02
slave04
slave05
3、配置hama-site.xml文件
<configuration>
<property>
<name>bsp.master.address</name>
<value>master: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://master: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>master,slave01,slave02,slave04,slave05</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>
<property>
<name>hama.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
</configuration>
我的集群中安装了zookeeper集群,所以在hama.zookeeper.quorum中我配置了hostName信息,如果没有安装zookeeper集群可以不配置此信息
至上配置完成!
在apache-hama-0.7.0根目录下执行命令:
bin/start-all.sh
用jps查看线程
相关文章推荐
- Hama安装
- Hama安装
- destination exists and is not a directory
- Hama运行pagerank
- BSP-Apache HAMA-Graph运行(3)
- BSP-Apache HAMA-Graph运行(2)
- BSP-Apache HAMA-Graph运行(1)
- BSP-Apache.HAMA运行过程(框架)
- 安装hadoop-hama
- apache-hama
- match vertex
- mac上安装Apache服务器
- Apache安装
- LR监控Apache性能
- Apache 配置使用小结
- Apache下error.log文件太大的处理
- ClassNotFoundException: org.apache.ws.commons.schema.resolver.URIResolver
- Apache Spark 1.5新特性介绍
- 使用百度云加速防apache的ab测试
- 使用百度云加速防apache的ab测试