Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible does not detect failing start of Thrift server #13

Open
muelli opened this issue May 20, 2015 · 0 comments
Open

ansible does not detect failing start of Thrift server #13

muelli opened this issue May 20, 2015 · 0 comments

Comments

@muelli
Copy link
Contributor

muelli commented May 20, 2015

TASK: [hbase | start HBase] *************************************************** 
<192.168.15.166> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.15.166> REMOTE_MODULE command ./bin/start-hbase.sh chdir=/home/vagrant/hbase-1.0.1
<192.168.15.166> EXEC ssh -C -tt -v -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/muelli/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o IdentityFile="/home/muelli/.vagrant.d/insecure_private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 192.168.15.166 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1432107034.57-178369333490960 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1432107034.57-178369333490960 && echo $HOME/.ansible/tmp/ansible-tmp-1432107034.57-178369333490960'
<192.168.15.166> PUT /tmp/tmpwq_3tQ TO /home/vagrant/.ansible/tmp/ansible-tmp-1432107034.57-178369333490960/command
<192.168.15.166> EXEC ssh -C -tt -v -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/muelli/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o IdentityFile="/home/muelli/.vagrant.d/insecure_private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 192.168.15.166 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1432107034.57-178369333490960/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1432107034.57-178369333490960/ >/dev/null 2>&1'
ok: [192.168.15.166] => {"changed": false, "cmd": ["./bin/start-hbase.sh"], "delta": "0:00:05.551495", "end": "2015-05-20 07:30:40.229324", "rc": 0, "start": "2015-05-20 07:30:34.677829", "stderr": "", "stdout": "localhost: zookeeper running as process 5079. Stop it first.\nstarting master, logging to /home/vagrant/hbase-1.0.1/bin/../logs/hbase-vagrant-master-vagrant-hbase.out\nstarting regionserver, logging to /home/vagrant/hbase-1.0.1/bin/../logs/hbase-vagrant-1-regionserver-vagrant-hbase.out", "stdout_lines": ["localhost: zookeeper running as process 5079. Stop it first.", "starting master, logging to /home/vagrant/hbase-1.0.1/bin/../logs/hbase-vagrant-master-vagrant-hbase.out", "starting regionserver, logging to /home/vagrant/hbase-1.0.1/bin/../logs/hbase-vagrant-1-regionserver-vagrant-hbase.out"], "warnings": []}

TASK: [hbase | start Thrift server] ******************************************* 
<192.168.15.166> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.15.166> REMOTE_MODULE command ./bin/hbase-daemon.sh start thrift chdir=/home/vagrant/hbase-1.0.1
<192.168.15.166> EXEC ssh -C -tt -v -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/muelli/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o IdentityFile="/home/muelli/.vagrant.d/insecure_private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 192.168.15.166 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1432107040.36-254390000336474 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1432107040.36-254390000336474 && echo $HOME/.ansible/tmp/ansible-tmp-1432107040.36-254390000336474'
<192.168.15.166> PUT /tmp/tmpKgq9Mu TO /home/vagrant/.ansible/tmp/ansible-tmp-1432107040.36-254390000336474/command
<192.168.15.166> EXEC ssh -C -tt -v -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/muelli/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o IdentityFile="/home/muelli/.vagrant.d/insecure_private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 192.168.15.166 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1432107040.36-254390000336474/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1432107040.36-254390000336474/ >/dev/null 2>&1'
ok: [192.168.15.166] => {"changed": false, "cmd": ["./bin/hbase-daemon.sh", "start", "thrift"], "delta": "0:00:01.341515", "end": "2015-05-20 07:30:42.348906", "rc": 0, "start": "2015-05-20 07:30:41.007391", "stderr": "", "stdout": "starting thrift, logging to /home/vagrant/hbase-1.0.1/bin/../logs/hbase-vagrant-thrift-vagrant-hbase.out\nJava HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000fae00000, 21757952, 0) failed; error='Cannot allocate memory' (errno=12)\n#\n# There is insufficient memory for the Java Runtime Environment to continue.\n# Native memory allocation (malloc) failed to allocate 21757952 bytes for committing reserved memory.\n# An error report file with more information is saved as:\n# /home/vagrant/hbase-1.0.1/hs_err_pid8557.log", "stdout_lines": ["starting thrift, logging to /home/vagrant/hbase-1.0.1/bin/../logs/hbase-vagrant-thrift-vagrant-hbase.out", "Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000fae00000, 21757952, 0) failed; error='Cannot allocate memory' (errno=12)", "#", "# There is insufficient memory for the Java Runtime Environment to continue.", "# Native memory allocation (malloc) failed to allocate 21757952 bytes for committing reserved memory.", "# An error report file with more information is saved as:", "# /home/vagrant/hbase-1.0.1/hs_err_pid8557.log"], "warnings": []}

TASK: [Print Distribution] **************************************************** 
<192.168.15.166> ESTABLISH CONNECTION FOR USER: vagrant
ok: [192.168.15.166] => {
    "var": {
        "ansible_distribution_release": "trusty"
    }
}

PLAY RECAP ******************************************************************** 
192.168.15.166             : ok=51   changed=1    unreachable=0    failed=0   


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant