Hari Sekhon created DRILL-6408:
----------------------------------

             Summary: 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 & Test
    Affects Versions: 1.13.0
         Environment: 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}
            Reporter: Hari Sekhon


MapR 6.0 / Apache Drill in Docker



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

Reply via email to