You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sai Hemanth Gantasala (Jira)" <ji...@apache.org> on 2021/09/29 04:20:00 UTC

[jira] [Created] (HIVE-25570) Hive should send full URL path for authorization for the command insert overwrite location

Sai Hemanth Gantasala created HIVE-25570:
--------------------------------------------

             Summary: Hive should send full URL path for authorization for the command insert overwrite location
                 Key: HIVE-25570
                 URL: https://issues.apache.org/jira/browse/HIVE-25570
             Project: Hive
          Issue Type: Bug
          Components: Authorization, HiveServer2
    Affects Versions: 4.0.0
            Reporter: Sai Hemanth Gantasala
            Assignee: Sai Hemanth Gantasala


For authorization, Hive is currently sending the path given as input from the user for the command, for eg
{code:java}
insert overwrite directory '/user/warehouse/tablespace/external/something/new/test_new_tb1' select * from test_tb1;
{code}
Hive is sending the path as '/user/warehouse/tablespace/external/something/new/test_new_tb1' 
Instead, Hive should send a fully qualified path for authorization,  for e.g: 'hdfs://hostname:port_name/user/warehouse/tablespace/external/something/new/test_new_tb1'



--
This message was sent by Atlassian Jira
(v8.3.4#803005)