[
https://issues.apache.org/jira/browse/MAPREDUCE-6638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15511982#comment-15511982
]
Karthik Kambatla commented on MAPREDUCE-6638:
---------------------------------------------
Patch looks pretty good. Really like the actionable log messages.
Couple of nits:
# In the following log message, s/recovery/recover:
{code}
if (reducerCount > 0 && spillEncrypted) {
LOG.info("Not attempting to recovery. Intermediate spill encryption" +
" is enabled.");
{code}
# Consider renaming {{attemptRecoveryIfNotFirstAttempt}} to
{{shouldAttemptRecoveryIfNotFirstAttempt}}. That does become quite long, which
makes me think: how about {{shouldAttemptRecovery}}? This method could also
check for the first attempt case and return false. And, the if condition
towards the end of {{processRecovery}} could include a check for first attempt.
What do you think?
> Do not attempt to recover jobs if encrypted spill is enabled
> ------------------------------------------------------------
>
> Key: MAPREDUCE-6638
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6638
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: applicationmaster
> Affects Versions: 2.7.2
> Reporter: Karthik Kambatla
> Assignee: Haibo Chen
> Attachments: mapreduce6638.001.patch, mapreduce6638.002.patch,
> mapreduce6638.003.patch, mapreduce6638.004.patch
>
>
> Post the fix to CVE-2015-1776, jobs with ecrypted spills enabled cannot be
> recovered if the AM fails. We should store the key some place safe so they
> can actually be recovered. If there is no "safe" place, at least we should
> restart the job by re-running all mappers/reducers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]