I am trying to run Apache Hama on Amazon Elastic MapReduce using https://github.com/awslabs/emr-bootstrap-actions/tree/master/hama script. However, when trying out with one master node and two slave nodes, peer.getNumPeers() in the BSP code reports only 1 peer. I am suspecting whether Hama runs in local mode.
Moreover, looking at configurations at https://hama.apache.org/getting_started_with_hama.html, my understanding is that the list of all the servers should go in hama-site.xml file for property hama.zookeeper.quorum and also in groomservers file. However, I wonder whether these are being configured properly in the install script. Would really appreciate if anyone could point out whether it's a limitation in the script or whether I am doing something wrong.
@Madhura
Hama doesn't always need
groomserverfile to run fully distributed mode.groomserverfile is needed to run hama cluster using onlystart-bspd.sh. But emr-bootstrap-action of hama runs groomservers on each slave nodes usinghama-daemon.shfile. Code executed in install script is as follow.$ /bin/hama-daemon.sh --config ${HAMA_HOME}/conf start groomI think you need to check the emr logs whether they have error or not.