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

Jason Wen commented on HDFS-6869:
---------------------------------

I have the same question. When using CDH6.3.2 the secure DN log permission is 
600, but when using CDH5.16.2 it is 644.

> Logfile mode in secure datanode is expected to be 644
> -----------------------------------------------------
>
>                 Key: HDFS-6869
>                 URL: https://issues.apache.org/jira/browse/HDFS-6869
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Guo Ruijing
>            Priority: Major
>
> Logfile mode in secure datanode is expected to be 644.
> [root@centos64-2 hadoop-hdfs]# ll
> total 136
> -rw-r--r-- 1 hdfs hadoop 19455 Aug 18 22:40 
> hadoop-hdfs-journalnode-centos64-2.log
> -rw-r--r-- 1 hdfs hadoop   718 Aug 18 22:38 
> hadoop-hdfs-journalnode-centos64-2.out
> -rw-r--r-- 1 hdfs hadoop 62316 Aug 18 22:40 
> hadoop-hdfs-namenode-centos64-2.log
> -rw-r--r-- 1 hdfs hadoop   718 Aug 18 22:38 
> hadoop-hdfs-namenode-centos64-2.out
> -rw-r--r-- 1 hdfs hadoop 15485 Aug 18 22:39 hadoop-hdfs-zkfc-centos64-2.log
> -rw-r--r-- 1 hdfs hadoop   718 Aug 18 22:39 hadoop-hdfs-zkfc-centos64-2.out
> drwxr-xr-x 2 hdfs root    4096 Aug 18 22:38 hdfs
> -rw-r--r-- 1 hdfs hadoop     0 Aug 18 22:38 hdfs-audit.log
> -rw-r--r-- 1 hdfs hadoop 15029 Aug 18 22:40 SecurityAuth-hdfs.audit
> [root@centos64-2 hadoop-hdfs]#
> [root@centos64-2 hadoop-hdfs]#
> [root@centos64-2 hadoop-hdfs]# ll hdfs/
> total 52
> -rw------- 1 hdfs hadoop 43526 Aug 18 22:41 
> hadoop-hdfs-datanode-centos64-2.log   <<<   expected -rw-r--r-- (same with 
> namenode log)
> -rw-r--r-- 1 root root     734 Aug 18 22:38 
> hadoop-hdfs-datanode-centos64-2.out
> -rw------- 1 root root     343 Aug 18 22:38 jsvc.err
> -rw------- 1 root root       0 Aug 18 22:38 jsvc.out
> -rw------- 1 hdfs hadoop     0 Aug 18 22:38 SecurityAuth-hdfs.audit



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to