You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (Created) (JIRA)" <ji...@apache.org> on 2012/04/19 03:32:43 UTC

[jira] [Created] (HIVE-2963) metastore delegation token is not getting used by hive commandline

metastore delegation token is not getting used by hive commandline
------------------------------------------------------------------

                 Key: HIVE-2963
                 URL: https://issues.apache.org/jira/browse/HIVE-2963
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.8.1
            Reporter: Thejas M Nair
             Fix For: 0.9.0, 0.10


When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HIVE-2963) metastore delegation token is not getting used by hive commandline

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

Ashutosh Chauhan resolved HIVE-2963.
------------------------------------

    Resolution: Duplicate

Same root cause as in HIVE-2918. No longer a problem after that went in.
                
> metastore delegation token is not getting used by hive commandline
> ------------------------------------------------------------------
>
>                 Key: HIVE-2963
>                 URL: https://issues.apache.org/jira/browse/HIVE-2963
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.10.0
>
>         Attachments: HIVE-2963.1.patch, HIVE-2963.2.patch
>
>
> When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
> This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2963) metastore delegation token is not getting used by hive commandline

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

Ashutosh Chauhan updated HIVE-2963:
-----------------------------------

        Fix Version/s:     (was: 0.9.0)
    Affects Version/s: 0.9.0
               Status: Open  (was: Patch Available)

This patch fails compilation of test target. You can reproduce it with {{ant clean package test}}
                
> metastore delegation token is not getting used by hive commandline
> ------------------------------------------------------------------
>
>                 Key: HIVE-2963
>                 URL: https://issues.apache.org/jira/browse/HIVE-2963
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: Thejas M Nair
>             Fix For: 0.10
>
>         Attachments: HIVE-2963.1.patch
>
>
> When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
> This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2963) metastore delegation token is not getting used by hive commandline

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

Thejas M Nair updated HIVE-2963:
--------------------------------

    Attachment: HIVE-2963.1.patch

HIVE-2963.1.patch - This is a trivial patch - it adds hive.metastore.token.signature to HiveConf.metaVars. I can't think of any non-trivial way to add an unit test for this.

                
> metastore delegation token is not getting used by hive commandline
> ------------------------------------------------------------------
>
>                 Key: HIVE-2963
>                 URL: https://issues.apache.org/jira/browse/HIVE-2963
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Thejas M Nair
>             Fix For: 0.9.0, 0.10
>
>         Attachments: HIVE-2963.1.patch
>
>
> When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
> This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2963) metastore delegation token is not getting used by hive commandline

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

Ashutosh Chauhan commented on HIVE-2963:
----------------------------------------

+1
                
> metastore delegation token is not getting used by hive commandline
> ------------------------------------------------------------------
>
>                 Key: HIVE-2963
>                 URL: https://issues.apache.org/jira/browse/HIVE-2963
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: Thejas M Nair
>             Fix For: 0.10.0
>
>         Attachments: HIVE-2963.1.patch, HIVE-2963.2.patch
>
>
> When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
> This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2963) metastore delegation token is not getting used by hive commandline

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

Thejas M Nair updated HIVE-2963:
--------------------------------

    Status: Patch Available  (was: Open)
    
> metastore delegation token is not getting used by hive commandline
> ------------------------------------------------------------------
>
>                 Key: HIVE-2963
>                 URL: https://issues.apache.org/jira/browse/HIVE-2963
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Thejas M Nair
>             Fix For: 0.9.0, 0.10
>
>         Attachments: HIVE-2963.1.patch
>
>
> When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
> This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2963) metastore delegation token is not getting used by hive commandline

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

Thejas M Nair updated HIVE-2963:
--------------------------------

    Attachment: HIVE-2963.2.patch

HIVE-2963.2.patch - fixes test compile problem
                
> metastore delegation token is not getting used by hive commandline
> ------------------------------------------------------------------
>
>                 Key: HIVE-2963
>                 URL: https://issues.apache.org/jira/browse/HIVE-2963
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: Thejas M Nair
>             Fix For: 0.10
>
>         Attachments: HIVE-2963.1.patch, HIVE-2963.2.patch
>
>
> When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
> This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HIVE-2963) metastore delegation token is not getting used by hive commandline

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

Ashutosh Chauhan reassigned HIVE-2963:
--------------------------------------

    Assignee: Thejas M Nair
    
> metastore delegation token is not getting used by hive commandline
> ------------------------------------------------------------------
>
>                 Key: HIVE-2963
>                 URL: https://issues.apache.org/jira/browse/HIVE-2963
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.10.0
>
>         Attachments: HIVE-2963.1.patch, HIVE-2963.2.patch
>
>
> When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
> This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira