You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (JIRA)" <ji...@apache.org> on 2018/05/21 00:53:00 UTC

[jira] [Created] (IMPALA-7052) Impersonate the real user in reading/writing HDFS

Quanlong Huang created IMPALA-7052:
--------------------------------------

             Summary: Impersonate the real user in reading/writing HDFS
                 Key: IMPALA-7052
                 URL: https://issues.apache.org/jira/browse/IMPALA-7052
             Project: IMPALA
          Issue Type: New Feature
          Components: Backend, Security
            Reporter: Quanlong Huang


Currently, FileMetadata is loaded by catalogd using the process's username which is usually "impala". We judge the authorization using Sentry after the metadata is loaded. However, in the backend, when reading/writing HDFS, we still using the process's username but not the query's username (the real user).

In a Hadoop cluster without Sentry, it may only use ACLs for authorization. Our behavior prevents it to work correctly since the real username is not used in reading/writing HDFS.

We should provide a server level option for admins to decide whether to enable impersonation in Backend. If so, propagate the real username to RequestRange and impersonate the real user.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org