ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-5479) Flume: add agent pass-thru data
Date Thu, 17 Apr 2014 22:09:16 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nate Cole resolved AMBARI-5479.
-------------------------------

    Resolution: Fixed

commit c67e883e6c7352e992aed691cb5b796451ef62f0

> Flume: add agent pass-thru data
> -------------------------------
>
>                 Key: AMBARI-5479
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5479
>             Project: Ambari
>          Issue Type: Task
>          Components: agent, controller
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>             Fix For: 1.6.0
>
>
> Add the ability to pass information to the agent directly through the request.  In this
way, the Flume handler can received targeted information about which Flume agent to work on.
  Example of how to start the flume agents named a1 and b1 on host h1
> {noformat}
> PUT http://localhost:8080/api/v1/clusters/c1/hosts/h1/host_components/FLUME_HANDLER
> {
>   "RequestInfo": {
>     "context": "Start Flume on c6403",
>     "flume_handler": "a1,b1,c1"
>   },
>   "Body": {
>     "HostRoles": {
>       "state": "STARTED"
>     }
>   }
> }
> {noformat}
> The code will take any value in the requestProperties that matches the component name
and pass that value directly to the host with no modification.  The Ambari agent script can
then use that information in any way it needs.
> This functionality can be used for other components than just FLUME_HANDLER.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message