public class HadoopFileSystemFactory extends Object implements FileSystemFactory
FileSystemFactory
, hive need use job conf to create file system.Modifier and Type | Method and Description |
---|---|
FileSystem |
create(URI uri)
Creates a new file system for the given file system URI.
|
public FileSystem create(URI uri) throws IOException
FileSystemFactory
create
in interface FileSystemFactory
uri
- The URI that describes the file system.IOException
- Thrown if the file system could not be instantiated.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.