Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-712

Rest Adaptor to collect metrics exposed via REST URLs

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.0
    • Component/s: Data Collection
    • Labels:

      Description

      Submitting a patch for rest adaptor to collect metrics from services which expose metrics via rest urls like oozie, flume, etc.,

      1. Chukwa-712.patch
        4 kB
        Sreepathi Prasanna
      2. chukwa-712.patch.0
        7 kB
        Sreepathi Prasanna

        Activity

        Hide
        eyang Eric Yang added a comment -

        Test case? Could we follow the 2 space code indentation? Thanks

        Show
        eyang Eric Yang added a comment - Test case? Could we follow the 2 space code indentation? Thanks
        Hide
        sree2k Sreepathi Prasanna added a comment -

        Have added a testcase and formatted the code with 2 space code indentation..

        Show
        sree2k Sreepathi Prasanna added a comment - Have added a testcase and formatted the code with 2 space code indentation..
        Hide
        eyang Eric Yang added a comment -

        +1

        Show
        eyang Eric Yang added a comment - +1
        Hide
        eyang Eric Yang added a comment -

        TestRestAdaptor.java doesn't contain license file. Sleeping 70 seconds on this test case is too long. I changed the test case interval to 2 seconds instead.

        Show
        eyang Eric Yang added a comment - TestRestAdaptor.java doesn't contain license file. Sleeping 70 seconds on this test case is too long. I changed the test case interval to 2 seconds instead.
        Hide
        eyang Eric Yang added a comment -

        +1, I just committed this with license file and interval changed.

        Show
        eyang Eric Yang added a comment - +1, I just committed this with license file and interval changed.
        Hide
        hudson Hudson added a comment -

        ABORTED: Integrated in Chukwa-trunk #505 (See https://builds.apache.org/job/Chukwa-trunk/505/)
        CHUKWA-712. Implemented generic REST Adaptor for fetch data from web service. (Sreepathi Prasanna via Eric Yang) (eyang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1612604)

        • /chukwa/trunk/CHANGES.txt
        • /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/RestAdaptor.java
        • /chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestRestAdaptor.java
        Show
        hudson Hudson added a comment - ABORTED: Integrated in Chukwa-trunk #505 (See https://builds.apache.org/job/Chukwa-trunk/505/ ) CHUKWA-712 . Implemented generic REST Adaptor for fetch data from web service. (Sreepathi Prasanna via Eric Yang) (eyang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1612604 ) /chukwa/trunk/CHANGES.txt /chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/RestAdaptor.java /chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/TestRestAdaptor.java

          People

          • Assignee:
            sree2k Sreepathi Prasanna
            Reporter:
            sree2k Sreepathi Prasanna
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development