Home > other >  Zookeeper starts to normal, but cannot find the process, they are. The out log as follows?
Zookeeper starts to normal, but cannot find the process, they are. The out log as follows?

Time:09-27

The 2016-04-06 06:37:47, 707 [myid:] - INFO [main: QuorumPeerConfig @ 109] - Reading configuration from:/usr/local/zookeeper/bin/../conf/zoo. CFG
The 2016-04-06 06:37:47, 920 [myid:] - ERROR [main: QuorumPeerMain @ 86] - Invalid config, exiting abnormally
. Org. Apache. Zookeeper server. Quorum. QuorumPeerConfig $ConfigException: Error processing/usr/local/zookeeper/bin/../conf/zoo. CFG
The at org. Apache. Zookeeper. Server. Quorum. QuorumPeerConfig. Parse (QuorumPeerConfig. Java: 130)
The at org. Apache. Zookeeper. Server. Quorum. QuorumPeerMain. InitializeAndRun (QuorumPeerMain. Java: 110)
The at org. Apache. Zookeeper. Server. Quorum. QuorumPeerMain. Main (QuorumPeerMain. Java: 79)
Under Caused by: Java. Lang. IllegalArgumentException: initLimit is not set
The at org. Apache. Zookeeper. Server. Quorum. QuorumPeerConfig. CheckValidity (QuorumPeerConfig. Java: 471)
The at org. Apache. Zookeeper. Server. Quorum. QuorumPeerConfig. ParseProperties (QuorumPeerConfig. Java: 293)
The at org. Apache. Zookeeper. Server. Quorum. QuorumPeerConfig. Parse (QuorumPeerConfig. Java: 126)
. 2 more
Invalid config, exiting abnormally
~

CodePudding user response:

1. Look at the configuration file is configured initLimit

2. If you have configured the initLimit, check whether the spelling of l is capitalized (middle)
  • Related