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 Type
    Method
    Description
    void
    load(String mountTableConfigPath, Configuration conf)
    Loads the mount-table configuration into given configuration.
  • Method Details

    • load

      void load(String mountTableConfigPath, Configuration conf) throws IOException
      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.