Summary of storm cluster installation and configuration problems

[1] Zookeeper cluster configuration problem

          1) Firewall problem (not solved, just simply turn off the firewall with service iptables stop, this method is not available in the actual production environment)

          2) The zookeeper cluster must have at least 2 machines to start

          3) Delete the /storm node in zookeeper, otherwise it will prompt that the nimbus node cannot be found: Step 1: ./zkCli.sh -server ip:port Step 2: list /, list all nodes Step 3: Use rmr /storm

[2] For the hostname problem, the hostname in etc/sysconfig/network and /etc/hosts must be modified at the same time, otherwise the following error will be reported:

org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader nimbus from seed hosts

[3] Storm starts in the background

In the case of starting storm directly with the ./storm nimbus command, storm will also be closed when the terminal is closed. You can start it as a background thread: storm nimbus >/dev/ null 2 ​​>& 1  &   

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326856947&siteId=291194637