Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A218200BCE for ; Thu, 17 Nov 2016 10:45:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 08E36160AFF; Thu, 17 Nov 2016 09:45:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 804DE160B0B for ; Thu, 17 Nov 2016 10:45:00 +0100 (CET) Received: (qmail 43841 invoked by uid 500); 17 Nov 2016 09:44:59 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 43791 invoked by uid 99); 17 Nov 2016 09:44:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2016 09:44:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6AC9B2C0D55 for ; Thu, 17 Nov 2016 09:44:59 +0000 (UTC) Date: Thu, 17 Nov 2016 09:44:59 +0000 (UTC) From: "Hudson (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3482) Provide a work around for HBASE-17096 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 17 Nov 2016 09:45:01 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15673264#comment-15673264 ] Hudson commented on PHOENIX-3482: --------------------------------- FAILURE: Integrated in Jenkins build Phoenix-master #1495 (See [https://builds.apache.org/job/Phoenix-master/1495/]) PHOENIX-3482 Addendum to fix the test failure (Samarth: rev f1ecd4f7d809c037c8b716672faf5f3b6f3d452f) * (edit) phoenix-core/src/it/java/org/apache/phoenix/end2end/UpgradeIT.java > Provide a work around for HBASE-17096 > ------------------------------------- > > Key: PHOENIX-3482 > URL: https://issues.apache.org/jira/browse/PHOENIX-3482 > Project: Phoenix > Issue Type: Bug > Reporter: Samarth Jain > Assignee: Samarth Jain > Fix For: 4.9.0, 4.8.2 > > Attachments: PHOENIX-3482.patch, PHOENIX-3482_v2.patch > > > HBASE-17096 causes failures in UpgradeIT#testAcquiringAndReleasingUpgradeMutex. Essentially releasing of the upgrade mutex by using the checkAndMutate api isn't working correctly. A simple though not ideal work around would be to not call releaseMutex() and let the lock expire by the virtue of TTL set on the cell. The side effect is that if a client encounters and exception while executing the upgrade code, then a new client won't be able to initiate the upgrade till the TTL expires. -- This message was sent by Atlassian JIRA (v6.3.4#6332)