final String metaStorePrincipal) throws FalconException {
LOG.info("Checking if the service is alive for: " + catalogUrl);
try {
HCatClient client = getProxiedClient(catalogUrl, metaStorePrincipal);
HCatDatabase database = client.getDatabase("default");
return database != null;
} catch (HCatException e) {
throw new FalconException("Exception checking if the service is alive:" + e.getMessage(), e);
}
}