[
https://issues.apache.org/jira/browse/DRILL-6407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472034#comment-16472034
]
Hari Sekhon edited comment on DRILL-6407 at 5/11/18 2:52 PM:
-------------------------------------------------------------
Looking at
[https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/StatusResources.java#L75|http://example.com/]
I'm not sure there are other statuses but I'm not familiar with the internals
of the code base and don't want to spend too much time on this.
Suffice it to say, there should be different statuses reflecting the true
condition of Drill, see DRILL-6406 and DRILL-5990, and they should be clearly
documented.
Right now if Running is the only thing that the /status API will ever output
then under what conditions would say /status be blank or return 404 or 500?
was (Author: harisekhon):
Looking at
[https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/StatusResources.java#L75|http://example.com]
I'm not sure there are other statuses but I'm not familiar with the internals
of the code base and don't want to spend too much time on this.
Suffice to say there should be different statuses reflecting the true condition
of Drill, see DRILL-6406 and DRILL-5990
> Document API /status responses, currently only "Running" is shown in docs
> -------------------------------------------------------------------------
>
> Key: DRILL-6407
> URL: https://issues.apache.org/jira/browse/DRILL-6407
> Project: Apache Drill
> Issue Type: Improvement
> Components: Client - HTTP, Documentation
> Affects Versions: 1.10.0, 1.11.0, 1.13.0
> Environment: MapR Enterprise 5.2 / 6.0
> Reporter: Hari Sekhon
> Priority: Major
>
> Request to document the results of the API /status endpoint. Currently only
> the "Running" result is shown in the docs here:
> https://drill.apache.org/docs/rest-api-introduction/#get-/status
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)