Test file write/read, syncable, positioned read, seek and others for Crypto streams.
Crypto input and output streams implementing Hadoop stream interfaces
+1 thanks Yi, I committed this to the branch.
Andrew Wang, thanks for your good comments. I update the patch for them.
Hi Yi, overall looks good, few small comments:
HDFS side test cases for Crypto streams.
Refine TestHdfsCryptoStreams extends CryptoStreamsTestBase.
1. Test crypto file writing with different buffer size.
2. Test crypto file reading with different buffer size.
3. Test hflush/hsync of crypto output stream, and with different buffer size.
4. Test positioned read of crypto file.
5. Test seek to different positions for crypto file.
6. Test get file position of crypto file.
7. Test skip operations for crypto file.
This test case is to verify basic functionality for crypto streams in HADOOP-10603.