Preconditions.checkArgument(name != null, "Name cannot be null");
Preconditions.checkArgument(descriptor != null,
"Descriptor cannot be null");
if (exists(name)) {
throw new DatasetExistsException(
"Metadata already exists for dataset:" + name);
}
logger.info("Creating an external Hive table named: " + name);