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 3DD20181AF for ; Tue, 16 Jun 2015 23:40:02 +0000 (UTC) Received: (qmail 98579 invoked by uid 500); 16 Jun 2015 23:40:02 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 98537 invoked by uid 500); 16 Jun 2015 23:40: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 98524 invoked by uid 99); 16 Jun 2015 23:40:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2015 23:40:02 +0000 Date: Tue, 16 Jun 2015 23:40:01 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13454) SecureClient#setupIOStreams should handle all Exceptions 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-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589019#comment-14589019 ] Hudson commented on HBASE-13454: -------------------------------- SUCCESS: Integrated in HBase-0.94-security #584 (See [https://builds.apache.org/job/HBase-0.94-security/584/]) HBASE-13454 SecureClient#setupIOStreams should handle all Exceptions. (cuijianwei) (larsh: rev b2fb5b7849966d0c481f416cc847eaada80bafda) * security/src/main/java/org/apache/hadoop/hbase/ipc/SecureClient.java > SecureClient#setupIOStreams should handle all Exceptions > -------------------------------------------------------- > > Key: HBASE-13454 > URL: https://issues.apache.org/jira/browse/HBASE-13454 > Project: HBase > Issue Type: Bug > Components: Client, security > Affects Versions: 0.94.27 > Reporter: cuijianwei > Assignee: cuijianwei > Fix For: 0.94.28 > > Attachments: HBASE-13454-0.94.patch > > > Similar to [HBASE-9256 | https://issues.apache.org/jira/browse/HBASE-9256], SecureClient#setupIOStreams should also catch up all Exception. In our production environment, an OutOfMemoryError is thrown in SecureClient#setupIOStreams, leaving an unclosed SecureConnection with its inputStream/outputStream still null. Therefore, following calls will be attached to this connection and will encounter NPE in HBaseClient#sendParam: > {code} > java.lang.NullPointerException > at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.sendParam(HBaseClient.java:619) > at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:977) > at org.apache.hadoop.hbase.ipc.SecureRpcEngine$Invoker.invoke(SecureRpcEngine.java:107) > at $Proxy21.replicateLogEntries(Unknown Source) > at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.shipEdits(ReplicationSource.java:772) > at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.run(ReplicationSource.java:451) > {code} > We'd fix this in 0.94. -- This message was sent by Atlassian JIRA (v6.3.4#6332)