You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramachandran (Jira)" <ji...@apache.org> on 2023/04/20 10:57:00 UTC

[jira] [Updated] (RANGER-4195) Exposing the Ranger REST API is used to fetch the health check status of Ranger Admin

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

Ramachandran updated RANGER-4195:
---------------------------------
    Description: 
Exposing the Ranger REST API is used to fetch the health check status of Ranger Admin

 

RangerAdmin Health Check JSON Response look like (In the current implementation)
{
"status": "UP",
"components": {
"db": {
"status": "UP",
"details":

{ "database": "Oracle 21.3c", "validationQuery": "SELECT banner from v$version where rownum<2" }

}
}
}
In the future we can extend this health check API for other components like AuditHandler (Elastic search, Kafka,HDFS, Solr),KMS ,etc
Another Example :
{
"status": "UP",
"components": {
"db": {
"status": "UP",
"details":

{ "database": "Oracle 21.3c", "validationQuery": "SELECT banner from v$version where rownum<2" }

},
"auditProvider": {
"status": "UP",
"details":

{ "provider": "Elastic Search", "providerHealthCheckEndpoint": "http://localhost:9200/_cluster/health?pretty" }

}
}
}

  was:
Exposing the Ranger REST API is used to fetch the health check status of Ranger Admin

 

RangerAdmin Health Check JSON Response look like (In the current implementation)
{
"status": "UP",
"components": {
"db": {
"status": "UP",
"details": {
"database": "Oracle 21.3c",
"validationQuery": "SELECT banner from v$version where rownum<2"
}
}
}
}
In the future we can extend this health check API for other components like AuditHandler (Elastic search, Kafka,HDFS, Solr),KMS ,etc
Another Example :
{
"status": "UP",
"components": {
"db": {
"status": "UP",
"details": {
"database": "Oracle 21.3c",
"validationQuery": "SELECT banner from v$version where rownum<2"
}
},
"auditProvider": {
"status": "UP",
"details": {
"provider": "Elastic Search",
"providerHealthCheckEndpoint": "http://localhost:9200/_cluster/health?pretty"
}
}
}
}


> Exposing the Ranger REST API is used to fetch the health check status of Ranger Admin
> -------------------------------------------------------------------------------------
>
>                 Key: RANGER-4195
>                 URL: https://issues.apache.org/jira/browse/RANGER-4195
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>            Reporter: Ramachandran
>            Assignee: Ramachandran
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Exposing the Ranger REST API is used to fetch the health check status of Ranger Admin
>  
> RangerAdmin Health Check JSON Response look like (In the current implementation)
> {
> "status": "UP",
> "components": {
> "db": {
> "status": "UP",
> "details":
> { "database": "Oracle 21.3c", "validationQuery": "SELECT banner from v$version where rownum<2" }
> }
> }
> }
> In the future we can extend this health check API for other components like AuditHandler (Elastic search, Kafka,HDFS, Solr),KMS ,etc
> Another Example :
> {
> "status": "UP",
> "components": {
> "db": {
> "status": "UP",
> "details":
> { "database": "Oracle 21.3c", "validationQuery": "SELECT banner from v$version where rownum<2" }
> },
> "auditProvider": {
> "status": "UP",
> "details":
> { "provider": "Elastic Search", "providerHealthCheckEndpoint": "http://localhost:9200/_cluster/health?pretty" }
> }
> }
> }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)