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 1815A993D for ; Thu, 2 Feb 2012 17:47:18 +0000 (UTC) Received: (qmail 37758 invoked by uid 500); 2 Feb 2012 17:47:17 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 37622 invoked by uid 500); 2 Feb 2012 17:47:17 -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 37538 invoked by uid 99); 2 Feb 2012 17:47:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 17:47:17 +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; Thu, 02 Feb 2012 17:47:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B57401886A1 for ; Thu, 2 Feb 2012 17:46:53 +0000 (UTC) Date: Thu, 2 Feb 2012 17:46:53 +0000 (UTC) From: "ramkrishna.s.vasudevan (Created) (JIRA)" To: issues@hbase.apache.org Message-ID: <2078068800.3686.1328204813744.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-5323) Need to handle assertion error if split log through ServerShutDownHandler by shutting down the master MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Need to handle assertion error if split log through ServerShutDownHandler by shutting down the master ----------------------------------------------------------------------------------------------------- Key: HBASE-5323 URL: https://issues.apache.org/jira/browse/HBASE-5323 Project: HBase Issue Type: Bug Affects Versions: 0.90.5 Reporter: ramkrishna.s.vasudevan Fix For: 0.94.0, 0.90.7 We know that while parsing the HLog we expect the proper length from HDFS. In WALReaderFSDataInputStream {code} assert(realLength >= this.length); {code} We are trying to come out if the above condition is not satisfied. But if SSH.splitLog() gets this problem then it lands in the run method of EventHandler. This kills the SSH thread and so further assignment does not happen. If ROOT and META are to be assigned they cannot be. I think in this condition we abort the master by catching such exceptions. Please do suggest. -- 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