Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Adding a name node Element to the FS action will allow users to shorten FS actions and avoid specifying the name node (hdfs://HOST:PORT) multiple times. We can also add job-xml and configuration elements to allow users to set properties when the FS instance is created.
e.g.
<action name="fs-node"> <fs> <name-node>hdfs://host:port</name-node> <job-xml>fs-info.xml</job-xml> <configuration> <property> <name>some.property</name> <value>some.value</value> </property> </configuration> <mkdir path="/user/${wf:user()}/output-data/1"/> <mkdir path="/user/${wf:user()}/output-data/2"/> </fs> <ok to="end"/> <error to="fail"/> </action>
This can then also leverage the global section from OOZIE-874 automatically.