You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Hari Sekhon (JIRA)" <ji...@apache.org> on 2018/05/11 15:12:00 UTC

[jira] [Updated] (DRILL-6408) Document Drill API /cluster.json states

     [ https://issues.apache.org/jira/browse/DRILL-6408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hari Sekhon updated DRILL-6408:
-------------------------------
    Environment: MapR 6.0 / Apache Drill in Docker  (was: Request to document the possible states returned by Drill API's newer /cluster.json endpoint:

[https://drill.apache.org/docs/rest-api-introduction/#get-/cluster.json]

Real world output shows an interesting 'state' field which is currently undocumented in the link above, but you can see here:
{code:java}
{
  "drillbits" : [ {
    "address" : "1939919665a9",
    "userPort" : "31010",
    "controlPort" : "31011",
    "dataPort" : "31012",
    "version" : "1.13.0",
    "current" : true,
    "versionMatch" : true,
    "state" : "ONLINE"
  } ],
  "currentVersion" : "1.13.0",
  "mismatchedVersions" : [ ],
  "userEncryptionEnabled" : false,
  "bitEncryptionEnabled" : false,
  "authEnabled" : false
}
{code})
    Description: 
Request to document the possible states returned by Drill API's newer /cluster.json endpoint:

[https://drill.apache.org/docs/rest-api-introduction/#get-/cluster.json]

Real world output shows an interesting 'state' field which is currently undocumented in the link above, but you can see here:
{code:java}
{
  "drillbits" : [ {
    "address" : "1939919665a9",
    "userPort" : "31010",
    "controlPort" : "31011",
    "dataPort" : "31012",
    "version" : "1.13.0",
    "current" : true,
    "versionMatch" : true,
    "state" : "ONLINE"
  } ],
  "currentVersion" : "1.13.0",
  "mismatchedVersions" : [ ],
  "userEncryptionEnabled" : false,
  "bitEncryptionEnabled" : false,
  "authEnabled" : false
}{code}

  was:MapR 6.0 / Apache Drill in Docker


> Document Drill API /cluster.json states
> ---------------------------------------
>
>                 Key: DRILL-6408
>                 URL: https://issues.apache.org/jira/browse/DRILL-6408
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components:  Server, Client - HTTP, Documentation, Execution - Monitoring, Tools, Build &amp; Test
>    Affects Versions: 1.13.0
>         Environment: MapR 6.0 / Apache Drill in Docker
>            Reporter: Hari Sekhon
>            Priority: Major
>
> Request to document the possible states returned by Drill API's newer /cluster.json endpoint:
> [https://drill.apache.org/docs/rest-api-introduction/#get-/cluster.json]
> Real world output shows an interesting 'state' field which is currently undocumented in the link above, but you can see here:
> {code:java}
> {
>   "drillbits" : [ {
>     "address" : "1939919665a9",
>     "userPort" : "31010",
>     "controlPort" : "31011",
>     "dataPort" : "31012",
>     "version" : "1.13.0",
>     "current" : true,
>     "versionMatch" : true,
>     "state" : "ONLINE"
>   } ],
>   "currentVersion" : "1.13.0",
>   "mismatchedVersions" : [ ],
>   "userEncryptionEnabled" : false,
>   "bitEncryptionEnabled" : false,
>   "authEnabled" : false
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)