chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CHUKWA-737) Add heartbeat adaptor to push chukwa agent status to remote http server
Date Fri, 29 May 2015 21:00:20 GMT

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

Hudson commented on CHUKWA-737:
-------------------------------

FAILURE: Integrated in Chukwa-trunk #527 (See [https://builds.apache.org/job/Chukwa-trunk/527/])
CHUKWA-737. Heartbeat adaptor to push status to remote http server (Shreyas Subramanya) (shreyas:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1662365)
* /chukwa/trunk/CHANGES.txt
* /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/HeartbeatAdaptor.java
* /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/heartbeat
* /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/heartbeat/ChukwaStatusChecker.java
* /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/heartbeat/HttpStatusChecker.java
* /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/heartbeat/StatusChecker.java
* /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/heartbeat/StatusCheckerException.java
* /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/writer/HttpWriter.java
* /chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestHeartbeatAdaptor.java
* /chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/agent/rest/TestAdaptorController.java


> Add heartbeat adaptor to push chukwa agent status to remote http server 
> ------------------------------------------------------------------------
>
>                 Key: CHUKWA-737
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-737
>             Project: Chukwa
>          Issue Type: Improvement
>          Components: Data Collection
>    Affects Versions: 0.7.0
>            Reporter: shreyas subramanya
>            Assignee: shreyas subramanya
>         Attachments: CHUKWA-737.patch, CHUKWA-737.patch2, CHUKWA-737.patch3
>
>
> Provide a generic HeartbeatAdaptor which can periodically send status reports to a remote
http server. The adaptor can be configured with arbitrary number of component status checkers
and it will send out a single status report for all components.
> Example - to send out the status of chukwa agent as well as a rest interface (in this
case chukwa agent rest), we add the following adaptor:
> add HeartbeatAdaptor DefaultProcessor (ChukwaStatusChecker, HttpStatusChecker Chukwa.rest.server
http://localhost:9090/rest/v1/adaptor) 3 0
> This will send out status reports such as -
> {"time":1424213867980,"components":[{"host":"host.example.com","component":"Chukwa.Agent","adaptor.count":1},{"status":"running","component":"Chukwa.rest.server","uri":"http:\/\/localhost:9090\/rest\/v1"}]}
> Additional configuration needed in chukwa-agent-conf.xml
> chukwa.http.writer.host
> chukwa.http.writer.port
> if PipelineConnector is used, add org.apache.hadoop.chukwa.datacollection.writer.HttpWriter
to head of pipeline



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

Mime
View raw message