Below is the correct element order, otherwise, will appear invalid xml error.
<action name="Parser_Pig">
<pig>
<job-tracker>${jobTracker}</job-tracker>
<name-node>${nameNode}</name-node>
<prepare>
<delete path='${OutputPath}/android'/>
</prepare>
<configuration>
<property>
<name>mapred.job.queue.name</name>
<value>${queueName}</value>
</property>
</configuration>
<script>${PigScriptPath}</script>
<param>DATE=${DATE}</param>
<file>hive-site.xml</file>
</pig>
<ok to="joining"/>
<error to="Kill"/>
</action>
No comments:
Post a Comment