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 1E42A173A0 for ; Wed, 11 Feb 2015 14:59:31 +0000 (UTC) Received: (qmail 86962 invoked by uid 500); 11 Feb 2015 14:59:28 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 86930 invoked by uid 500); 11 Feb 2015 14:59:28 -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 86917 invoked by uid 99); 11 Feb 2015 14:59:27 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 14:59:27 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 11CD11CF8BD; Wed, 11 Feb 2015 14:59:27 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2877784110512500626==" MIME-Version: 1.0 Subject: Review Request 30879: Ambari HDFS jmx give none/wrong status in https setup for hdfs and yarn, etc From: "Andrew Onischuk" To: "John Speidel" Cc: "Andrew Onischuk" , "Ambari" Date: Wed, 11 Feb 2015 14:59:27 -0000 Message-ID: <20150211145927.29075.13858@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Andrew Onischuk" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/30879/ X-Sender: "Andrew Onischuk" Reply-To: "Andrew Onischuk" X-ReviewRequest-Repository: ambari --===============2877784110512500626== 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/30879/ ----------------------------------------------------------- Review request for Ambari and John Speidel. Bugs: AMBARI-9566 https://issues.apache.org/jira/browse/AMBARI-9566 Repository: ambari Description ------- PROBLEM: HDP 2.2.0, Ambari 1.7.0. When enable namnode HA with https by dfs.http.policy=HTTPS_ONLY, and set up required ssl-server.xml and ssl-client.xml, hdfs function fine. But Ambari UI shows no metrics for namenode, even shows 'upgrade not finalized' when it is a fresh HDP 2.2.0. install. A few notes: 1\. there is no option in 'ambari-server setup-security' or documentation on how to set up trust store for Ambari to trust hdfs/yarn 2\. it looks like Ambari still uses hadoop.ssl.enabled as criteria whether https is enabled. This is deprecated since hdp 2.1. The property should be dfs.http.policy, yarn.http.policy. screenshot attached that shows the wrong and missing metrics, and screenshot of the jmx from namenode Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java 4c47a1c ambari-server/src/main/java/org/apache/ambari/server/controller/jmx/JMXHostProvider.java 65f7be7 ambari-server/src/main/java/org/apache/ambari/server/controller/jmx/JMXPropertyProvider.java bbacb0d ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/yarn-site.xml 6572935 ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/JMXPropertyProviderTest.java 69fb5f5 ambari-web/app/models/service_config.js 999d1b5 Diff: https://reviews.apache.org/r/30879/diff/ Testing ------- mvn clean test Thanks, Andrew Onischuk --===============2877784110512500626==--