Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-28-2016 03:31 PM
Hi all, I'm trying to understand how to properly use cloudbreak's CLI. My goal is to non-interactively start a hadoop cluster through a cron job. The documentation mentions cbd util cloudbreak-shell-quiet for non interactive shell access, but everytime I run it, it just dumps me into a interactive shell.
I want to do something like this:
cbd util cloudbreak-shell-quiet 'stack start --id 64'
What's the right way to do this?
Kenneth GRaves
Created 09-28-2016 03:40 PM
You can do such things like this: cbd util cloudbreak-shell-quiet <<< "credential delete --id 12". You can send multiple lines as well as the cluster creation consists of multiple commands:
cbd util cloudbreak-shell-quiet <<EOF
stack list
stack list
more commands...
EOF
Created 09-28-2016 03:40 PM
You can do such things like this: cbd util cloudbreak-shell-quiet <<< "credential delete --id 12". You can send multiple lines as well as the cluster creation consists of multiple commands:
cbd util cloudbreak-shell-quiet <<EOF
stack list
stack list
more commands...
EOF
Created 09-28-2016 04:01 PM
@khorvath Thanks! Works! Much appreciated for the guidance.
Kenneth Graves