You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasad Chakka (JIRA)" <ji...@apache.org> on 2009/01/28 03:52:59 UTC

[jira] Created: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
--------------------------------------------------------------------------------------------------

                 Key: HIVE-255
                 URL: https://issues.apache.org/jira/browse/HIVE-255
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Clients
            Reporter: Prasad Chakka
            Assignee: Prasad Chakka
            Priority: Minor
         Attachments: hive-255.patch

Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao reassigned HIVE-255:
-------------------------------

    Assignee: Prasad Chakka  (was: Zheng Shao)

Everything is done with this jira. Assigned back to the author for computing stats in the future.

> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka reopened HIVE-255:
--------------------------------


user name is not getting propagated unless the hadoop.job.ugi information is supplied from hive command line. set hadoop.job.ugi is not having an effect because later calls to getUGI information use cached info instead of new. 

> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-255:
----------------------------

      Resolution: Fixed
    Release Note: HIVE-255. Propagate user name from hadoop.job.ugi to Hive metastore. (Prasad Chakka via zshao)  (was: if a query needs to be run as a different user from the current system user, set hadoop.job.ugi to 'username,groups')
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed revision 738406. Thanks Prasad!

> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Zheng Shao
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka updated HIVE-255:
-------------------------------

    Fix Version/s: 0.2.0
         Assignee: Zheng Shao  (was: Prasad Chakka)
     Release Note: if a query needs to be run as a different user from the current system user, set hadoop.job.ugi to 'username,groups'
           Status: Patch Available  (was: Open)

zheng, can you please review and commit?

> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Zheng Shao
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka updated HIVE-255:
-------------------------------

    Attachment: hive-255.patch

changed user for create table and alter table as well. Not it return error if user information is not available.

> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: hive-255.patch, hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka resolved HIVE-255.
--------------------------------

    Resolution: Fixed

> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: hive-255.patch, hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-255:
--------------------------------

    Fix Version/s: 0.3.0
                       (was: 0.6.0)

> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: hive-255.patch, hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670564#action_12670564 ] 

Zheng Shao commented on HIVE-255:
---------------------------------

Committed revision 740941. for trunk
Committed revision 740942. for branch 0.2.

Thanks Prasad.


> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: hive-255.patch, hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-255) User name is not propagated correctly when a hive server or a web client is issuing hive queries.

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka updated HIVE-255:
-------------------------------

    Attachment: hive-255.patch

also removed some templated warnings in HiveConf.java

> User name is not propagated correctly when a hive server or a web client is issuing hive queries. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-255
>                 URL: https://issues.apache.org/jira/browse/HIVE-255
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>         Attachments: hive-255.patch
>
>
> Hive should use the parameter set in hadoop.job.ugi config value instead of user.name which gets overwritten during job submission. Otherwise clients have to set both user.name and hadoop.job.ugi which is clunky.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.