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 81AA310ED4 for ; Fri, 5 Dec 2014 03:12:11 +0000 (UTC) Received: (qmail 79015 invoked by uid 500); 5 Dec 2014 03:12:11 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 78974 invoked by uid 500); 5 Dec 2014 03:12:11 -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 78949 invoked by uid 99); 5 Dec 2014 03:12:10 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 03:12:10 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 574521D2204; Fri, 5 Dec 2014 03:12:08 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4238719649398340227==" MIME-Version: 1.0 Subject: Review Request 28737: Cluster cannot be installed if Ganglia is not selected From: "Sid Wagle" To: "Mahadev Konar" , "Myroslav Papirkovskyy" , "Dmytro Sen" , "Yusaku Sako" Cc: "Ambari" , "Sid Wagle" Date: Fri, 05 Dec 2014 03:12:08 -0000 Message-ID: <20141205031208.32526.51361@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Sid Wagle" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/28737/ X-Sender: "Sid Wagle" Reply-To: "Sid Wagle" X-ReviewRequest-Repository: ambari --===============4238719649398340227== 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/28737/ ----------------------------------------------------------- Review request for Ambari, Dmytro Sen, Mahadev Konar, Myroslav Papirkovskyy, and Yusaku Sako. Bugs: AMBARI-8553 https://issues.apache.org/jira/browse/AMBARI-8553 Repository: ambari Description ------- Installed a cluster without AMS / Ganglia There are multiple problems. After install phase of deployment is completed, UI gets stuck (see screenshot). This is because server throws 500 when UI makes a query against /api/v1/clusters/cluster/hosts?fields=Hosts/host_state,host_components/HostRoles/state before proceeding to check for certain conditions. At this point, even /api/v1/clusters/cluster throws 500. The server log shows: 00:06:44,872 WARN [qtp1072019789-22] ServletHandler:514 - /api/v1/clusters/ys200 java.lang.NullPointerException at Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsPropertyProviderProxy.java e1f607e ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsReportPropertyProviderProxy.java 154046f Diff: https://reviews.apache.org/r/28737/diff/ Testing ------- Manual testing. Thanks, Sid Wagle --===============4238719649398340227==--