Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-514

REST API for agent

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Data Collection
    • None

    Description

      This is a roll-up JIRA to create a REST API for the Agent per this discussion:

      http://mail-archives.apache.org/mod_mbox/hadoop-chukwa-dev/201008.mbox/%3CAANLkTimC8N0ZGCrAt6MiftOJQar+uLXY5KekOrqTE5Tk@mail.gmail.com%3E

      Child JIRA's for each REST resource can hang off this one. The following REST access points have been discussed:

      • Add Adaptor:
      POST /rest/v1.0/adaptor HTTP/1.0
      Accept: text/plain
      Content-Type: application/json
      { "RecordType" : "[recordType]", "Cluster": "[clusterName]", [adaptor configs including offset, other tags ...] }
      

      Returns: adaptor metadata including id

      • Get Adaptor by id:
      GET /rest/v1/adaptor/[id] HTTP/1.0
      
      • Remove Adaptor by id:
      DELETE /rest/v1/adaptor/[id] HTTP/1.0
      
      • List all adaptors:
        GET /rest/v1/adaptor HTTP/1.0
        
      • Help
        GET /rest/v1/help HTTP/1.0
        
      • Statistics for all adaptors
        GET /rest/v1/adaptorStats HTTP/1.0
        
      • Statistics for a single adaptor by id
        GET /rest/v1/adaptorStats/[id] HTTP/1.0
        

      Attachments

        Activity

          People

            Unassigned Unassigned
            billgraham William W. Graham Jr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: