From common-issues-return-149880-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri Mar 16 04:51:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3FBCA180649 for ; Fri, 16 Mar 2018 04:51:06 +0100 (CET) Received: (qmail 65724 invoked by uid 500); 16 Mar 2018 03:51:03 -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 65713 invoked by uid 99); 16 Mar 2018 03:51:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2018 03:51:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 576AE1A1150 for ; Fri, 16 Mar 2018 03:51:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id uyGYUSxlxaDe for ; Fri, 16 Mar 2018 03:51:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C46215F571 for ; Fri, 16 Mar 2018 03:51:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DF8C3E00C6 for ; Fri, 16 Mar 2018 03:51:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4C9862127A for ; Fri, 16 Mar 2018 03:51:00 +0000 (UTC) Date: Fri, 16 Mar 2018 03:51:00 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-15234) Throw meaningful message on null when initializing KMSWebApp 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-15234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401434#comment-16401434 ] Hudson commented on HADOOP-15234: --------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13847 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13847/]) HADOOP-15234. Throw meaningful message on null when initializing (xiao: rev 21c66614610a3c3c9189832faeb120a2ba8069bb) * (edit) hadoop-common-project/hadoop-kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KMSWebApp.java > Throw meaningful message on null when initializing KMSWebApp > ------------------------------------------------------------ > > Key: HADOOP-15234 > URL: https://issues.apache.org/jira/browse/HADOOP-15234 > Project: Hadoop Common > Issue Type: Bug > Components: kms > Reporter: Xiao Chen > Assignee: fang zhenyi > Priority: Major > Fix For: 3.2.0 > > Attachments: HADOOP-15234.001.patch, HADOOP-15234.002.patch, HADOOP-15234.003.patch, HADOOP-15234.004.patch, HADOOP-15234.005.patch > > > During KMS startup, if the {{keyProvider}} is null, it will NPE inside KeyProviderExtension. > {noformat} > java.lang.NullPointerException > at org.apache.hadoop.crypto.key.KeyProviderExtension.(KeyProviderExtension.java:43) > at org.apache.hadoop.crypto.key.CachingKeyProvider.(CachingKeyProvider.java:93) > at org.apache.hadoop.crypto.key.kms.server.KMSWebApp.contextInitialized(KMSWebApp.java:170) > {noformat} > We're investigating the exact scenario that could lead to this, but the NPE and log around it can be improved. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org