> On Nov 20, 2019, at 12:17 AM, Enrico Olivelli <[email protected]> wrote: > > Hello Ronald, > > Il mer 20 nov 2019, 02:18 Ronald Fenner <[email protected] > <mailto:[email protected]>> ha scritto: > >> I'm trying to migrate from 3.4.13 to 3.5.6 with exhibitor. >> >> The following config generate by exhibitor work in 3.4.13 but I get an >> invalid config in 3.5.6 >> >> #Auto-generated by Exhibitor - Wed Nov 20 01:11:36 UTC 2019 >> #Wed Nov 20 01:11:36 UTC 2019 >> server.29=ip-172-30-10-149\:2888\:3888 >> > These '\' look a bit strange to me > I tried removing them but it didn't help and the 3.4 branch runs with them in the config.
> server.30=ip-172-30-11-254\:2888\:3888 >> server.28=ip-172-30-12-46\:2888\:3888 >> initLimit=10 >> syncLimit=5 >> clientPort=2181 >> tickTime=2000 >> dataDir=/opt/zookeeper/snapshots >> dataLogDir=/opt/zookeeper/logs >> >> The log reads as >> >> log4j:WARN No appenders could be found for logger >> (org.apache.zookeeper.server.quorum.QuorumPeerConfig). >> log4j:WARN Please initialize the log4j system properly. >> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for >> more info. >> > > How did you update the server? > It looks like you are missing the log4j configuration, did you change the > startup scripts? > > Enrico > After some more troubleshooting and looking at the docs on server I found that exhibitor had yet to assign an id to the server so the myid file was missing. Adding the file and adding an entry in the server list for the current server with eh id I assigned, zookeeper was able to start. A future enchantment would be better error messaging for invalid configuration as something specifying why it's invalid would have helped narrow the issue sooner. > > >> I've been trying to get more info from zookeeper on why it doesn't like >> the file but haven't been able to get anything else. >> >> Ronald Fenner >> Network Architect >> Game Circus LLC. >> >> [email protected] <mailto:[email protected]> Ronald Fenner Network Architect Game Circus LLC. [email protected]
