Details
Description
Oozie file tag is unable to handle white spaces and other special characters.
Error -
Caused by: java.lang.NullPointerException
at org.apache.oozie.action.hadoop.JavaActionExecutor.addToCache(JavaActionExecutor.java:529)
at org.apache.oozie.action.hadoop.JavaActionExecutor.setLibFilesArchives(JavaActionExecutor.java:678)
at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:884)
Sample XML File –
<?xml version="1.0" ?>
<workflow-app xmlns="uri:oozie:workflow:0.4" xmlns:ns5="uri:oozie:shell-action:0.2"
xmlns:ns4="uri:oozie:workflow:0.4" xmlns:ns3="uri:oozie:sqoop-action:0.2"
xmlns:ns2="uri:oozie:hive-action:0.3" name="test-shell-space">
<start to="shell1"></start>
<action name="shell1">
<shell xmlns="uri:oozie:shell-action:0.2">
<job-tracker>${wf_hadoop_resourceManager}</job-tracker>
<name-node>${wf_hadoop_nameNode}</name-node>
<exec>shell 1.sh</exec>
<file>/user/map-dev/test-case-dir/shell/script/shell 1.sh</file>
</shell>
<ok to="end"></ok>
<error to="kill"></error>
</action>
<kill name="kill">
<message>shell-decision job failed</message>
</kill>
<end name="end"></end>
</workflow-app>