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 251059D1B for ; Tue, 24 Apr 2012 18:16:02 +0000 (UTC) Received: (qmail 93812 invoked by uid 500); 24 Apr 2012 18:16:02 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 93776 invoked by uid 500); 24 Apr 2012 18:16:02 -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 93768 invoked by uid 99); 24 Apr 2012 18:16:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 18:16:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 18:15:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A04CD40D5C8 for ; Tue, 24 Apr 2012 18:15:38 +0000 (UTC) Date: Tue, 24 Apr 2012 18:15:38 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <408410637.10691.1335291338658.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <179902022.8863.1334905243737.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5840) Open Region FAILED_OPEN doesn't clear the TaskMonitor Status, keeps showing the old status 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-5840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260774#comment-13260774 ] stack commented on HBASE-5840: ------------------------------ Patch looks good. Is it just moving all of this (too long) method into a try block and then adding a finally that sets status.abort on the end (FYI, needs spacing around the operators in the status.abort line so its same code style as rest of file). Do you have to convert the Exception to an IOE? WHy is that? What does this method let out? IOEs only? If so, why we catch Exception? In case its a non-checked exception? On the test, it looks good too but in the finally you might want to use the new HRegion.closeHRegion(region) to clean up the wal log that gets made by the constructor. > Open Region FAILED_OPEN doesn't clear the TaskMonitor Status, keeps showing the old status > ------------------------------------------------------------------------------------------ > > Key: HBASE-5840 > URL: https://issues.apache.org/jira/browse/HBASE-5840 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.94.0 > Reporter: Gopinathan A > Assignee: rajeshbabu > Fix For: 0.96.0, 0.94.1 > > Attachments: HBASE-5840.patch > > > TaskMonitor Status will not be cleared in case Regions FAILED_OPEN. This will keeps showing old status. > This will miss leads the user. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira