Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15DFE10983 for ; Wed, 26 Mar 2014 19:37:31 +0000 (UTC) Received: (qmail 78603 invoked by uid 500); 26 Mar 2014 19:37:27 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 78164 invoked by uid 500); 26 Mar 2014 19:37:22 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 77897 invoked by uid 99); 26 Mar 2014 19:37:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2014 19:37:20 +0000 Date: Wed, 26 Mar 2014 19:37:20 +0000 (UTC) From: "Kihwal Lee (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-10442) Group look-up can cause segmentation fault when certain JNI-based mapping module is used. 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/HADOOP-10442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kihwal Lee updated HADOOP-10442: -------------------------------- Attachment: HADOOP-10442.patch > Group look-up can cause segmentation fault when certain JNI-based mapping module is used. > ----------------------------------------------------------------------------------------- > > Key: HADOOP-10442 > URL: https://issues.apache.org/jira/browse/HADOOP-10442 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 2.3.0, 2.4.0 > Reporter: Kihwal Lee > Priority: Blocker > Attachments: HADOOP-10442.patch > > > When JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is used, we get segmentation fault very often. The same system ran 2.2 for months without any problem, but as soon as upgrading to 2.3, it started crashing. This resulted in multiple name node crashes per day. > The server was running nslcd (nss-pam-ldapd-0.7.5-15.el6_3.2). We did not see this problem on the servers running sssd. > There was one change in the C code and it modified the return code handling after getgrouplist() call. If the function returns 0 or a negative value less than -1, it will do realloc() instead of returning failure. -- This message was sent by Atlassian JIRA (v6.2#6252)