Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19005

'conf.server' dir for HIVE1 and HIVE2 should have 700 permission and files in it should have 600 permission.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.1
    • 2.5.0
    • ambari-server
    • None

    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-rr-. 1 hive hadoop 6784 Nov 16 00:16 mapred-site.xml
      rw-rr-. 1 hive hadoop 0 Nov 16 00:16 hive-default.xml.template
      rw-rr-. 1 hive hadoop 0 Nov 16 00:16 hive-env.sh.template
      rw-rr-. 1 hive hadoop 2652 Nov 16 00:16 hive-exec-log4j.properties
      rw-rr-. 1 hive hadoop 3050 Nov 16 00:16 hive-log4j.properties
      rw-rr-. 1 hive hadoop 563 Nov 16 00:16 hivemetastore-site.xml
      rw-rr-. 1 hive hadoop 898 Nov 16 00:16 hadoop-metrics2-hivemetastore.properties
      rw-rr-. 1 hive hadoop 677 Nov 16 00:17 hiveserver2-site.xml
      rw-rr-. 1 hive hadoop 898 Nov 16 00:17 hadoop-metrics2-hiveserver2.properties
      rw-rr-. 1 hive hadoop 19625 Nov 16 09:22 hive-site.xml
      rw-rr-. 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-rr-. 1 hive hadoop 6784 Nov 16 08:10 mapred-site.xml
      rw-rr-. 1 hive hadoop 0 Nov 16 08:10 hive-default.xml.template
      rw-rr-. 1 hive hadoop 0 Nov 16 08:10 hive-env.sh.template
      rw-rr-. 1 hive hadoop 793 Nov 16 08:10 hiveserver2-site.xml
      rw-rr-. 1 hive hadoop 1675 Nov 16 08:10 hive-env.sh
      rw-rr-. 1 hive hadoop 6378 Nov 16 08:10 llap-daemon-log4j2.properties
      rw-rr-. 1 hive hadoop 2715 Nov 16 08:10 llap-cli-log4j2.properties
      rw-rr-. 1 hive hadoop 2757 Nov 16 08:10 hive-log4j2.properties
      rw-rr-. 1 hive hadoop 2287 Nov 16 08:10 hive-exec-log4j2.properties
      rw-rr-. 1 hive hadoop 1596 Nov 16 08:10 beeline-log4j2.properties
      rw-rr-. 1 hive hadoop 898 Nov 16 08:10 hadoop-metrics2-hiveserver2.properties
      rw-rr-. 1 hive hadoop 898 Nov 16 08:10 hadoop-metrics2-llapdaemon.properties
      rw-rr-. 1 hive hadoop 898 Nov 16 08:10 hadoop-metrics2-llaptaskscheduler.properties
      rw-rr-. 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
      -------------------------------------------------------------------------------------

      Attachments

        1. AMBARI-19005_trunk.patch
          52 kB
          Vitaly Brodetskyi
        2. AMBARI-19005.patch
          51 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              swapanshridhar Swapan Shridhar
              swapanshridhar Swapan Shridhar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: