Details
Description
FileStatus should have a 'boolean isEncrypted()' method. (it was in the context of discussing with AndreW about FileStatus being a Writable).
Having this method would allow MR JobSubmitter do the following:
BOOLEAN intermediateEncryption = false
IF jobconf.contains("mr.intermidate.encryption") THEN
intermediateEncryption = jobConf.getBoolean("mr.intermidate.encryption")
ELSE
IF (I/O)Format INSTANCEOF File(I/O)Format THEN
intermediateEncryption = ANY File(I/O)Format HAS a Path with status isEncrypted()==TRUE
FI
jobConf.setBoolean("mr.intermidate.encryption", intermediateEncryption)
FI
Attachments
Attachments
Issue Links
- is depended upon by
-
HDFS-7047 Expose FileStatus#isEncrypted in libhdfs
- Closed
-
HADOOP-14223 Extend FileStatus#toString() to include details like Erasure Coding and Encryption
- Resolved
- is related to
-
HADOOP-11026 add FileSystem contract specification for FSDataInputStream and FSDataOutputStream#isEncrypted
- Closed