falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Ramesh (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FALCON-1787) Ooozie pig-action.xml requires hive sharelib for HCatalog use
Date Thu, 28 Jan 2016 01:40:39 GMT

     [ https://issues.apache.org/jira/browse/FALCON-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sowmya Ramesh reassigned FALCON-1787:
-------------------------------------

    Assignee: Sowmya Ramesh

> 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-2.3.2.0-2950
> Pig		0.15.0.2.3
> Hive	        1.2.1.2.3
> Oozie	4.2.0.2.3
> Falcon	0.6.1.2.3
>            Reporter: Mark Greene
>            Assignee: Sowmya Ramesh
>         Attachments: EDL-COMMON-CERTIFIED-PRF-OF-DLVR.xml, EDL-COMMON-LOAD-DLVR-RCPT.xml,
EDL-COMMON-PRF-OF-DLVR-LOAD.xml, 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
decleration.
> 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
(v6.3.4#6332)

Mime
View raw message