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 6F22E119F6 for ; Wed, 30 Apr 2014 17:24:48 +0000 (UTC) Received: (qmail 26337 invoked by uid 500); 30 Apr 2014 17:24:47 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 26307 invoked by uid 500); 30 Apr 2014 17:24:47 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 26299 invoked by uid 99); 30 Apr 2014 17:24:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2014 17:24:47 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Apr 2014 17:24:46 +0000 Received: (qmail 22952 invoked by uid 99); 30 Apr 2014 17:24:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2014 17:24:17 +0000 Date: Wed, 30 Apr 2014 17:24:17 +0000 (UTC) From: "Venkatesh Seetharam (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FALCON-389) Submit Hcat export workflow to oozie on source cluster rather than to oozie on destination cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985774#comment-13985774 ] Venkatesh Seetharam commented on FALCON-389: -------------------------------------------- [~shwethags], if you look at replication workflow template, the flow is quite straight forward. The Table Replication involves the following steps: * Export data and metadata from Source Hive to source HDFS Staging - This is a hive action in oozie, but this launches a MR job in the source cluster, which is where this issue crops up. Had it not been an MR job, things would have been simpler. * Replicate the staged data from source to target HDFS using distcp * Import data and metadata into Target Hive from Target HDFS Staging - This is again an MR job Makes sense? > Submit Hcat export workflow to oozie on source cluster rather than to oozie on destination cluster > -------------------------------------------------------------------------------------------------- > > Key: FALCON-389 > URL: https://issues.apache.org/jira/browse/FALCON-389 > Project: Falcon > Issue Type: Improvement > Affects Versions: 0.4 > Reporter: Arpit Gupta > > Noticed this on hadoop-2 with oozie 4.x that when you run an hcat replication job where source and destination cluster's are different all jobs are submitted to oozie on the destination cluster. Then oozie runs an table export job that it submits to RM on cluster 1. > Now if the oozie server on the target cluster is not running with all hadoop configs it will not know all the appropriate hadoop configs and yarn job will fail. We saw jobs fail with errors like > org.apache.hadoop.security.token.SecretManager$InvalidToken: Password not found for ApplicationAttempt appattempt_1395965672651_0010_000002 > on unsecure cluster as well. -- This message was sent by Atlassian JIRA (v6.2#6252)