List of usage examples for org.apache.hadoop.crypto CryptoOutputStream getWrappedStream
public OutputStream getWrappedStream()
From source file:com.mellanox.r4h.client.HdfsDataOutputStream.java
License:Apache License
public HdfsDataOutputStream(CryptoOutputStream out, FileSystem.Statistics stats, long startPosition) throws IOException { super(out, stats, startPosition); Preconditions.checkArgument(out.getWrappedStream() instanceof DFSOutputStream, "CryptoOutputStream should wrap a DFSOutputStream"); }