You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2013/07/03 17:32:25 UTC

[jira] [Commented] (DRILL-77) REST API for Drillbits

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

Jacques Nadeau commented on DRILL-77:
-------------------------------------

For task 1, two quick requests:
1. please use the ExecConstants and drill.conf files to hold the port number
2. please add an additional configuration option to disable/enable whether or not the jetty server is activated (using the same method as #1).
                
> REST API for Drillbits
> ----------------------
>
>                 Key: DRILL-77
>                 URL: https://issues.apache.org/jira/browse/DRILL-77
>             Project: Apache Drill
>          Issue Type: New Feature
>            Reporter: Srihari Srinivasan
>            Assignee: Srihari Srinivasan
>
> 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
> Remaining tasks - TBD

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Commented] (DRILL-77) REST API for Drillbits

Posted by Jacques Nadeau <ja...@apache.org>.
I updated my info on https://issues.apache.org/jira/browse/DRILL-126

We need to formalize and get checkstyle into the build.

J



On Wed, Jul 3, 2013 at 9:43 AM, Srihari Srinivasan
<ss...@thoughtworks.com> wrote:
> Are the code formatting rules available somewhere?
>
> On Wed, Jul 3, 2013 at 9:58 PM, Srihari Srinivasan <
> ssriniva@thoughtworks.com> wrote:
>
>> Sure! Was thinking of it already...
>>
>>
>> On Wed, Jul 3, 2013 at 9:02 PM, Jacques Nadeau (JIRA) <ji...@apache.org>wrote:
>>
>>>
>>>     [
>>> https://issues.apache.org/jira/browse/DRILL-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699084#comment-13699084]
>>>
>>> Jacques Nadeau commented on DRILL-77:
>>> -------------------------------------
>>>
>>> For task 1, two quick requests:
>>> 1. please use the ExecConstants and drill.conf files to hold the port
>>> number
>>> 2. please add an additional configuration option to disable/enable
>>> whether or not the jetty server is activated (using the same method as #1).
>>>
>>> > REST API for Drillbits
>>> > ----------------------
>>> >
>>> >                 Key: DRILL-77
>>> >                 URL: https://issues.apache.org/jira/browse/DRILL-77
>>> >             Project: Apache Drill
>>> >          Issue Type: New Feature
>>> >            Reporter: Srihari Srinivasan
>>> >            Assignee: Srihari Srinivasan
>>> >
>>> > 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
>>> > Remaining tasks - TBD
>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> If you think it was sent incorrectly, please contact your JIRA
>>> administrators
>>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>>
>>
>>

Re: [jira] [Commented] (DRILL-77) REST API for Drillbits

Posted by Srihari Srinivasan <ss...@thoughtworks.com>.
Are the code formatting rules available somewhere?

On Wed, Jul 3, 2013 at 9:58 PM, Srihari Srinivasan <
ssriniva@thoughtworks.com> wrote:

> Sure! Was thinking of it already...
>
>
> On Wed, Jul 3, 2013 at 9:02 PM, Jacques Nadeau (JIRA) <ji...@apache.org>wrote:
>
>>
>>     [
>> https://issues.apache.org/jira/browse/DRILL-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699084#comment-13699084]
>>
>> Jacques Nadeau commented on DRILL-77:
>> -------------------------------------
>>
>> For task 1, two quick requests:
>> 1. please use the ExecConstants and drill.conf files to hold the port
>> number
>> 2. please add an additional configuration option to disable/enable
>> whether or not the jetty server is activated (using the same method as #1).
>>
>> > REST API for Drillbits
>> > ----------------------
>> >
>> >                 Key: DRILL-77
>> >                 URL: https://issues.apache.org/jira/browse/DRILL-77
>> >             Project: Apache Drill
>> >          Issue Type: New Feature
>> >            Reporter: Srihari Srinivasan
>> >            Assignee: Srihari Srinivasan
>> >
>> > 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
>> > Remaining tasks - TBD
>>
>> --
>> This message is automatically generated by JIRA.
>> If you think it was sent incorrectly, please contact your JIRA
>> administrators
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>
>
>

Re: [jira] [Commented] (DRILL-77) REST API for Drillbits

Posted by Srihari Srinivasan <ss...@thoughtworks.com>.
Sure! Was thinking of it already...

On Wed, Jul 3, 2013 at 9:02 PM, Jacques Nadeau (JIRA) <ji...@apache.org>wrote:

>
>     [
> https://issues.apache.org/jira/browse/DRILL-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699084#comment-13699084]
>
> Jacques Nadeau commented on DRILL-77:
> -------------------------------------
>
> For task 1, two quick requests:
> 1. please use the ExecConstants and drill.conf files to hold the port
> number
> 2. please add an additional configuration option to disable/enable whether
> or not the jetty server is activated (using the same method as #1).
>
> > REST API for Drillbits
> > ----------------------
> >
> >                 Key: DRILL-77
> >                 URL: https://issues.apache.org/jira/browse/DRILL-77
> >             Project: Apache Drill
> >          Issue Type: New Feature
> >            Reporter: Srihari Srinivasan
> >            Assignee: Srihari Srinivasan
> >
> > 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
> > Remaining tasks - TBD
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>