@Override public void dropDataset(MetadataTransactionContext ctx, String dataverseName, String datasetName) throws AlgebricksException { try { metadataNode.dropDataset(ctx.getTxnId(), dataverseName, datasetName); } catch (RemoteException e) { throw new MetadataException(ErrorCode.REMOTE_EXCEPTION_WHEN_CALLING_METADATA_NODE, e); } // Drops the dataset from cache ctx.dropDataset(dataverseName, datasetName); }