daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Dec 12th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ...
  2.  
  3. # Hortonworks Sandbox related
  4. export HDP_SANDBOX_VMNAME="Hortonworks Sandbox with HDP 2.4"
  5. export HDP_SANDBOX_SSHPORT=2222
  6. export HDP_SANDBOX_USERNAME=flipkart
  7. function hdp-play-vm() {
  8.     VBoxManage startvm --type headless "$HDP_SANDBOX_VMNAME"
  9. }
  10. function hdp-pause-vm() {
  11.     VBoxManage controlvm "$HDP_SANDBOX_VMNAME" savestate
  12. }
  13. function hdp-ssh() {
  14.     ssh -p $HDP_SANDBOX_SSHPORT $HDP_SANDBOX_USERNAME@localhost
  15. }
  16. function hdp-scp() {
  17.     scp -P $HDP_SANDBOX_SSHPORT "$1" $HDP_SANDBOX_USERNAME@localhost:"$2"
  18. }
  19.  
  20. ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top