HCatalog
  1. HCatalog
  2. HCATALOG-389

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4.1
    • Fix Version/s: 0.5, 0.4.1
    • Component/s: client
    • Labels:
      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.

      1. HCATALOG-389.patch
        5 kB
        Mithun Radhakrishnan

        Activity

        Mithun Radhakrishnan created issue -
        Mithun Radhakrishnan made changes -
        Field Original Value New Value
        Attachment hcat_ping [ 12524350 ]
        Mithun Radhakrishnan made changes -
        Attachment hcat_ping [ 12524350 ]
        Mithun Radhakrishnan made changes -
        Attachment hcat_ping [ 12524362 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12524364 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12524364 ]
        Mithun Radhakrishnan made changes -
        Attachment hcat_ping [ 12524362 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12524365 ]
        Mithun Radhakrishnan made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12524365 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12525108 ]
        Mithun Radhakrishnan made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12525108 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12530626 ]
        Mithun Radhakrishnan made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Mithun Radhakrishnan made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12530626 ]
        Mithun Radhakrishnan made changes -
        Attachment HCATALOG-389.patch [ 12533135 ]
        Mithun Radhakrishnan made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Sushanth Sowmyan made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Vandana Ayyalasomayajula made changes -
        Fix Version/s 0.4.1 [ 12320255 ]
        Travis Crawford made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mithun Radhakrishnan
            Reporter:
            Mithun Radhakrishnan
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development