Запустите скрипт оболочки из локального каталога вместо HDFS через Oozie - PullRequest
0 голосов
/ 25 апреля 2019

Я хочу запустить скрипт оболочки с локального пути (Edge node) вместо каталога hdfs через oozie. Мой скрипт локальной оболочки содержит шаги ssh, которые я не могу запустить из каталога hdfs.

XYZ is the userid and xxxx is the server(Edge node). I used below action in the workflow but this is not working. Please help


  <action name="abc">
          <ssh xmlns="uri:oozie:ssh-action:0.1">
            <host>xyz@xxxx</host>
            <command>/local path/create_success_file.sh</command>
            <capture-output/>
        </ssh>
        <ok to="success-mail"/>
        <error to="fail-Email"/>
    </action>
...