Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0396F10331 for ; Tue, 10 Sep 2013 20:31:56 +0000 (UTC) Received: (qmail 49969 invoked by uid 500); 10 Sep 2013 20:31:55 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 49841 invoked by uid 500); 10 Sep 2013 20:31:55 -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 49715 invoked by uid 99); 10 Sep 2013 20:31:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2013 20:31:54 +0000 Date: Tue, 10 Sep 2013 20:31:54 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9466) Read-only mode 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/HBASE-9466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763471#comment-13763471 ] Jean-Daniel Cryans commented on HBASE-9466: ------------------------------------------- It is set here: https://github.com/apache/hbase/blob/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java#L621 Then we check the write state when doing operations that can mutate data. > Read-only mode > -------------- > > Key: HBASE-9466 > URL: https://issues.apache.org/jira/browse/HBASE-9466 > Project: HBase > Issue Type: New Feature > Reporter: Feng Honghua > Priority: Minor > > Can we provide a read-only mode for a table? write to the table in read-only mode will be rejected, but read-only mode is different from disable in that: > 1. it doesn't offline the regions of the table(hence much more lightweight than disable) > 2. it can serve read requests > Comments? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira