Ahmed Hussein created MAPREDUCE-7322:
----------------------------------------

             Summary: revisiting TestMRIntermediateDataEncryption 
                 Key: MAPREDUCE-7322
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7322
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: job submission, security, test
            Reporter: Ahmed Hussein


I was reviewing {{TestMRIntermediateDataEncryption}}. The unit test has 
actually little to do with encryption.
I have the following conclusion:
* Enabling/Disabling {{MRJobConfig.MR_ENCRYPTED_INTERMEDIATE_DATA}} does not 
change the behavior of the unit test.
* There are no spill files generated by either mappers/reducers
* Wrapping I/O streams with Crypto never happens during the execution of the 
unit test.

Unless I misunderstand the purpose of that unit test, I suggest that it gets 
re-implemented so that it validates encryption in spilled intermediate data.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to