Member since
12-19-2017
1
Post
0
Kudos Received
0
Solutions
12-19-2017
02:45 PM
Hi, As we suggested i implemented hive2 action with password file but iam getting below exception. ERROR: Error: E0701 : E0701: XML schema error, cvc-complex-type.2.4.a: Invalid content was found starting with element 'argument'. One of '{"uri:oozie:hive2-action:0.1":file, "uri:oozie:hive2-action:0.1":archive}' is expected. My worflow : <workflow-app name="wf_Cred_Test" xmlns="uri:oozie:workflow:0.4"> <start to="HivePartitionAction" /> <action name="HivePartitionAction"> <hive2 xmlns="uri:oozie:hive2-action:0.1"> <job-tracker>${jobTracker}</job-tracker> <jdbc-url>${jdbcURL}</jdbc-url> <script>script/addPartition.sql</script> <param>runtimeEnvironment=${runtimeEnvironment}</param> <file>script/addPartition.sql</file> <argument>-wpassfile</argument> <file>/tmp/dev/app/workflow/wf_Cred_Test/script/passfile#passfile</file> </hive2> <ok to="end" /> <error to="kill" /> </action> <kill name="kill"> <message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message> </kill> <end name="end" /> </workflow-app>
... View more