public static void setDefaultUri(Configuration conf, URI uri) {
    conf.set(FS_DEFAULT_NAME_KEY, uri.toString());
  }
public static void setDefaultUri ( Configuration conf , URI uri ) { conf . set ( FS_DEFAULT_NAME_KEY , uri . toString ( ) ) ; }
Set the default filesystem URI in a configuration.
@param conf the configuration to alter
@param uri the new default filesystem uri