@ Override public final void dropCatalog ( ClusterName targetCluster , CatalogName name ) throws UnsupportedException , ExecutionException { try { connectionHandler . startJob ( targetCluster . getName ( ) ) ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Dropping catalog [" + name . getName ( ) + "] in cluster [" + targetCluster . getName ( ) + "]" ) ; } dropCatalog ( name , connectionHandler . getConnection ( targetCluster . getName ( ) ) ) ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Catalog [" + name . getName ( ) + "] has been drepped successfully in cluster [" + targetCluster . getName ( ) + "]" ) ; } } finally { connectionHandler . endJob ( targetCluster . getName ( ) ) ; } }
This method drop a catalog .