You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/09/16 23:57:12 UTC

[GitHub] [incubator-druid] surekhasaharan opened a new pull request #8547: Add `sys.supervisors` table to system tables

surekhasaharan opened a new pull request #8547: Add `sys.supervisors` table to system tables
URL: https://github.com/apache/incubator-druid/pull/8547
 
 
   Fixes #7007
   Proposal issue #8463
   
   ### Description
   
   This PR adds a `sys.supervisors` table to the pool of system tables. This would allow to query the supervisors via DruidSQL.
   
   #### SupervisorResource changes
   - Added new queryParam `fullStatus` to `GET /druid/indexer/v1/supervisor`
   - Return a `List<SupervisorStatus>` instead of `Map<String,Object>` from `specGetAll`
   - Added class SupervisorStatus
   
   ####  `SystemSchema` changes
   - Added `SupervisorTable` class to `SystemSchema` to contain supervisor specific code
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added documentation for new or modified features or behaviors.
   - [x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
   - [x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
   - [x] added unit tests or modified existing tests to cover new code paths.
   - [x] been tested in a test Druid cluster.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org