You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by "Allan Espinosa (BLOOMBERG/ 919 3RD A) via user" <us...@hive.apache.org> on 2026/05/26 13:04:57 UTC

[DISCUSS] HIVE-29630: hive.metastore.token.signature behavior

Hello,

Creating a thread as recommended by Okumin from ASF Slack. I opened https://issues.apache.org/jira/browse/HIVE-29630 a few days ago.

After digging at the code, the Hive-Metastore Client vs Server is behavior differently:

1. Metastore Client - uses hive.metastore.token.signature to find correct delegation tokens available in UserGroupInformation
2. Metastore Server - *does not* use hive.metastore.token.signature to issue delegation tokens.

Are there other cases where Hive delegation tokens are issues with the Token#service field set?

Thank you,
Allan


Re: [DISCUSS] HIVE-29630: hive.metastore.token.signature behavior

Posted by Shohei Okumiya <ok...@apache.org>.
Hi Allan,

Thanks for opening the ticket! I checked the related logic and
commented on my understanding around that point. Please feel free to
ask me if you have further questions.

Regards,
Okumin

On Tue, May 26, 2026 at 10:05 PM Allan Espinosa (BLOOMBERG/ 919 3RD A)
via user <us...@hive.apache.org> wrote:
>
> Hello,
>
> Creating a thread as recommended by Okumin from ASF Slack. I opened https://issues.apache.org/jira/browse/HIVE-29630 a few days ago.
>
> After digging at the code, the Hive-Metastore Client vs Server is behavior differently:
>
> 1. Metastore Client - uses hive.metastore.token.signature to find correct delegation tokens available in UserGroupInformation
> 2. Metastore Server - *does not* use hive.metastore.token.signature to issue delegation tokens.
>
> Are there other cases where Hive delegation tokens are issues with the Token#service field set?
>
> Thank you,
> Allan
>