[ 
https://issues.apache.org/jira/browse/OOZIE-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228145#comment-13228145
 ] 

Ruihong Shi commented on OOZIE-756:
-----------------------------------

Hi ,

It dose not work by adding tag <file>pig_b.pig#pig_b.pig</file>. I got 
following error:
Error: Invalid workflow-app, org.xml.sax.SAXParseException: 
cvc-complex-type.2.4.a: Invalid content was found starting with element 'file'. 
One of '{"uri:oozie:workflow:0.1":archive}' is expected.

Should I upgrade oozie ?
                
> pig action dose not support pig script calling another pig script
> -----------------------------------------------------------------
>
>                 Key: OOZIE-756
>                 URL: https://issues.apache.org/jira/browse/OOZIE-756
>             Project: Oozie
>          Issue Type: Improvement
>          Components: action
>         Environment: 2.3.0-cdh3u1
>            Reporter: Ruihong Shi
>
> pig action dose not support pig script calling another pig script.
> If pig_a.pig contains 
> run pig_b.pig 
> then oozie return error code 
>    <action name="current_action">
>          <pig>
>             <job-tracker>hadoop-jobtracker</job-tracker>
>             <name-node>hdfs://hadoop-namenode</name-node>
>         <configuration>
>                 <property>
>                 <name>mapred.job.queue.name</name>
>                 <value>default</value>
>                 </property>
>                 <property>
>                 <name>mapred.compress.map.output</name>
>                 <value>true</value>
>         </property>
>         </configuration>
>             <script>pig_a.pig</script>
>         </pig>         
>         <ok to="next_action"/>
>         <error to="fail"/>   
>   </action>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to