Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11029

hadoop.proxyuser.mapr.groups does not work to restrict the groups that can be impersonated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0, 0.14.0, 1.0.0, 1.2.0
    • 1.3.0, 2.0.0
    • HiveServer2
    • None

    Description

      In the core-site.xml, the hadoop.proxyuser.<user>.groups specifies the user groups which can be impersonated by the HS2 <user>. However, this does not work properly in Hive.

      In my core-site.xml, I have the following configs:
      <property>
      <name>hadoop.proxyuser.mapr.hosts</name>
      <value>*</value>
      </property>

      <property>
      <name>hadoop.proxyuser.mapr.groups</name>
      <value>root</value>
      </property>

      I would expect with this configuration that 'mapr' can impersonate only members of the Unix group 'root'. However if I submit a query as user 'jon' the query is running as user 'jon' even though 'mapr' should not be able to impersonate this user.

      Attachments

        1. HIVE-11029.patch
          1 kB
          Na Yang

        Activity

          People

            nyang Na Yang
            nyang Na Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: