Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3554

Use catalog's principal to talk to sentry in kerberized Impala clusters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.2, Impala 2.3.0, Impala 2.5.0, Impala 2.4.0, Impala 2.6.0
    • Impala 2.6.0
    • Catalog
    • None

    Description

      Currently we use the OS username which spawns the catalog process to interact with Sentry [1]. In kerberized clusters, this should be extracted from the principal. In most CM managed clusters, this shouldn't matter, as both the usernames are same. However some setups may not choose to use this default config.

      Workaround: Grant the OS username the required super user permissions till this is fixed.

      <property>
      <name>hadoop.user.group.static.mapping.overrides</name>
      <value><username>=<SENTRY_ADMIN_GROUP></value>
      </property>
      

      [1] https://github.com/cloudera/Impala/blob/cdh5-trunk/fe/src/main/java/com/cloudera/impala/util/SentryProxy.java#L70

      Attachments

        Activity

          People

            bharathv Bharath Vissapragada
            bharathv Bharath Vissapragada
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: