Details
-
Type: Task
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: CDH4.5.0
-
Fix Version/s: None
-
Component/s: MapReduce
-
Labels:None
Description
It is currently not possible to configure the privacy of task attempt log directories (FsPermission is hardcoded to 700). This behavior is not currently configurable and is not consistent with other services' log files in the Hadoop ecosystem.
See below. 'userlogs' directory is readable by 'other', but not 'job_*' directory
-bash-4.1$ ls -lah /var/log/hadoop-0.20-mapreduce/userlogs/ | head -n7
total 1.1M
drwxr-xr-x. 236 mapred mapred 40K Jan 23 08:06 .
drwxrwxr-x. 3 root hadoop 4.0K Jan 17 17:52 ..
drwx-x--. 2 mapred mapred 12K Jan 21 11:49 job_201401131656_2697
drwx-x--. 2 mapred mapred 4.0K Jan 21 12:00 job_201401131656_2699
drwx-x--. 2 mapred mapred 4.0K Jan 21 12:00 job_201401131656_2700
drwx-x--. 2 mapred mapred 4.0K Jan 21 12:00 job_201401131656_2701