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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/11 15:52:00 UTC

[jira] [Work logged] (MAPREDUCE-7372) MapReduce set permission too late in copyJar method

     [ https://issues.apache.org/jira/browse/MAPREDUCE-7372?focusedWorklogId=769159&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-769159 ]

ASF GitHub Bot logged work on MAPREDUCE-7372:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/May/22 15:51
            Start Date: 11/May/22 15:51
    Worklog Time Spent: 10m 
      Work Description: skysiders commented on PR #4026:
URL: https://github.com/apache/hadoop/pull/4026#issuecomment-1123955464

   > yetus isn't happy because there's no test.
   > 
   > could you see an _easy_ way to add one here?
   
   Hi @steveloughran ,Thanks for your review. This issue seem not to test because it seem's a logic problem here.Could you have any suggestion here to write UT?




Issue Time Tracking
-------------------

    Worklog Id:     (was: 769159)
    Time Spent: 50m  (was: 40m)

> MapReduce set permission too late in copyJar method
> ---------------------------------------------------
>
>                 Key: MAPREDUCE-7372
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7372
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 3.3.1
>            Reporter: Zhang Dongsheng
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: MAPREDUCE-7372.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> while execute copyJar in JobResourceUploader .the setPermission running after setReplication,but setReplication need permission first.So if we set restrict umask in project such as 0600, the mapreduce process will fail.
> In patch file , I put setPermisson before setReplication.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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