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 "Prabhu Joseph (Jira)" <ji...@apache.org> on 2021/06/22 05:55:00 UTC
[jira] [Updated] (MAPREDUCE-7355) Fix MRAppMaster to
getStagingAreaDir from Job Configuration
[ https://issues.apache.org/jira/browse/MAPREDUCE-7355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prabhu Joseph updated MAPREDUCE-7355:
-------------------------------------
Summary: Fix MRAppMaster to getStagingAreaDir from Job Configuration (was: Fix MRApps#getStagingAreaDir to fetch it from Job Configuration)
> Fix MRAppMaster to getStagingAreaDir from Job Configuration
> -----------------------------------------------------------
>
> Key: MAPREDUCE-7355
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7355
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: job submission
> Affects Versions: 3.3.0
> Reporter: Prabhu Joseph
> Assignee: Prabhu Joseph
> Priority: Major
>
> When JobClient (runs as yarn user) uses RM_DELEGATION_TOKEN (owner:oozie) to submit the job, client uses /mapreducestaging/yarn as staging directory whereas MRAppMaster uses /mapreducestaging/oozie. This leads to below failure
> {code}
> Job init failed : org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.io.FileNotFoundException: wasb://oozie-2021-06-21t13-57-29-724z@ooziehdistorage.blob.core.windows.net/mapreducestaging/oozie/.staging/job_1624284676187_0003/job.splitmetainfo: No such file or directory.
> at org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl$InitTransition.createSplits(JobImpl.java:1611)
> at org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl$InitTransition.transition(JobImpl.java:1473)
> at org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl$InitTransition.transition(JobImpl.java:1431)
> at org.apache.hadoop.yarn.state.StateMachineFactory$MultipleInternalArc.doTransition(StateMachineFactory.java:385)
> at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:302)
> at org.apache.hadoop.yarn.state.StateMachineFactory.access$500(StateMachineFactory.java:46)
> at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:487)
> at org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl.handle(JobImpl.java:1010)
> at org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl.handle(JobImpl.java:141)
> at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$JobEventDispatcher.handle(MRAppMaster.java:1544)
> at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceStart(MRAppMaster.java:1263)
> {code}
> MRApps#getStagingAreaDir can rely on Job Configuration mapreduce.job.dir to avoid this issue.
--
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