You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2012/07/12 23:38:34 UTC

[jira] [Created] (HIVE-3255) Add DBTokenStore to store Delegation Tokens in DB

Ashutosh Chauhan created HIVE-3255:
--------------------------------------

             Summary: Add DBTokenStore to store Delegation Tokens in DB
                 Key: HIVE-3255
                 URL: https://issues.apache.org/jira/browse/HIVE-3255
             Project: Hive
          Issue Type: New Feature
          Components: Metastore, Security
    Affects Versions: 0.9.0, 0.10.0
            Reporter: Ashutosh Chauhan
            Assignee: Ashutosh Chauhan


Before HIVE-1696 metastore was completely stateless and all the data is in backend db. HIVE-1696 added delegation tokens for metastore which metastore needs to keep in memory. HIVE-2467 added support for storing delegation tokens in ZooKeeper via an interface {{DelegationTokenStore}}. This jira is about using DB backend for storing tokens which metastore uses for storing data. 

--
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-3255) Add DBTokenStore to store Delegation Tokens in DB

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

Ashutosh Chauhan updated HIVE-3255:
-----------------------------------

    Attachment: hive-3255_3.patch

Updated patch incorporating Mark and Prasad's comments.
                
> Add DBTokenStore to store Delegation Tokens in DB
> -------------------------------------------------
>
>                 Key: HIVE-3255
>                 URL: https://issues.apache.org/jira/browse/HIVE-3255
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore, Security
>    Affects Versions: 0.9.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-3255_2.patch, hive-3255_3.patch, hive-3255.patch
>
>
> Before HIVE-1696 metastore was completely stateless and all the data is in backend db. HIVE-1696 added delegation tokens for metastore which metastore needs to keep in memory. HIVE-2467 added support for storing delegation tokens in ZooKeeper via an interface {{DelegationTokenStore}}. This jira is about using DB backend for storing tokens which metastore uses for storing data. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-3255) Add DBTokenStore to store Delegation Tokens in DB

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

Mark Grover commented on HIVE-3255:
-----------------------------------

Looks good to me (non-committer). Thanks Ashutosh!
                
> Add DBTokenStore to store Delegation Tokens in DB
> -------------------------------------------------
>
>                 Key: HIVE-3255
>                 URL: https://issues.apache.org/jira/browse/HIVE-3255
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore, Security
>    Affects Versions: 0.9.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-3255_2.patch, hive-3255_3.patch, hive-3255.patch
>
>
> Before HIVE-1696 metastore was completely stateless and all the data is in backend db. HIVE-1696 added delegation tokens for metastore which metastore needs to keep in memory. HIVE-2467 added support for storing delegation tokens in ZooKeeper via an interface {{DelegationTokenStore}}. This jira is about using DB backend for storing tokens which metastore uses for storing data. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-3255) Add DBTokenStore to store Delegation Tokens in DB

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

Ashutosh Chauhan updated HIVE-3255:
-----------------------------------

    Attachment: hive-3255.patch

Updating with complete patch. Patch is ready for review.
                
> Add DBTokenStore to store Delegation Tokens in DB
> -------------------------------------------------
>
>                 Key: HIVE-3255
>                 URL: https://issues.apache.org/jira/browse/HIVE-3255
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore, Security
>    Affects Versions: 0.9.0, 0.10.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-3255.patch
>
>
> Before HIVE-1696 metastore was completely stateless and all the data is in backend db. HIVE-1696 added delegation tokens for metastore which metastore needs to keep in memory. HIVE-2467 added support for storing delegation tokens in ZooKeeper via an interface {{DelegationTokenStore}}. This jira is about using DB backend for storing tokens which metastore uses for storing data. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-3255) Add DBTokenStore to store Delegation Tokens in DB

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

Ashutosh Chauhan updated HIVE-3255:
-----------------------------------

    Attachment: hive-3255_4.patch

Patch refreshed for latest trunk. Really appreciate if some committer can take a look.
                
> Add DBTokenStore to store Delegation Tokens in DB
> -------------------------------------------------
>
>                 Key: HIVE-3255
>                 URL: https://issues.apache.org/jira/browse/HIVE-3255
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore, Security
>    Affects Versions: 0.9.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-3255_2.patch, hive-3255_3.patch, hive-3255_4.patch, hive-3255.patch
>
>
> Before HIVE-1696 metastore was completely stateless and all the data is in backend db. HIVE-1696 added delegation tokens for metastore which metastore needs to keep in memory. HIVE-2467 added support for storing delegation tokens in ZooKeeper via an interface {{DelegationTokenStore}}. This jira is about using DB backend for storing tokens which metastore uses for storing data. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-3255) Add DBTokenStore to store Delegation Tokens in DB

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

Ashutosh Chauhan updated HIVE-3255:
-----------------------------------

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

Review request at https://reviews.apache.org/r/7941/
                
> Add DBTokenStore to store Delegation Tokens in DB
> -------------------------------------------------
>
>                 Key: HIVE-3255
>                 URL: https://issues.apache.org/jira/browse/HIVE-3255
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore, Security
>    Affects Versions: 0.9.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-3255.patch
>
>
> Before HIVE-1696 metastore was completely stateless and all the data is in backend db. HIVE-1696 added delegation tokens for metastore which metastore needs to keep in memory. HIVE-2467 added support for storing delegation tokens in ZooKeeper via an interface {{DelegationTokenStore}}. This jira is about using DB backend for storing tokens which metastore uses for storing data. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-3255) Add DBTokenStore to store Delegation Tokens in DB

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

Ashutosh Chauhan commented on HIVE-3255:
----------------------------------------

A WIP patch is available for review on https://reviews.facebook.net/D4113 in case some one wants to provide a feedback on design. Some function bodies are not done yet, but those are mostly self contained and shouldn't hinder in design review.
                
> Add DBTokenStore to store Delegation Tokens in DB
> -------------------------------------------------
>
>                 Key: HIVE-3255
>                 URL: https://issues.apache.org/jira/browse/HIVE-3255
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore, Security
>    Affects Versions: 0.9.0, 0.10.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>
> Before HIVE-1696 metastore was completely stateless and all the data is in backend db. HIVE-1696 added delegation tokens for metastore which metastore needs to keep in memory. HIVE-2467 added support for storing delegation tokens in ZooKeeper via an interface {{DelegationTokenStore}}. This jira is about using DB backend for storing tokens which metastore uses for storing data. 

--
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-3255) Add DBTokenStore to store Delegation Tokens in DB

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

Ashutosh Chauhan updated HIVE-3255:
-----------------------------------

    Attachment: hive-3255_2.patch

Updated patch on latest trunk.
                
> Add DBTokenStore to store Delegation Tokens in DB
> -------------------------------------------------
>
>                 Key: HIVE-3255
>                 URL: https://issues.apache.org/jira/browse/HIVE-3255
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore, Security
>    Affects Versions: 0.9.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-3255_2.patch, hive-3255.patch
>
>
> Before HIVE-1696 metastore was completely stateless and all the data is in backend db. HIVE-1696 added delegation tokens for metastore which metastore needs to keep in memory. HIVE-2467 added support for storing delegation tokens in ZooKeeper via an interface {{DelegationTokenStore}}. This jira is about using DB backend for storing tokens which metastore uses for storing data. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira