Package org.apache.hadoop.fs.viewfs
Interface MountTableConfigLoader
- All Known Implementing Classes:
HCFSMountTableConfigLoader
@Private
@Evolving
public interface MountTableConfigLoader
An interface for loading mount-table configuration. This class can have more
APIs like refreshing mount tables automatically etc.
-
Method Summary
Modifier and TypeMethodDescriptionvoidload(String mountTableConfigPath, Configuration conf) Loads the mount-table configuration into given configuration.
-
Method Details
-
load
Loads the mount-table configuration into given configuration.- Parameters:
mountTableConfigPath- - Path of the mount table. It can be a file or a directory in the case of multiple versions of mount-table files(Recommended option).conf- - Configuration object to add mount table.- Throws:
IOException- raised on errors performing I/O.
-