[
https://issues.apache.org/jira/browse/HDDS-11421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-11421.
-------------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
> Invalid token generated by "ozone dtutil get" command
> -----------------------------------------------------
>
> Key: HDDS-11421
> URL: https://issues.apache.org/jira/browse/HDDS-11421
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Reporter: Karn Kumar Singh
> Assignee: Chia-Chuan Ho
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> The "ozone dtutil get" command generates an invalid token when the o3 or ofs
> scheme is passed, while it does generate a valid token when passed the hdfs
> scheme.
> *Repro step:*
> # Create a token using the "ozone dtutil get" command and pass the o3 or ofs
> scheme
> *Log:*
> {code:java}
> # ozone dtutil get o3://ozone1/ token
> # ozone dtutil print token
> File: token
> # cat token
> HDTS
> # ozone dtutil get ofs://ozone1/ token1
> # ozone dtutil print token1
> File: token1
> # cat token1
> HDTS
> # ozone dtutil get hdfs://ns1 token_hdfs
> 24/09/05 12:58:23 INFO hdfs.DFSClient: Created token for hdfs:
> HDFS_DELEGATION_TOKEN [email protected], renewer=, realUser=,
> issueDate=1725541103043, maxDate=1726145903043, sequenceNumber=5,
> masterKeyId=11 on ha-hdfs:ns1
> # ozone dtutil print token_hdfs
> File: token_hdfs
> Token kind Service Renewer Exp date
> URL enc token
> --------------------------------------------------------------------------------
> HDFS_DELEGATION_TOKEN ha-hdfs:ns1 9/12/24, 12:58
> PM **********
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]