[ https://issues.apache.org/jira/browse/MAPREDUCE-7372?focusedWorklogId=732135&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-732135 ]
ASF GitHub Bot logged work on MAPREDUCE-7372: --------------------------------------------- Author: ASF GitHub Bot Created on: 24/Feb/22 05:32 Start Date: 24/Feb/22 05:32 Worklog Time Spent: 10m Work Description: skysiders opened a new pull request #4026: URL: https://github.com/apache/hadoop/pull/4026 MAPREDUCE-7372.MapReduce set permission too late in copyJar method ### Description of PR setReplication needs write permission , if umask too restrict , the project will fail, so we need to adjust the order. ### How was this patch tested? Any MapReduce task with a strict umask (such as user set umask with 0600) can trigger it. ### For code changes: - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')? - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 732135) Remaining Estimate: 0h Time Spent: 10m > 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 > Attachments: 1.patch, MAPREDUCE-7372.patch > > Time Spent: 10m > 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.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org