You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ahmed Hussein (Jira)" <ji...@apache.org> on 2021/02/20 01:12:00 UTC

[jira] [Created] (MAPREDUCE-7322) revisiting TestMRIntermediateDataEncryption

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org