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 4C8AE200B8E for ; Mon, 26 Sep 2016 18:33:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4B464160AE3; Mon, 26 Sep 2016 16:33:22 +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 918DC160AC8 for ; Mon, 26 Sep 2016 18:33:21 +0200 (CEST) Received: (qmail 53678 invoked by uid 500); 26 Sep 2016 16:33:20 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 53642 invoked by uid 99); 26 Sep 2016 16:33:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2016 16:33:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7BCEB2C002D for ; Mon, 26 Sep 2016 16:33:20 +0000 (UTC) Date: Mon, 26 Sep 2016 16:33:20 +0000 (UTC) From: "Zhe Zhang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13657) IPC Reader thread could silently die and leave NameNode unresponsive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 26 Sep 2016 16:33:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhe Zhang updated HADOOP-13657: ------------------------------- Description: For each listening port, IPC {{Server#Listener#Reader}} is a single thread in charge of moving {{Connection}} items from {{pendingConnections}} (capacity 100) to the {{callQueue}}. We have experienced an incident where the {{Reader}} thread for HDFS NameNode died from runtime exception. Then the {{pendingConnections}} queue became full and the NameNode port became inaccessible. In our particular case, what killed {{Reader}} was a NPE caused by https://bugs.openjdk.java.net/browse/JDK-8024883. But in general, other types of runtime exceptions could cause this issue as well. We should add logic to either make the {{Reader}} more robust in case of runtime exceptions, or at least treat it as a FATAL exception so that NameNode can fail over to standby, and admins get alerted of the real issue. was: For each listening port, IPC {{Server#Listener#Reader}} is a single thread in charge of moving {{Connection}} items from {{pendingConnections}} (capacity 100) to the {{callQueue}}. We have experienced an incident where the {{Reader}} thread for HDFS NameNode died from run time exception. Then the {{pendingConnections}} queue became full and the NameNode port became inaccessible. In our particular case, what killed {{Reader}} was a NPE caused by https://bugs.openjdk.java.net/browse/JDK-8024883. But in general, other types of runtime exceptions could cause this issue as well. We should add logic to either make the {{Reader}} more robust in case of runtime exceptions, or at least treat it as a FATAL exception so that NameNode can fail over to standby, and admins get alerted of the real issue. > IPC Reader thread could silently die and leave NameNode unresponsive > -------------------------------------------------------------------- > > Key: HADOOP-13657 > URL: https://issues.apache.org/jira/browse/HADOOP-13657 > Project: Hadoop Common > Issue Type: Bug > Components: ipc > Reporter: Zhe Zhang > Priority: Critical > > For each listening port, IPC {{Server#Listener#Reader}} is a single thread in charge of moving {{Connection}} items from {{pendingConnections}} (capacity 100) to the {{callQueue}}. > We have experienced an incident where the {{Reader}} thread for HDFS NameNode died from runtime exception. Then the {{pendingConnections}} queue became full and the NameNode port became inaccessible. > In our particular case, what killed {{Reader}} was a NPE caused by https://bugs.openjdk.java.net/browse/JDK-8024883. But in general, other types of runtime exceptions could cause this issue as well. > We should add logic to either make the {{Reader}} more robust in case of runtime exceptions, or at least treat it as a FATAL exception so that NameNode can fail over to standby, and admins get alerted of the real issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org