Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E2B810B2C for ; Thu, 1 Aug 2013 02:15:48 +0000 (UTC) Received: (qmail 19414 invoked by uid 500); 1 Aug 2013 02:15:48 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 19393 invoked by uid 500); 1 Aug 2013 02:15:48 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 19384 invoked by uid 99); 1 Aug 2013 02:15:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 02:15:48 +0000 Date: Thu, 1 Aug 2013 02:15:48 +0000 (UTC) From: "Mahadev konar (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-2789) Change core-site.xml's fs.default.name to fs.defaultFS for 2.0 stack deployment 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-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725968#comment-13725968 ] Mahadev konar commented on AMBARI-2789: --------------------------------------- +1 for the patch. > Change core-site.xml's fs.default.name to fs.defaultFS for 2.0 stack deployment > ------------------------------------------------------------------------------- > > Key: AMBARI-2789 > URL: https://issues.apache.org/jira/browse/AMBARI-2789 > Project: Ambari > Issue Type: Task > Components: client > Affects Versions: 1.4.0 > Reporter: Yusaku Sako > Assignee: Yusaku Sako > Fix For: 1.4.0 > > Attachments: AMBARI-2789.patch > > > We need to have only one of the two (fs.default.name or fs.defaultFS, and the former is deprecated). If both are present then NN HA will be enabled/disabled based on what is read first. > Following is description from NN HA in Apache docs: > fs.defaultFS - the default path prefix used by the Hadoop FS client when none is given. > Optionally, you may now configure the default path for Hadoop clients to use the new HA-enabled logical URI. If you used "mycluster" as the nameservice ID earlier, this will be the value of the authority portion of all of your HDFS paths. This may be configured like so, in your core-site.xml file: > > fs.defaultFS > hdfs://mycluster > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira