keith-turner commented on a change in pull request #281: Execute the start
Accumulo 2.0 tservers task with nohup
URL: https://github.com/apache/fluo-muchos/pull/281#discussion_r324689867
##########
File path: ansible/accumulo.yml
##########
@@ -37,14 +37,14 @@
- hosts: workers
tasks:
- name: "start accumulo 2.0 tablet servers"
- command: "{{ accumulo_home }}/bin/accumulo-service tserver start"
+ command: "nohup {{ accumulo_home }}/bin/accumulo-service tserver start"
register: start_result
changed_when: "'Starting' in start_result.stdout"
when: accumulo_major_version == '2'
- hosts: accumulomaster
tasks:
- name: "start accumulo 2.0 master, monitor, gc & tracer"
- command: "{{ accumulo_home }}/bin/accumulo-service {{ item }} start"
+ command: "nohup {{ accumulo_home }}/bin/accumulo-service {{ item }}
start"
register: start_result
changed_when: "'Starting' in start_result.stdout"
Review comment:
I wonder if ansible thinks the command is done when it sees this in the
output and that is why the signal is sent before the command is done.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services