public void dropCatalog(String catName, boolean ifExists) throws TException {
    DropCatalogRequest rqst = new DropCatalogRequest(catName);
    rqst.setIfExists(ifExists);
    client.drop_catalog(rqst);
  }
Swaps the first element of the metastoreUris array with a random element from the
remainder of the array.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java