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 9692117E1B for ; Sat, 28 Mar 2015 00:35:53 +0000 (UTC) Received: (qmail 87967 invoked by uid 500); 28 Mar 2015 00:35:53 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 87935 invoked by uid 500); 28 Mar 2015 00:35:53 -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 87922 invoked by uid 99); 28 Mar 2015 00:35:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Mar 2015 00:35:53 +0000 Date: Sat, 28 Mar 2015 00:35:53 +0000 (UTC) From: "Yusaku Sako (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-8244) Ambari HDP 2.0.6+ stacks do not work with fs.defaultFS not being hdfs 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-8244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yusaku Sako updated AMBARI-8244: -------------------------------- Attachment: AMBARI-8244.6.patch > Ambari HDP 2.0.6+ stacks do not work with fs.defaultFS not being hdfs > --------------------------------------------------------------------- > > Key: AMBARI-8244 > URL: https://issues.apache.org/jira/browse/AMBARI-8244 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 2.0.0 > Reporter: Ivan Mitic > Assignee: Ivan Mitic > Labels: HDP > Fix For: 2.1.0 > > Attachments: AMBARI-8244.2.patch, AMBARI-8244.3.patch, AMBARI-8244.4.patch, AMBARI-8244.5.patch, AMBARI-8244.6.patch, AMBARI-8244.patch > > > Right now changing the default file system does not work with the HDP 2.0.6+ stacks. Given that it might be common to run HDP against some other file system in the cloud, adding support for this will be super useful. One alternative is to consider a separate stack definition for other file systems, however, given that I noticed just 2 minor bugs needed to support this, I would rather extend on the existing code. > Bugs: > - One issue is in Nagios install scripts, where it is assumed that fs.defaultFS has the namenode port number. > - Another issue is in HDFS install scripts, where {{hadoop dfsadmin}} command only works when hdfs is the default file system. > Fix for both places is to extract the namenode address/port from {{dfs.namenode.rpc-address}} if one is defined and use it instead of relying on {{fs.defaultFS}}. > Haven't included any tests yet (my first Ambari patch, not sure what is appropriate, so please comment). -- This message was sent by Atlassian JIRA (v6.3.4#6332)