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

Ambari fails to start due to NPE after installation of HDF mpack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.5.1
    • ambari-sever
    • None

    Description

      when we install HDF mpack we do the following steps
      yum install ambari-server
      ambari-server install-mpack --mpack=/path/to/hdf-mpack --purge --verbose
      ambari-server setup
      The permissions and ownership for stacks , common-services etc is set correctly during ambari-server setup
      Ambari-server daemon is configured to run under user 'slava'. Change this setting [y/n] ? n
      Adjusting ambari-server permissions and ownership...
      However, to add HDF services to HDP cluster we install the mpack after deploying the HDP cluster and hence when running Ambari as non-root and with umask = 0027, the permissions and ownerships don't get updated.
      Workaround:
      Re-run ambari-server setup command after installing the HDF mpack but don't really make any config changes. Run this step only to update the permissions.
      ambari-server setup -s

      Attachments

        1. AMBARI-20974_addendum.patch
          1 kB
          Madhuvanthi Radhakrishnan
        2. AMBARI-20974_trunk.patch
          7 kB
          Madhuvanthi Radhakrishnan

        Issue Links

          Activity

            People

              mradhakrishnan Madhuvanthi Radhakrishnan
              mradhakrishnan Madhuvanthi Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: