Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 563D91784E for ; Wed, 3 Jun 2015 10:40:21 +0000 (UTC) Received: (qmail 21824 invoked by uid 500); 3 Jun 2015 10:40:21 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 21788 invoked by uid 500); 3 Jun 2015 10:40:21 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 21774 invoked by uid 99); 3 Jun 2015 10:40:20 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2015 10:40:20 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 680701DF17A; Wed, 3 Jun 2015 10:40:20 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8182690496022439700==" MIME-Version: 1.0 Subject: Re: Review Request 34993: Unable to communicate to Namenode after wire encryption From: "Dmitro Lisnichenko" To: "Dmitro Lisnichenko" , "Vitalyi Brodetskyi" Cc: "Andrew Onischuk" , "Ambari" Date: Wed, 03 Jun 2015 10:40:20 -0000 Message-ID: <20150603104020.7996.75909@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Dmitro Lisnichenko" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/34993/ X-Sender: "Dmitro Lisnichenko" References: <20150603103640.7997.67168@reviews.apache.org> In-Reply-To: <20150603103640.7997.67168@reviews.apache.org> Reply-To: "Dmitro Lisnichenko" X-ReviewRequest-Repository: ambari --===============8182690496022439700== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34993/#review86392 ----------------------------------------------------------- Ship it! Ship It! - Dmitro Lisnichenko On June 3, 2015, 10:36 a.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34993/ > ----------------------------------------------------------- > > (Updated June 3, 2015, 10:36 a.m.) > > > Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi. > > > Bugs: AMBARI-11645 > https://issues.apache.org/jira/browse/AMBARI-11645 > > > Repository: ambari > > > Description > ------- > > On a cluster with HDFS,Mapred, Yarn,Tez, Zookeeper and Ambari metrics enabled > security and then followed 2.1.5/bk_Security_Guide/content/ch_wire-https.html> to perform wire > encryption. > > After above steps are completed, we see the below error in name node logs > whenever any request is processed. > > > > > 2015-06-02 21:57:21,255 WARN mortbay.log (Slf4jLog.java:warn(89)) - EXCEPTION > javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate > at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) > at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) > at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979) > at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086) > at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) > at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) > at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) > at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:723) > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > > > Using the key tool we verified in all the nodes whether the certificate is > valid and it doesn't show up any errors there. Please help take a look to > resolve this issue. > Output from the validation check is attached. > here is a cluster to take a look: > > > > Diffs > ----- > > ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py 33d356f > > Diff: https://reviews.apache.org/r/34993/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > > --===============8182690496022439700==--