I checked the code. The HdfsFileStatus returned when creating of a file inside encryption zone will contain a FileEncryptionInfo. DFSClient will create a CryptoOutputStream which wraps a DFSOutputStream based on the FileEntryptionInfo.
Let me file issue to implement it. Just another piece of reflection codes... Thanks. 2016-05-01 13:06 GMT+08:00 Sean Busbey <bus...@apache.org>: > On Sat, Apr 30, 2016 at 1:34 PM, Stack <st...@duboce.net> wrote: > > On Sat, Apr 30, 2016 at 6:33 AM, Ted Yu <yuzhih...@gmail.com> wrote: > > > >> What about support for Transparent Data Encryption feature which was > >> introduced in Apache Hadoop 2.6.0 ? > >> > >> > > Transparent: "...(of a process or interface) functioning without the user > > being aware of its presence." > > St.Ack > > > > > > > > It's only transparent when the application is making use of the > libraries provided by the project. ;) > > HDFS Transparent Encryption is all on the client side: > > > http://hadoop.apache.org/docs/r2.6.4/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html >