Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Who agreed with this solution

avatar
Mentor
Lets say you want to execute "script.sh"

1. If you have script.sh inside your WF/lib/ path on HDFS, you just need <exec>script.sh</exec>

2. If you have script.sh on an arbitrary path on HDFS, you need:

<exec>script.sh</exec>
<file>/path/to/script.sh#script.sh</file>

3. Use of the below form with (1) is redundant, but the subsequent form is when you want to invoke it as a different name:

<exec>script.sh</exec>
<file>script.sh#script.sh</file>

<exec>linked-script-name.sh</exec>
<file>original-script-name.sh#linked-script-name.sh</file>

View solution in original post

Who agreed with this solution