Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-77

REST API for Drillbits

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None

    Description

      As an end user I should be able to interact with drillbits using a REST API.
      This API will provide RESTful resources for query submission, status polling, data source configuration and result pagination.
      Link to the design doc -
      https://docs.google.com/document/d/1RF0v05l0lWy1OwSXxHuboqJNLRkS-YzshrEVmUSby5I/edit?usp=sharing

      Task 1 - Embed jetty into drill bit.
      – First task is to embed jetty. The version of jetty will be the latest i.e version 9.x
      – By default it will run on port 50000 (no particular reason why this port...just simple to remember)
      – Will have just one jetty connector assembled which is the HTTP connector.
      – At the end of this task you'll be able to run the drill bit and view the contents of an index.json (which for now perhaps could only spit out the version of Drill)

      Task 2 - Integrate Jersey to provide a platform for RESTful interactions

      Task 3 - Provide an API to submit a new query.

      Remaining tasks - TBD

      Attachments

        1. DRILL-77.patch
          62 kB
          Sudheesh Katkam

        Issue Links

          Activity

            People

              jnadeau Jacques Nadeau
              srihari.srinivasan Srihari Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: