Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-389

hcat_ping (script to check if HCatalog server is running/reachable)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.4.1
    • 0.5, 0.4.1
    • client
    • None

    Description

      It would be nice to have a script that checks if hcat_server is running, whether it's reachable and if it's "healthy". The current definition of "healthy" implies:
      1. HCatalog responds to requests to list tables/databases.
      2. Tables can be created/dropped in HCatalog.
      3. When managed tables are used, table-directories are created/deleted on the DFS.
      4. (Future ActiveMQ events are being posted correctly, when tables/partitions are created/dropped.

      Monitoring apps might use this script to detect when HCatalog is down.

      I'll post a trivial script that does 1-3, shortly.

      Attachments

        1. HCATALOG-389.patch
          5 kB
          Mithun Radhakrishnan

        Activity

          People

            mithun Mithun Radhakrishnan
            mithun Mithun Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: