Closed gas1121 closed 7 years ago
Does this recover once the crawler boots up? So the workflow is:
the workflow is:
Zookeeper config wiped
was loggedLost config from Zookeeper
was loggedafter that crawler seems to work as normal
Hmm, I would need to compare it to the crawler output from 2.7, if that is indeed the log messages the ZookeeperWatcher class may not be python 3 compatible, can we reproduce the error within example_zw.py? If so, this means the zookeeper watcher class wont behave properly and it needs to be addressed. Otherwise if that example script works as expected, the crawler should too.
Yes, this error can be reproduced within example_zw.py.
Ok, so that is going to be a blocker on #126 until we get that resolved, if the examples don't function the way they are supposed to we will lose functionality, and it is going to cripple the python3 version of the project.
This has been corrected, closing.
On python 2.7, when I run
python example_zw.py -z zookeeper:2181 -f "/" --event
, I got:On python 3.6, when I run
python example_zw.py -z zookeeper:2181 -f "/" --event
, I got:The config_handler will be called once when zookeeper watcher starts, so in crawler there will be
Zookeeper config wiped
andLost config from Zookeeper
in log