[ 
https://issues.apache.org/jira/browse/AMBARI-13917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034279#comment-15034279
 ] 

Dmytro Sen commented on AMBARI-13917:
-------------------------------------

Uploaded patch to https://reviews.apache.org/r/40831/
Client components info looks like
{code}
    "localClientComponents": [
        "HDFS_CLIENT", 
        "ZOOKEEPER_CLIENT"
    ], 
{code}

> 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
>            Assignee: Dmytro Sen
>         Attachments: AMBARI-13917-trunk-8_client_components.patch
>
>
> 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