brianloss commented on a change in pull request #426:
URL: https://github.com/apache/fluo-muchos/pull/426#discussion_r781538639



##########
File path: ansible/roles/accumulo/templates/accumulo-cluster-systemd
##########
@@ -287,26 +292,35 @@ function stop_all() {
   done
   wait
 
+{% if accumulo_version is version('2.1.0','<') %}
   for tracer in $(grep -E -v '(^#|^\s*$)' "${conf}/tracers"); do
     stop_service "$tracer" tracer &
   done
   wait
+{% endif %}
 
   # stop tserver still running
   stop_tservers
 
   echo "Cleaning all server entries in ZooKeeper"
+{% if accumulo_version is version('2.1.0','<') %}
   ${accumulo_cmd} org.apache.accumulo.server.util.ZooZap -master -tservers 
-tracers
+{% else %}
+  ${accumulo_cmd} org.apache.accumulo.server.util.ZooZap -manager -tservers
+{% endif %}

Review comment:
       Oops, yeah I glossed over the master/manager change too. Makes more 
sense the way you have it now.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to