kzk / webhdfs

Ruby client for Hadoop WebHDFS
Other
81 stars 46 forks source link

Impelement delegation token maxlifetime #45

Closed OhJuhun closed 5 months ago

OhJuhun commented 5 months ago

I am using the function to renew delegation tokens. However, if the max-lifetime setting is configured in Hadoop, the token can no longer be renewed and used, and a new token must be obtained. This PR is the implementation of that functionality.

tagomoris commented 5 months ago

LGTM. @OhJuhun Are you using this patch on your environment?

OhJuhun commented 5 months ago

@tagomoris yes. i use this with https://github.com/fluent/fluent-plugin-webhdfs/pull/92 on my envrionment. it works clearly.

tagomoris commented 5 months ago

@OhJuhun Thank you! I released v0.11.0.