Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
fs-encryption (HADOOP-10150 and HDFS-6134)
-
None
Description
NullPointerException in CryptoInputStream while wrapped stream is not ByteBufferReadable.
Add tests for crypto streams using normal stream which does not support the additional interfaces that the Hadoop FileSystem streams implement (Seekable, PositionedReadable, ByteBufferReadable, HasFileDescriptor, CanSetDropBehind, CanSetReadahead, HasEnhancedByteBufferAccess, Syncable, CanSetDropBehind).