Vijay Srinivasaraghavan created AMBARI-13917:
------------------------------------------------

             Summary: Allow client component information for a specific host to 
be queried from hooks scripts
                 Key: AMBARI-13917
                 URL: https://issues.apache.org/jira/browse/AMBARI-13917
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
            Reporter: Vijay Srinivasaraghavan


For HCFS stack, the before-START hook has a function to create /tmp and /user 
directory. 
{code}
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
{code}
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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to