[ 
https://issues.apache.org/jira/browse/AMBARI-19005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitaly Brodetskyi updated AMBARI-19005:
---------------------------------------
    Attachment:     (was: AMBARI-19005.patch)

> 'conf.server' dir for HIVE1 and HIVE2 should have 700 permission and files in 
> it should have 600 permission.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19005
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19005
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.1
>            Reporter: Swapan Shridhar
>            Assignee: Swapan Shridhar
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19005.patch
>
>
> **Existing permissions for Hive1 and Hive2's 'conf.server' and files in it 
> were :**
> **hive1:**
> -------------------------------------------------------------------------------------
> $ ls -ltr /usr/hdp/current/hive-server2/conf/ | grep conf.server
> drwxr-xr-x. 2 hive hadoop   4096 Nov 22 00:17 conf.server
> $ ls -ltr /usr/hdp/current/hive-server2/conf/conf.server/
> total 56
> -rw-r--r--. 1 hive hadoop  6784 Nov 16 00:16 mapred-site.xml
> -rw-r--r--. 1 hive hadoop     0 Nov 16 00:16 hive-default.xml.template
> -rw-r--r--. 1 hive hadoop     0 Nov 16 00:16 hive-env.sh.template
> -rw-r--r--. 1 hive hadoop  2652 Nov 16 00:16 hive-exec-log4j.properties
> -rw-r--r--. 1 hive hadoop  3050 Nov 16 00:16 hive-log4j.properties
> -rw-r--r--. 1 hive hadoop   563 Nov 16 00:16 hivemetastore-site.xml
> -rw-r--r--. 1 hive hadoop   898 Nov 16 00:16 
> hadoop-metrics2-hivemetastore.properties
> -rw-r--r--. 1 hive hadoop   677 Nov 16 00:17 hiveserver2-site.xml
> -rw-r--r--. 1 hive hadoop   898 Nov 16 00:17 
> hadoop-metrics2-hiveserver2.properties
> -rw-r--r--. 1 hive hadoop 19625 Nov 16 09:22 hive-site.xml
> -rw-r--r--. 1 hive hadoop  2163 Nov 16 10:08 hive-env.sh
> -------------------------------------------------------------------------------------
> **hive2:**
> -------------------------------------------------------------------------------------
> $ ls -ltr /usr/hdp/current/hive-server2-hive2/conf/ | grep conf.server
> drwxr-xr-x. 2 hive hadoop   4096 Nov 22 08:10 conf.server
> $ ls -ltr /etc/hive2/conf/conf.server/
> total 76
> -rw-r--r--. 1 hive hadoop  6784 Nov 16 08:10 mapred-site.xml
> -rw-r--r--. 1 hive hadoop     0 Nov 16 08:10 hive-default.xml.template
> -rw-r--r--. 1 hive hadoop     0 Nov 16 08:10 hive-env.sh.template
> -rw-r--r--. 1 hive hadoop   793 Nov 16 08:10 hiveserver2-site.xml
> -rw-r--r--. 1 hive hadoop  1675 Nov 16 08:10 hive-env.sh
> -rw-r--r--. 1 hive hadoop  6378 Nov 16 08:10 llap-daemon-log4j2.properties
> -rw-r--r--. 1 hive hadoop  2715 Nov 16 08:10 llap-cli-log4j2.properties
> -rw-r--r--. 1 hive hadoop  2757 Nov 16 08:10 hive-log4j2.properties
> -rw-r--r--. 1 hive hadoop  2287 Nov 16 08:10 hive-exec-log4j2.properties
> -rw-r--r--. 1 hive hadoop  1596 Nov 16 08:10 beeline-log4j2.properties
> -rw-r--r--. 1 hive hadoop   898 Nov 16 08:10 
> hadoop-metrics2-hiveserver2.properties
> -rw-r--r--. 1 hive hadoop   898 Nov 16 08:10 
> hadoop-metrics2-llapdaemon.properties
> -rw-r--r--. 1 hive hadoop   898 Nov 16 08:10 
> hadoop-metrics2-llaptaskscheduler.properties
> -rw-r--r--. 1 hive hadoop 23688 Nov 22 20:27 hive-site.xml
> -------------------------------------------------------------------------------------
> **New updated permissions for Hive1 and Hive2's 'conf.server' and files in it 
> are :**
> **hive1:**
> -------------------------------------------------------------------------------------
> $ ls -ltr /usr/hdp/current/hive-server2/conf/ | grep conf.server
> drwx------. 2 hive hadoop   4096 Nov 16 00:17 conf.server
> $ ls -ltr /usr/hdp/current/hive-server2/conf/conf.server
> total 56
> -rw-------. 1 hive hadoop     0 Nov 16 00:16 hive-default.xml.template
> -rw-------. 1 hive hadoop     0 Nov 16 00:16 hive-env.sh.template
> -rw-------. 1 hive hadoop  2652 Nov 16 00:16 hive-exec-log4j.properties
> -rw-------. 1 hive hadoop  3050 Nov 16 00:16 hive-log4j.properties
> -rw-------. 1 hive hadoop   563 Nov 16 00:16 hivemetastore-site.xml
> -rw-------. 1 hive hadoop   898 Nov 16 00:16 
> hadoop-metrics2-hivemetastore.properties
> -rw-------. 1 hive hadoop   677 Nov 16 00:17 hiveserver2-site.xml
> -rw-------. 1 hive hadoop   898 Nov 16 00:17 
> hadoop-metrics2-hiveserver2.properties
> -rw-------. 1 hive hadoop 19625 Nov 16 09:22 hive-site.xml
> -rw-------. 1 hive hadoop  6781 Nov 23 22:54 mapred-site.xml
> -rw-------. 1 hive hadoop  2163 Nov 28 23:31 hive-env.sh
> -------------------------------------------------------------------------------------
> **hive2:**
> -------------------------------------------------------------------------------------
> $ ls -ltr /usr/hdp/current/hive-server2-hive2/conf/ | grep conf.server
> drwx------. 2 hive hadoop   4096 Nov 23 21:18 conf.server
> $ ls -ltr /usr/hdp/current/hive-server2-hive2/conf/conf.server/
> total 76
> -rw-------. 1 hive hadoop     0 Nov 16 08:10 hive-default.xml.template
> -rw-------. 1 hive hadoop     0 Nov 16 08:10 hive-env.sh.template
> -rw-------. 1 hive hadoop   793 Nov 16 08:10 hiveserver2-site.xml
> -rw-------. 1 hive hadoop  1675 Nov 16 08:10 hive-env.sh
> -rw-------. 1 hive hadoop  6378 Nov 16 08:10 llap-daemon-log4j2.properties
> -rw-------. 1 hive hadoop  2715 Nov 16 08:10 llap-cli-log4j2.properties
> -rw-------. 1 hive hadoop  2757 Nov 16 08:10 hive-log4j2.properties
> -rw-------. 1 hive hadoop  2287 Nov 16 08:10 hive-exec-log4j2.properties
> -rw-------. 1 hive hadoop  1596 Nov 16 08:10 beeline-log4j2.properties
> -rw-------. 1 hive hadoop   898 Nov 16 08:10 
> hadoop-metrics2-hiveserver2.properties
> -rw-------. 1 hive hadoop   898 Nov 16 08:10 
> hadoop-metrics2-llapdaemon.properties
> -rw-------. 1 hive hadoop   898 Nov 16 08:10 
> hadoop-metrics2-llaptaskscheduler.properties
> -rw-------. 1 hive hadoop  6781 Nov 23 21:32 mapred-site.xml
> -rw-------. 1 hive hadoop 23667 Nov 29 00:12 hive-site.xml
> -------------------------------------------------------------------------------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to