@InterfaceAudience.Private @InterfaceStability.Unstable public final class IntermediateEncryptedStream extends Object
SpillCallBackInjector
helps in:
1- adding callbacks to capture the path of the spilled files.
2- Verifying the encryption when intermediate encryption is enabled.Modifier and Type | Method and Description |
---|---|
static void |
addSpillIndexFile(org.apache.hadoop.fs.Path indexFilename,
org.apache.hadoop.conf.Configuration conf) |
static SpillCallBackInjector |
resetSpillCBInjector() |
static SpillCallBackInjector |
setSpillCBInjector(SpillCallBackInjector spillInjector) |
static void |
validateSpillIndexFile(org.apache.hadoop.fs.Path indexFilename,
org.apache.hadoop.conf.Configuration conf) |
static org.apache.hadoop.fs.FSDataInputStream |
wrapIfNecessary(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FSDataInputStream in,
org.apache.hadoop.fs.Path inputPath) |
static org.apache.hadoop.fs.FSDataOutputStream |
wrapIfNecessary(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FSDataOutputStream out,
boolean closeOutputStream,
org.apache.hadoop.fs.Path outPath) |
static org.apache.hadoop.fs.FSDataOutputStream |
wrapIfNecessary(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FSDataOutputStream out,
org.apache.hadoop.fs.Path outPath) |
static InputStream |
wrapIfNecessary(org.apache.hadoop.conf.Configuration conf,
InputStream in,
long length,
org.apache.hadoop.fs.Path inputPath) |
public static org.apache.hadoop.fs.FSDataOutputStream wrapIfNecessary(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FSDataOutputStream out, org.apache.hadoop.fs.Path outPath) throws IOException
IOException
public static org.apache.hadoop.fs.FSDataOutputStream wrapIfNecessary(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FSDataOutputStream out, boolean closeOutputStream, org.apache.hadoop.fs.Path outPath) throws IOException
IOException
public static org.apache.hadoop.fs.FSDataInputStream wrapIfNecessary(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FSDataInputStream in, org.apache.hadoop.fs.Path inputPath) throws IOException
IOException
public static InputStream wrapIfNecessary(org.apache.hadoop.conf.Configuration conf, InputStream in, long length, org.apache.hadoop.fs.Path inputPath) throws IOException
IOException
public static void addSpillIndexFile(org.apache.hadoop.fs.Path indexFilename, org.apache.hadoop.conf.Configuration conf)
public static void validateSpillIndexFile(org.apache.hadoop.fs.Path indexFilename, org.apache.hadoop.conf.Configuration conf)
public static SpillCallBackInjector resetSpillCBInjector()
public static SpillCallBackInjector setSpillCBInjector(SpillCallBackInjector spillInjector)
Copyright © 2022 Apache Software Foundation. All rights reserved.