falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1787) Ooozie pig-action.xml requires hive sharelib for HCatalog use
Date Wed, 03 Feb 2016 19:05:40 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130907#comment-15130907

Ajay Yadava commented on FALCON-1787:

+1, will commit it immediately.

> Ooozie pig-action.xml requires hive sharelib for HCatalog use
> -------------------------------------------------------------
>                 Key: FALCON-1787
>                 URL: https://issues.apache.org/jira/browse/FALCON-1787
>             Project: Falcon
>          Issue Type: Bug
>          Components: oozie
>    Affects Versions: 0.6.1
>         Environment: HDP-
> Pig
> Hive
> Oozie
> Falcon
>            Reporter: Mark Greene
>            Assignee: Sowmya Ramesh
>             Fix For: trunk
EDL-COMMON-PRF-OF-DLVR-LOAD.xml, FALCON-1787.V0.patch, Stack Trace.txt, Workflow Job Configuration.txt,
Workflow Pig Action Configuration.txt, prf_of_dlvr_lz_to_cz.pig
> I have a Pig script that I am using as the workflow for my Falcon process. The pig script
uses HCatalogStorer to write to a HCatalog URI that is the output feed defined in my Falcon
Process Entity. The Pig action in the resulting Ooozie Workflow generated by Falcon fails
with the attached stack trace. The root is that it is missing a class definitions of org/apache/hadoop/hive/shims/ShimLoader.
> Running the script manually using pig -x tex -useHCatalog <all the -params passed
by Oozie> <path to pig script> results in a successful execution. It's only once
this is called as a Pig activity in the Falcon-generated Oozie workflow that the missing class
definitions manifests.
> After some investigation I found that the Oozie workflow.xml is missing a required sharelib
> From the workflow.xml generated by Falcon:
>                 <property>
>                     <name>oozie.action.sharelib.for.pig</name>
>                     <value>pig,hcatalog</value>
>                 </property>
> If I modify the value to include hive sharelib then the Pig action succeeds and does
not throw a missing class definition error.
> Modified workflow.xml property (works):
>     <property>
>       <name>oozie.action.sharelib.for.pig</name>
>       <value>hive,pig,hcatalog</value>
>     </property>

This message was sent by Atlassian JIRA

View raw message