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 "Wangda Tan (JIRA)" <ji...@apache.org> on 2018/09/24 20:29:00 UTC

[jira] [Commented] (MAPREDUCE-7125) JobResourceUploader creates LocalFileSystem when it's not necessary

    [ https://issues.apache.org/jira/browse/MAPREDUCE-7125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626420#comment-16626420 ] 

Wangda Tan commented on MAPREDUCE-7125:
---------------------------------------

Fix looks good, +1, committing the patch.

> JobResourceUploader creates LocalFileSystem when it's not necessary 
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-7125
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7125
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>            Reporter: Peter Cseh
>            Assignee: Peter Cseh
>            Priority: Major
>         Attachments: MAPREDUCE-7125.001.patch
>
>
> When the property {{mapreduce.job.log4j-properties-file}} is set a local filesystem is created even if it's never used:
> https://github.com/apache/hadoop/blob/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobResourceUploader.java#L858-L866
> The localFS should only be created when required.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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