checkExists(rootFileSystem, expectedPath); return expectedPath; } catch (DatasetNotFoundException e) { Path backwardCompatiblePath = new Path(rootDirectory, new Path( name.replace('.', Path.SEPARATOR_CHAR), METADATA_DIRECTORY)); checkExists(rootFileSystem, backwardCompatiblePath); return backwardCompatiblePath; } catch (DatasetNotFoundException _) { checkExists(rootFileSystem, expectedPath); return expectedPath;
checkExists(getFileSytem(), schemaPath);
DatasetDescriptor descriptor) { checkExists(fs, metadataLocation);