Preconditions.checkArgument(propsHeader != null, "Missing required 'type-meta' header.");
LOG.info("Creating dataset instance {}, type meta: {}, props: {}", name, typeMetaHeader, propsHeader);
DatasetProperties props = GSON.fromJson(propsHeader, DatasetProperties.class);
DatasetTypeMeta typeMeta = GSON.fromJson(typeMetaHeader, DatasetTypeMeta.class);
DatasetType type = dsFramework.getDatasetType(typeMeta, null);
if (type == null) {
String msg = String.format("Cannot instantiate dataset type using provided type meta: %s", typeMeta);