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 2019/05/09 14:08:00 UTC

[jira] [Commented] (MAPREDUCE-7201) Make Job History File Permissions configurable

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

Prabhu Joseph commented on MAPREDUCE-7201:
------------------------------------------

Have tested with mapreduce.jobhistory.intermediate-user-done-dir.permissions=775 and both intermediate user done dir and history files permission set correctly.

{code}
[ambari-qa@yarn-ats-1 ~]$ hadoop fs -ls /mr-history/tmp/
Found 1 items
drwxrwxr-x   - ambari-qa supergroup          0 2019-05-09 13:32 /mr-history/tmp/ambari-qa
[ambari-qa@yarn-ats-1 ~]$ 
[ambari-qa@yarn-ats-1 ~]$ hadoop fs -ls /mr-history/tmp/ambari-qa
Found 3 items
-rwxrwxr-x   3 ambari-qa supergroup      22926 2019-05-09 13:32 /mr-history/tmp/ambari-qa/job_1556909089920_0006-1557408730503-ambari%2Dqa-word+count-1557408748287-1-1-SUCCEEDED-default-1557408736193.jhist
-rwxrwxr-x   3 ambari-qa supergroup        444 2019-05-09 13:32 /mr-history/tmp/ambari-qa/job_1556909089920_0006.summary
-rwxrwxr-x   3 ambari-qa supergroup     220806 2019-05-09 13:32 /mr-history/tmp/ambari-qa/job_1556909089920_0006_conf.xml
{code}

> Make Job History File Permissions configurable
> ----------------------------------------------
>
>                 Key: MAPREDUCE-7201
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7201
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobhistoryserver
>    Affects Versions: 3.2.0
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>         Attachments: MAPREDUCE-7201-001.patch
>
>
> Job History File Permissions are hardcoded to 770. MAPREDUCE-7010 allows to configure the intermediate user directory permission but still the jhist file permission are not changed.



--
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