Class FileSystemUtils

java.lang.Object
net.sansa_stack.hadoop.util.FileSystemUtils

public class FileSystemUtils extends Object
  • Constructor Details

    • FileSystemUtils

      public FileSystemUtils()
  • Method Details

    • newInputStream

      public static InputStream newInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
      Throws:
      IOException
    • newInputStream

      public static InputStream newInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf) throws IOException
      Throws:
      IOException
    • newInputStream

      public static InputStream newInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.io.compress.CompressionCodecFactory compressionCodecFactory) throws IOException
      Throws:
      IOException