Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B831183E1 for ; Thu, 28 Jan 2016 19:56:42 +0000 (UTC) Received: (qmail 60619 invoked by uid 500); 28 Jan 2016 19:56:42 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 60586 invoked by uid 500); 28 Jan 2016 19:56:42 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 60569 invoked by uid 99); 28 Jan 2016 19:56:42 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 19:56:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D14541A09E6 for ; Thu, 28 Jan 2016 19:56:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.226 X-Spam-Level: * X-Spam-Status: No, score=1.226 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 6tH00K6RjSK6 for ; Thu, 28 Jan 2016 19:56:41 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id F081C206F3 for ; Thu, 28 Jan 2016 19:56:40 +0000 (UTC) Received: (qmail 58709 invoked by uid 99); 28 Jan 2016 19:56:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 19:56:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E7B622C1F6B for ; Thu, 28 Jan 2016 19:56:39 +0000 (UTC) Date: Thu, 28 Jan 2016 19:56:39 +0000 (UTC) From: "Sowmya Ramesh (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1787) Ooozie pig-action.xml requires hive sharelib for HCatalog use MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FALCON-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sowmya Ramesh updated FALCON-1787: ---------------------------------- Attachment: FALCON-1787.V0.patch > 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 > Fix For: trunk > > Attachments: EDL-COMMON-CERTIFIED-PRF-OF-DLVR.xml, EDL-COMMON-LOAD-DLVR-RCPT.xml, 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 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: > > oozie.action.sharelib.for.pig > pig,hcatalog > > 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): > > oozie.action.sharelib.for.pig > hive,pig,hcatalog > -- This message was sent by Atlassian JIRA (v6.3.4#6332)