[jira] [Updated] (HIVE-22033) HiveServer2: fix delegation token renewal

2023-04-09 Thread Sankar Hariappan (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-22033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sankar Hariappan updated HIVE-22033:

Fix Version/s: 3.2.0

> HiveServer2: fix delegation token renewal
> -
>
> Key: HIVE-22033
> URL: https://issues.apache.org/jira/browse/HIVE-22033
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.3.5
>Reporter: Ion Alberdi
>Assignee: Ion Alberdi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.2.0, 4.0.0-alpha-1
>
> Attachments: HIVE-22033.2.patch, HIVE-22033.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
> depicted at
>  [https://github.com/criteo-forks/hive/pull/24]
> Reading the master branch of the project
>  
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
>  I think the same behavior is replicated there.
> Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does 
> not update the expiry date of a given token (as it does not get the updated 
> DelegationTokenInformation from *super.currentTokens*).
> This makes any call to renewToken ineffective (the expiry date of the token 
> is not postponed).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (HIVE-22033) HiveServer2: fix delegation token renewal

2022-09-08 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-22033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HIVE-22033:
--
Labels: pull-request-available  (was: )

> HiveServer2: fix delegation token renewal
> -
>
> Key: HIVE-22033
> URL: https://issues.apache.org/jira/browse/HIVE-22033
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.3.5
>Reporter: Ion Alberdi
>Assignee: Ion Alberdi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0, 4.0.0-alpha-1
>
> Attachments: HIVE-22033.2.patch, HIVE-22033.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
> depicted at
>  [https://github.com/criteo-forks/hive/pull/24]
> Reading the master branch of the project
>  
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
>  I think the same behavior is replicated there.
> Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does 
> not update the expiry date of a given token (as it does not get the updated 
> DelegationTokenInformation from *super.currentTokens*).
> This makes any call to renewToken ineffective (the expiry date of the token 
> is not postponed).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (HIVE-22033) HiveServer2: fix delegation token renewal

2020-03-09 Thread Szehon Ho (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-22033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szehon Ho updated HIVE-22033:
-
Fix Version/s: 4.0.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

Committed to master, thanks Ion for the contribution.

> HiveServer2: fix delegation token renewal
> -
>
> Key: HIVE-22033
> URL: https://issues.apache.org/jira/browse/HIVE-22033
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.3.5
>Reporter: Ion Alberdi
>Assignee: Ion Alberdi
>Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-22033.2.patch, HIVE-22033.patch
>
>
> Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
> depicted at
>  [https://github.com/criteo-forks/hive/pull/24]
> Reading the master branch of the project
>  
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
>  I think the same behavior is replicated there.
> Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does 
> not update the expiry date of a given token (as it does not get the updated 
> DelegationTokenInformation from *super.currentTokens*).
> This makes any call to renewToken ineffective (the expiry date of the token 
> is not postponed).



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


[jira] [Updated] (HIVE-22033) HiveServer2: fix delegation token renewal

2020-02-13 Thread Szehon Ho (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-22033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szehon Ho updated HIVE-22033:
-
Attachment: HIVE-22033.2.patch

> HiveServer2: fix delegation token renewal
> -
>
> Key: HIVE-22033
> URL: https://issues.apache.org/jira/browse/HIVE-22033
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.3.5
>Reporter: Ion Alberdi
>Assignee: Ion Alberdi
>Priority: Major
> Attachments: HIVE-22033.2.patch, HIVE-22033.patch
>
>
> Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
> depicted at
>  [https://github.com/criteo-forks/hive/pull/24]
> Reading the master branch of the project
>  
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
>  I think the same behavior is replicated there.
> Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does 
> not update the expiry date of a given token (as it does not get the updated 
> DelegationTokenInformation from *super.currentTokens*).
> This makes any call to renewToken ineffective (the expiry date of the token 
> is not postponed).



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


[jira] [Updated] (HIVE-22033) HiveServer2: fix delegation token renewal

2019-08-08 Thread Szehon Ho (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-22033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szehon Ho updated HIVE-22033:
-
Assignee: Ion Alberdi
  Status: Patch Available  (was: Open)

> HiveServer2: fix delegation token renewal
> -
>
> Key: HIVE-22033
> URL: https://issues.apache.org/jira/browse/HIVE-22033
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.3.5
>Reporter: Ion Alberdi
>Assignee: Ion Alberdi
>Priority: Major
> Attachments: HIVE-22033.patch
>
>
> Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
> depicted at
>  [https://github.com/criteo-forks/hive/pull/24]
> Reading the master branch of the project
>  
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
>  I think the same behavior is replicated there.
> Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does 
> not update the expiry date of a given token (as it does not get the updated 
> DelegationTokenInformation from *super.currentTokens*).
> This makes any call to renewToken ineffective (the expiry date of the token 
> is not postponed).



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (HIVE-22033) HiveServer2: fix delegation token renewal

2019-08-08 Thread Ion Alberdi (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-22033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ion Alberdi updated HIVE-22033:
---
Attachment: HIVE-22033.patch

> HiveServer2: fix delegation token renewal
> -
>
> Key: HIVE-22033
> URL: https://issues.apache.org/jira/browse/HIVE-22033
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.3.5
>Reporter: Ion Alberdi
>Priority: Major
> Attachments: HIVE-22033.patch
>
>
> Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
> depicted at
>  [https://github.com/criteo-forks/hive/pull/24]
> Reading the master branch of the project
>  
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
>  I think the same behavior is replicated there.
> Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does 
> not update the expiry date of a given token (as it does not get the updated 
> DelegationTokenInformation from *super.currentTokens*).
> This makes any call to renewToken ineffective (the expiry date of the token 
> is not postponed).



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (HIVE-22033) HiveServer2: fix delegation token renewal

2019-07-23 Thread Ion Alberdi (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-22033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ion Alberdi updated HIVE-22033:
---
Description: 
Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
depicted at
 [https://github.com/criteo-forks/hive/pull/24]

Reading the master branch of the project
 
[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
 I think the same behavior is replicated there.

Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does not 
update the expiry date of a given token (as it does not get the updated 
DelegationTokenInformation from *super.currentTokens*).

This makes any call to renewToken ineffective (the expiry date of the token is 
not postponed).

  was:
Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
depicted at
[https://github.com/criteo-forks/hive/pull/24]

Reading the master branch of the project
[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
I think the same behavior is replicated there.

Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does not 
update the expiry date of a given token, (as it does not get the updated 
DelegationTokenInformation from super.currentTokens).

Which make any call to renewToken ineffective (the expiry date of the token is 
not postponed).


> HiveServer2: fix delegation token renewal
> -
>
> Key: HIVE-22033
> URL: https://issues.apache.org/jira/browse/HIVE-22033
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.3.5
>Reporter: Ion Alberdi
>Priority: Major
>
> Hello, the issue we faced (and a proposal for a fix) in our hive instances is 
> depicted at
>  [https://github.com/criteo-forks/hive/pull/24]
> Reading the master branch of the project
>  
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TokenStoreDelegationTokenSecretManager.java#L147]
>  I think the same behavior is replicated there.
> Long story short, *TokenStoreDelegationTokenSecretManager.renewToken*, does 
> not update the expiry date of a given token (as it does not get the updated 
> DelegationTokenInformation from *super.currentTokens*).
> This makes any call to renewToken ineffective (the expiry date of the token 
> is not postponed).



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)