Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9323319EE6 for ; Tue, 5 Apr 2016 14:12:26 +0000 (UTC) Received: (qmail 69588 invoked by uid 500); 5 Apr 2016 14:12:26 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 69478 invoked by uid 500); 5 Apr 2016 14:12:26 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 69302 invoked by uid 99); 5 Apr 2016 14:12:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2016 14:12:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AED9D2C1F70 for ; Tue, 5 Apr 2016 14:12:25 +0000 (UTC) Date: Tue, 5 Apr 2016 14:12:25 +0000 (UTC) From: "Nahappan Somasundaram (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-15703) HostResourceProvider should include maintenance_state when a request is made directly with the host name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-15703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nahappan Somasundaram updated AMBARI-15703: ------------------------------------------- Status: Patch Available (was: Open) > HostResourceProvider should include maintenance_state when a request is made directly with the host name > -------------------------------------------------------------------------------------------------------- > > Key: AMBARI-15703 > URL: https://issues.apache.org/jira/browse/AMBARI-15703 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Nahappan Somasundaram > Assignee: Nahappan Somasundaram > Fix For: 2.4.0 > > Attachments: rb45714.patch > > > The property ** maintenance_state ** is not available in host response when making a request directly on the host instead of via the clusters. > curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://localhost:8080/api/v1/hosts/c6403.ambari.apache.org > The above query does not return maintenance_state. > The following query does: > http://c6403.ambari.apache.org:8080/api/v1/clusters/c1/hosts/c6403.ambari.apache.org -- This message was sent by Atlassian JIRA (v6.3.4#6332)