@Override
  public SimpleHadoopFilesystemConfigStore createConfigStore(URI configKey) throws ConfigStoreCreationException {
    FileSystem fs = createFileSystem(configKey);
    URI physicalStoreRoot = getStoreRoot(fs, configKey);
    URI logicalStoreRoot = URI.create(getSchemePrefix() + physicalStoreRoot);
    return new SimpleHadoopFilesystemConfigStore(fs, physicalStoreRoot, logicalStoreRoot);
  }
@ Override public SimpleHadoopFilesystemConfigStore createConfigStore ( URI configKey ) throws ConfigStoreCreationException { FileSystem fs = createFileSystem ( configKey ) ; URI physicalStoreRoot = getStoreRoot ( fs , configKey ) ; URI logicalStoreRoot = URI . create ( getSchemePrefix ( ) + physicalStoreRoot ) ; return new SimpleHadoopFilesystemConfigStore ( fs , physicalStoreRoot , logicalStoreRoot ) ; }
Creates a {@link SimpleHadoopFilesystemConfigStore} for the given {@link URI}. The {@link URI} specified should be the fully
qualified path to the dataset in question. For example,
{@code simple-hdfs://[authority]:[port][path-to-config-store][path-to-dataset]}. It is important to note that the
path to the config store on HDFS must also be specified. The combination
{@code [path-to-config-store][path-to-dataset]} need not specify an actual {@link Path} on HDFS.

<p>
If the {@link URI} does not contain an authority, a default authority and root directory are provided. The
default authority is taken from the NameNode {@link URI} the current process is co-located with. The default path
is "/user/[current-user]/".
</p>

@param  configKey       The URI of the config key that needs to be accessed.

@return a {@link SimpleHadoopFilesystemConfigStore} configured with the the given {@link URI}.

@throws ConfigStoreCreationException if the {@link SimpleHadoopFilesystemConfigStore} could not be created.