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 AE708200D54 for ; Fri, 8 Dec 2017 16:26:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ACEC5160C21; Fri, 8 Dec 2017 15:26:04 +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 0004D160BF2 for ; Fri, 8 Dec 2017 16:26:03 +0100 (CET) Received: (qmail 17456 invoked by uid 500); 8 Dec 2017 15:26:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 17440 invoked by uid 99); 8 Dec 2017 15:26:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2017 15:26:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 85D7AC52DE for ; Fri, 8 Dec 2017 15:26:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xfft2Foa4PSB for ; Fri, 8 Dec 2017 15:26:01 +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 50CD35FBCB for ; Fri, 8 Dec 2017 15:26: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 90E0AE0D7D for ; Fri, 8 Dec 2017 15:26: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 2C83621E7D for ; Fri, 8 Dec 2017 15:26:00 +0000 (UTC) Date: Fri, 8 Dec 2017 15:26:00 +0000 (UTC) From: "Lokesh Jain (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-12909) SSLConnectionConfigurator creation error should be printed only if security is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 08 Dec 2017 15:26:04 -0000 [ https://issues.apache.org/jira/browse/HDFS-12909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lokesh Jain updated HDFS-12909: ------------------------------- Summary: SSLConnectionConfigurator creation error should be printed only if security is enabled (was: SSLConnectionConfigurator should be created only if security is enabled) > SSLConnectionConfigurator creation error should be printed only if security is enabled > -------------------------------------------------------------------------------------- > > Key: HDFS-12909 > URL: https://issues.apache.org/jira/browse/HDFS-12909 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Lokesh Jain > Assignee: Lokesh Jain > Attachments: HDFS-12909.patch > > > Currently URLConnectionFactory#getSSLConnectionConfiguration attempts to create a SSL connection configurator even if security is not enabled. This raises the below false warning in the logs. > {code:java} > 17/12/08 10:12:03 WARN web.URLConnectionFactory: Cannot load customized ssl related configuration. Fallback to system-generic settings. > java.io.FileNotFoundException: /etc/security/clientKeys/all.jks (No such file or directory) > at java.io.FileInputStream.open0(Native Method) > at java.io.FileInputStream.open(FileInputStream.java:195) > at java.io.FileInputStream.(FileInputStream.java:138) > at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.loadTrustManager(ReloadingX509TrustManager.java:169) > at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.(ReloadingX509TrustManager.java:87) > at org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory.init(FileBasedKeyStoresFactory.java:219) > at org.apache.hadoop.security.ssl.SSLFactory.init(SSLFactory.java:176) > at org.apache.hadoop.hdfs.web.URLConnectionFactory.newSslConnConfigurator(URLConnectionFactory.java:164) > at org.apache.hadoop.hdfs.web.URLConnectionFactory.getSSLConnectionConfiguration(URLConnectionFactory.java:106) > at org.apache.hadoop.hdfs.web.URLConnectionFactory.newDefaultURLConnectionFactory(URLConnectionFactory.java:85) > at org.apache.hadoop.hdfs.tools.DFSck.(DFSck.java:136) > at org.apache.hadoop.hdfs.tools.DFSck.(DFSck.java:128) > at org.apache.hadoop.hdfs.tools.DFSck.main(DFSck.java:396) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org