You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2013/08/01 04:05:48 UTC

[jira] [Created] (AMBARI-2789) Change core-site.xml's fs.default.name to fs.defaultFS for 2.0 stack deployment

Yusaku Sako created AMBARI-2789:
-----------------------------------

             Summary: 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, bad situation !!

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:

<property>
  <name>fs.defaultFS</name>
  <value>hdfs://mycluster</value>
</property>

--
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