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 8226E200B42 for ; Sun, 26 Jun 2016 07:46:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 80B4F160A6D; Sun, 26 Jun 2016 05:46:53 +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 C61DA160A66 for ; Sun, 26 Jun 2016 07:46:52 +0200 (CEST) Received: (qmail 89236 invoked by uid 500); 26 Jun 2016 05:46:51 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 89126 invoked by uid 99); 26 Jun 2016 05:46:51 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2016 05:46:51 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4C05A2C1F60 for ; Sun, 26 Jun 2016 05:46:51 +0000 (UTC) Date: Sun, 26 Jun 2016 05:46:51 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16115) Missing security context in RegionObserver coprocessor when a compaction is triggered through the UI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 26 Jun 2016 05:46:53 -0000 [ https://issues.apache.org/jira/browse/HBASE-16115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349953#comment-15349953 ] Lars Hofhansl commented on HBASE-16115: --------------------------------------- Note, in this we managed to trigger the compaction, but the coprocessor hook triggered by the compaction has no credentials to access other HBase table (when triggered through the UI) > Missing security context in RegionObserver coprocessor when a compaction is triggered through the UI > ---------------------------------------------------------------------------------------------------- > > Key: HBASE-16115 > URL: https://issues.apache.org/jira/browse/HBASE-16115 > Project: HBase > Issue Type: Bug > Affects Versions: 0.98.20 > Reporter: Lars Hofhansl > > We ran into an interesting phenomenon which can easily render a cluster unusable. > We loaded some tests data into a test table and forced a manual compaction through the UI. We have some compaction hooks implemented in a region observer, which writes back to another HBase table when the compaction finishes. We noticed that this coprocessor is not setup correctly, it seems the security context is missing. > The interesting part is that this _only_ happens when the compaction is triggere through the UI. Automatic compactions (major or minor) or when triggered via the HBase shell (folling a kinit) work fine. Only the UI-triggered compactions cause this issues and lead to essentially neverending compactions, immovable regions, etc. > Not sure what exactly the issue is, but I wanted to make sure I capture this. > [~apurtell], [~ghelmling], FYI. -- This message was sent by Atlassian JIRA (v6.3.4#6332)