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 5533D17995 for ; Tue, 16 Jun 2015 01:39:09 +0000 (UTC) Received: (qmail 48415 invoked by uid 500); 16 Jun 2015 01:39:09 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 48381 invoked by uid 500); 16 Jun 2015 01:39:09 -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 48367 invoked by uid 99); 16 Jun 2015 01:39:08 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2015 01:39:08 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 5B2371DFE5F; Tue, 16 Jun 2015 01:39:08 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1529465541850941179==" MIME-Version: 1.0 Subject: Re: Review Request 35481: Namenode log contains:javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate From: "Jonathan Hurley" To: "Robert Levas" , "Jonathan Hurley" Cc: "Tom Beerbower" , "Ambari" Date: Tue, 16 Jun 2015 01:39:08 -0000 Message-ID: <20150616013908.9295.61863@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Jonathan Hurley" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/35481/ X-Sender: "Jonathan Hurley" References: <20150616000615.32040.68305@reviews.apache.org> In-Reply-To: <20150616000615.32040.68305@reviews.apache.org> Reply-To: "Jonathan Hurley" X-ReviewRequest-Repository: ambari --===============1529465541850941179== 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/35481/#review88018 ----------------------------------------------------------- Ship it! Ship It! - Jonathan Hurley On June 15, 2015, 8:06 p.m., Tom Beerbower wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/35481/ > ----------------------------------------------------------- > > (Updated June 15, 2015, 8:06 p.m.) > > > Review request for Ambari, Jonathan Hurley and Robert Levas. > > > Bugs: AMBARI-11938 > https://issues.apache.org/jira/browse/AMBARI-11938 > > > Repository: ambari > > > Description > ------- > > The following is being reported in the namenode logs on a cluster with wire encryption enabled. > > > 2015-06-05 23:00:17,702 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) > > > Ambari JMX alert checks on a kerberized cluster are polling with curl. The curl call should use -k to ignore checking the server's certificates. > > > Diffs > ----- > > ambari-common/src/main/python/resource_management/libraries/functions/curl_krb_request.py 5e7f795 > > Diff: https://reviews.apache.org/r/35481/diff/ > > > Testing > ------- > > Manual tested on wire encryption enabled cluster. Verfied that exception does not reproduce with fix. > > mvn clean test > > all pass > > > Thanks, > > Tom Beerbower > > --===============1529465541850941179==--