Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83C3917E02 for ; Wed, 13 May 2015 02:11:00 +0000 (UTC) Received: (qmail 51405 invoked by uid 500); 13 May 2015 02:11:00 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 51370 invoked by uid 500); 13 May 2015 02:11:00 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 51357 invoked by uid 99); 13 May 2015 02:11:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2015 02:11:00 +0000 Date: Wed, 13 May 2015 02:11:00 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-11090) Oozie start is not idempotent 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/AMBARI-11090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14541194#comment-14541194 ] Hudson commented on AMBARI-11090: --------------------------------- FAILURE: Integrated in Ambari-trunk-Commit #2576 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2576/]) AMBARI-11090. Oozie start is not idempotent (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=875bcfe4a4ebd78d4415d8d7ff6c2e6722a0fafb) * ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py * ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py > Oozie start is not idempotent > ----------------------------- > > Key: AMBARI-11090 > URL: https://issues.apache.org/jira/browse/AMBARI-11090 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 2.0.0 > Reporter: Sumit Mohanty > Assignee: Sumit Mohanty > Fix For: 2.1.0 > > Attachments: AMBARI-11090.patch, AMBARI-11090.with.ut.fixes.patch > > > Oozie pid file delete is conditioned on a *not_if* that is incorrect. Therefore, even if Oozie server is running the pid file will get deleted and am attempt will be made to create another instance of the oozie server. The second instance will fail but by then the pid file would have the wrong value. > This condition interferes with auto-recovery logic as Ambari thinks that Oozie is not running but all attempts to start fails. -- This message was sent by Atlassian JIRA (v6.3.4#6332)