REST API setConfig fails to update clientPorts connectPort and others
Closed this issue · 1 comments
I am trying to call this REST API from Fiddler. I set POST and request body. The call returns success 200.
Exhibitor : http://solr1:8080/exhibitor/v1/ui/index.html
Exhibitor version 1.5.1
But I look at the Config tab, i notice it does not update anything below ports.
Any help would be greatly appreciated. Thank you
REST Call: http://solr1.erpint:8080/exhibitor/v1/config/set
Request Body:
{"rollInProgress":false,"rollStatus":"n/a","rollPercentDone":0,"hostname":"erpintslr1","serverId":1,"logIndexDirectory":"","zookeeperInstallDirectory":"/opt/zookeeper","zookeeperDataDirectory":"/var/lib/zookeeper/data","zookeeperLogDirectory":"/var/lib/zookeeper/logs","serversSpec":"S:1:erpintslr1,S:2:erpintslr2,S:3:erpintslr3","backupExtra":"","zooCfgExtra":{"syncLimit":"5","tickTime":"2000","initLimit":"10","autopurge.snapRetainCount":"3","autopurge.purgeInterval":"1"},"javaEnvironment":"","log4jProperties":"","clientPort":2181,"connectPort":2888,"electionPort":3888,"checkMs":30000,"cleanupPeriodMs":43200000,"cleanupMaxFiles":3,"autoManageInstances":0,"autoManageInstancesSettlingPeriodMs":180000,"observerThreshold":999,"autoManageInstancesFixedEnsembleSize":3,"autoManageInstancesApplyAllAtOnce":1,"controlPanel":{}}
Exhibitor logs
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22960 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22958 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22955 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22953 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22949 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22948 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22944 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22942 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22938 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22937 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22933 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22932 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22926 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22914 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22913 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22909 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22907 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22904 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22902 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22897 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22897 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22891 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22891 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22880 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22880 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22875 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22874 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22869 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22869 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22864 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22863 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22859 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22858 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22853 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22853 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22847 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22847 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22842 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22841 of 40000 ms before restarting
Tue May 05 19:10:10 EDT 2015 INFO ZooKeeper down/not-serving waiting 22837 of 40000 ms before restarting
It turns out the numeric values are passed as strings. So pass the port values as "NNNN" instead of NNNN.