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

Hemanth Yamijala updated ATLAS-513:
-----------------------------------
    Attachment: ATLAS-513.patch

Attaching a patch that should be applied on top of the latest patch on 
ATLAS-511 
(https://issues.apache.org/jira/secure/attachment/12795547/ATLAS-511-2.patch). 

The patch implements the following changes:
* All admin APIs are now passed through by the {{ActiveServerFilter}}.
* A new admin API {{/api/atlas/admin/status}} is introduced that simply returns 
the current status which is one of the {{ServiceState.ServiceStateValue}}s. 
* Introduced an {{AtlasClient}} API to read this version
* Introduced a python CMD line {{atlas_admin.py}} that when run with -status 
will print the status returned from the above APIs.
* I refactored some code from {{quick_start.py}} into a common utils file 
{{atlas_client_cmdline.py}} for the above.
* Tests / Javadocs are added.

This is blocked by ATLAS-511, so will keep it around until that is committed 
and then submit as PATCH_AVAILABLE and for review board. Interested folks can 
still take a look.

> Admin support for HA
> --------------------
>
>                 Key: ATLAS-513
>                 URL: https://issues.apache.org/jira/browse/ATLAS-513
>             Project: Atlas
>          Issue Type: Sub-task
>            Reporter: Hemanth Yamijala
>            Assignee: Hemanth Yamijala
>         Attachments: ATLAS-513.patch
>
>
> The following enhancements are proposed for the admin interface to manage HA:
> * Status of any atlas server instance via API and Atlas Admin UI.
> * Admin API to switch from active to passive.
> * Admin switch from passive to active - this must fail if there is another 
> active.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to