After rechecking all the cfg files, I checked to see if nimbus1 could ping zkserver1 on port 2181. The first error I saw was on the Storm UI: “.TTransportException: : Connection refused”. The following settings in /opt/apigee/apigee-zookeeper/conf/zoo.cfg control this process: The number of snapshots to retain in dataDir: autopurge.snapRetainCount5 Purge task interval in hours. If not, check out the log files for more information… Where are the Zookeeper log files?Īfter a few days of running the Storm cluster it stopped working, and I needed to debuig what was going on. Apache ZooKeeper automatically performs periodic maintenance to remove old snapshot files which accumulate as updates to the system are made. QuorumPeerMain / etc / zookeeper / conf / zoo. jar : / usr / share / java / slf4j - log4j12. autopurge.purgeInterval1 autopurge. Set to a positive integer (1 and above) to enable the auto purging. jar : / usr / share / java / slf4j - api. The ZooKeeper Data Directory contains snapshot and transactional log files which are persistent copy of the znodes stored by an ensemble. This setting MUST be added on every ZooKeeper node: The time interval in hours for which the purge task has to be triggered. jar : / usr / share / java / xmlParserAPIs. jar : / usr / share / java / log4j - 1.2.jar : / usr / share / java / xercesImpl. logger = INFO, ROLLINGFILE - cp / etc / zookeeper / conf : / usr / share / java / jline. Use the following settings as a starting point: tickTime2000 dataDir/var/lib/zookeeper/ clientPort2181 initLimit5 syncLimit2 server.1zoo1:2888:3888 server.2zoo2:2888:3888 server. dir = / var / log / zookeeper - Dzookeeper. It can be downloaded from: Create a configuration file.
0 Comments
Leave a Reply. |