Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4195

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 3.0.0
    • Ranger

    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" }

      }
      }
      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ramackri Ramachandran
            ramackri Ramachandran

            Dates

              Created:
              Updated:

              Slack

                Issue deployment