@Nullable
  public static UnderFileSystemFactory find(
      String path, @Nullable UnderFileSystemConfiguration ufsConf,
      AlluxioConfiguration alluxioConf) {
    List<UnderFileSystemFactory> factories = findAll(path, ufsConf, alluxioConf);
    if (factories.isEmpty()) {
      LOG.warn("No Under File System Factory implementation supports the path {}. Please check if "
          + "the under storage path is valid.", path);
      return null;
    }
    LOG.debug("Selected Under File System Factory implementation {} for path {}",
        factories.get(0).getClass(), path);
    return factories.get(0);
  }
@ Nullable public static UnderFileSystemFactory find ( String path , @ Nullable UnderFileSystemConfiguration ufsConf , AlluxioConfiguration alluxioConf ) { List < UnderFileSystemFactory > factories = findAll ( path , ufsConf , alluxioConf ) ; if ( factories . isEmpty ( ) ) { LOG . warn ( "No Under File System Factory implementation supports the path {}. Please check if " + "the under storage path is valid." , path ) ; return null ; } LOG . debug ( "Selected Under File System Factory implementation {} for path {}" , factories . get ( 0 ) . getClass ( ) , path ) ; return factories . get ( 0 ) ; }
Finds the first Under File System factory that supports the given path.

@param path path
@param ufsConf optional configuration object for the UFS, may be null
@param alluxioConf Alluxio configuration
@return factory if available, null otherwise