Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-8244

Ambari HDP 2.0.6+ stacks do not work with fs.defaultFS not being hdfs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • stacks

    Description

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

      Attachments

        1. AMBARI-8244.patch
          5 kB
          Ivan Mitic
        2. AMBARI-8244.7.combined.patch
          81 kB
          Sumit Mohanty
        3. AMBARI-8244.6.patch
          6 kB
          Yusaku Sako
        4. AMBARI-8244.5.patch
          5 kB
          Ivan Mitic
        5. AMBARI-8244.4.patch
          5 kB
          Ivan Mitic
        6. AMBARI-8244.3.patch
          5 kB
          Ivan Mitic
        7. AMBARI-8244.2.patch
          5 kB
          Ivan Mitic

        Issue Links

          Activity

            People

              ivanmi Ivan Mitic
              ivanmi Ivan Mitic
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: