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 795EE180FC for ; Thu, 12 Nov 2015 08:23:11 +0000 (UTC) Received: (qmail 55416 invoked by uid 500); 12 Nov 2015 08:23:11 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 55383 invoked by uid 500); 12 Nov 2015 08:23: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 55362 invoked by uid 99); 12 Nov 2015 08:23:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2015 08:23:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EE92C2C14F8 for ; Thu, 12 Nov 2015 08:23:10 +0000 (UTC) Date: Thu, 12 Nov 2015 08:23:10 +0000 (UTC) From: "Dmytro Sen (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-13851) AMS should not assume hdfs as the protocol MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Dmytro Sen created AMBARI-13851: ----------------------------------- Summary: AMS should not assume hdfs as the protocol Key: AMBARI-13851 URL: https://issues.apache.org/jira/browse/AMBARI-13851 Project: Ambari Issue Type: Bug Components: ambari-metrics, stacks Affects Versions: 2.1.3 Reporter: Dmytro Sen Assignee: Dmytro Sen Priority: Critical Fix For: 2.1.3 AMS scripts should not assume that hdfs is the protocol. {code} is_hbase_distributed = hbase_root_dir.startswith('hdfs://') or is_hbase_distributed = security_params['hbase-site']['hbase.rootdir'].startswith('hdfs://') {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)