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

Allow client component information for a specific host to be queried from hooks scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • ambari-server
    • None

    Description

      For HCFS stack, the before-START hook has a function to create /tmp and /user directory.

      https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py#L104
      

      The function needs to be invoked only when file system client component (HDFS_CLIENT, ECS_CLIENT etc.,) is being part of the host. The command json file currently does not populate the client component information in "clusterHostInfo" section.

      Attachments

        1. AMBARI-13917_4.patch
          12 kB
          Dmytro Sen

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              vijikarthi Vijay Srinivasaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: