You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Swapan Shridhar <ss...@hortonworks.com> on 2016/11/29 01:23:55 UTC

Review Request 54144: AMBARI-19005. 'conf.server' dir for HIVE1 and HIVE2 should have 700 permission and files in it should have 600 permission.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54144/
-----------------------------------------------------------

Review request for Ambari, Alejandro Fernandez and Sumit Mohanty.


Bugs: AMBARI-19005
    https://issues.apache.org/jira/browse/AMBARI-19005


Repository: ambari


Description
-------

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


Diffs
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py bcc598a 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_interactive.py 298db2a 

Diff: https://reviews.apache.org/r/54144/diff/


Testing
-------

Tested manually.
Jenkins pending.


Thanks,

Swapan Shridhar


Re: Review Request 54144: AMBARI-19005. 'conf.server' dir for HIVE1 and HIVE2 should have 700 permission and files in it should have 600 permission.

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54144/#review157354
-----------------------------------------------------------


Ship it!




Ship It!

- Alejandro Fernandez


On Nov. 30, 2016, 12:11 a.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54144/
> -----------------------------------------------------------
> 
> (Updated Nov. 30, 2016, 12:11 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-19005
>     https://issues.apache.org/jira/browse/AMBARI-19005
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> #=============================================================================
> 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
> -------------------------------------------------------------------------------------
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py bcc598a 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_interactive.py 298db2a 
> 
> Diff: https://reviews.apache.org/r/54144/diff/
> 
> 
> Testing
> -------
> 
> Tested manually.
> Jenkins pending.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 54144: AMBARI-19005. 'conf.server' dir for HIVE1 and HIVE2 should have 700 permission and files in it should have 600 permission.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54144/
-----------------------------------------------------------

(Updated Nov. 30, 2016, 12:11 a.m.)


Review request for Ambari, Alejandro Fernandez and Sumit Mohanty.


Changes
-------

Updated: Using realpaths.


Bugs: AMBARI-19005
    https://issues.apache.org/jira/browse/AMBARI-19005


Repository: ambari


Description
-------

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


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py bcc598a 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_interactive.py 298db2a 

Diff: https://reviews.apache.org/r/54144/diff/


Testing
-------

Tested manually.
Jenkins pending.


Thanks,

Swapan Shridhar


Re: Review Request 54144: AMBARI-19005. 'conf.server' dir for HIVE1 and HIVE2 should have 700 permission and files in it should have 600 permission.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54144/
-----------------------------------------------------------

(Updated Nov. 29, 2016, 9:05 p.m.)


Review request for Ambari, Alejandro Fernandez and Sumit Mohanty.


Changes
-------

Updated as per suggestions by Alejandro.


Bugs: AMBARI-19005
    https://issues.apache.org/jira/browse/AMBARI-19005


Repository: ambari


Description
-------

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


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py bcc598a 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_interactive.py 298db2a 

Diff: https://reviews.apache.org/r/54144/diff/


Testing
-------

Tested manually.
Jenkins pending.


Thanks,

Swapan Shridhar


Re: Review Request 54144: AMBARI-19005. 'conf.server' dir for HIVE1 and HIVE2 should have 700 permission and files in it should have 600 permission.

Posted by Swapan Shridhar <ss...@hortonworks.com>.

> On Nov. 29, 2016, 1:27 a.m., Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py, line 115
> > <https://reviews.apache.org/r/54144/diff/1/?file=1571584#file1571584line115>
> >
> >     Just calculate the mode once.

Updated the review.


- Swapan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54144/#review157186
-----------------------------------------------------------


On Nov. 29, 2016, 9:05 p.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54144/
> -----------------------------------------------------------
> 
> (Updated Nov. 29, 2016, 9:05 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-19005
>     https://issues.apache.org/jira/browse/AMBARI-19005
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> #=============================================================================
> 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
> -------------------------------------------------------------------------------------
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py bcc598a 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_interactive.py 298db2a 
> 
> Diff: https://reviews.apache.org/r/54144/diff/
> 
> 
> Testing
> -------
> 
> Tested manually.
> Jenkins pending.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 54144: AMBARI-19005. 'conf.server' dir for HIVE1 and HIVE2 should have 700 permission and files in it should have 600 permission.

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54144/#review157186
-----------------------------------------------------------




ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py (line 115)
<https://reviews.apache.org/r/54144/#comment227621>

    Just calculate the mode once.


- Alejandro Fernandez


On Nov. 29, 2016, 1:23 a.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54144/
> -----------------------------------------------------------
> 
> (Updated Nov. 29, 2016, 1:23 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-19005
>     https://issues.apache.org/jira/browse/AMBARI-19005
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> #=============================================================================
> 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
> -------------------------------------------------------------------------------------
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py bcc598a 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_interactive.py 298db2a 
> 
> Diff: https://reviews.apache.org/r/54144/diff/
> 
> 
> Testing
> -------
> 
> Tested manually.
> Jenkins pending.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>