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.