Oozie SSH Action

前端 未结 4 1070
情深已故
情深已故 2021-02-09 01:08

Oozie SSH Action Issue:

Issue: We are trying to run few commands on a particular host machine of our cluster. We chose SSH Action for the same. We have been fa

4条回答
  •  半阙折子戏
    2021-02-09 01:57

    After following all the above suggestion

    oozie:x:488:487:Oozie User:/var/lib/oozie:/bin/false 
    

    and change it to

    oozie:x:488:487:Oozie User:/var/lib/oozie:/bin/bash
    

    Just try these steps:

    1. Create a password-less communication use below process:

      sudo su - oozie
      oozie@localhost: ssh-keygen -t dsa
      

      copy the public key generated to your local remote server like apps@XXXXXXX

    2. try ssh apps@XXXXXXX, you will login to remote without error

    3. go to HUE and select SSH action and give your BASH command like bash -x yourscript parameter
    4. save
    5. submit

提交回复
热议问题