Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 63E4E2009EE for ; Wed, 18 May 2016 11:59:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 60F93160A1B; Wed, 18 May 2016 09:59:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D86401609B1 for ; Wed, 18 May 2016 11:59:13 +0200 (CEST) Received: (qmail 44539 invoked by uid 500); 18 May 2016 09:59:13 -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 44516 invoked by uid 99); 18 May 2016 09:59:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 09:59:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E6F222C1F6C for ; Wed, 18 May 2016 09:59:12 +0000 (UTC) Date: Wed, 18 May 2016 09:59:12 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-16728) Ambari APIs should allow using case insensitive host names MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 May 2016 09:59:14 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vitaly Brodetskyi updated AMBARI-16728: --------------------------------------- Attachment: AMBARI-16728.patch > Ambari APIs should allow using case insensitive host names > ---------------------------------------------------------- > > Key: AMBARI-16728 > URL: https://issues.apache.org/jira/browse/AMBARI-16728 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.1.2 > Reporter: Vitaly Brodetskyi > Assignee: Vitaly Brodetskyi > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-16728.patch > > > Ambari stores all hostnames in lower-case irrespective of the case in name associated with the host. While this is OK for internal usage it causes confusion to the users or the tools that look up hostname using standard commands such as"hostname -f". > The API should be modified to allow hostnames in case insensitive fashion. E.g. > * api/v1/hosts/HostA and api/v1/hosts/hosta both should point to the same host > * calls that user filter where they specify hostnames should also allow case insensitive comparison -- This message was sent by Atlassian JIRA (v6.3.4#6332)