Skip to content

Commit

Permalink
update readme for max-lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
OhJuhun authored Mar 12, 2024
1 parent c8c279b commit 032c462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ Note that net/https and openssl libraries must be available:
Note that [gssapi](https://github.com/zenchild/gssapi) library must be available:

client = WebHDFS::Client.new('hostname', 14000)
# or if you want to use client delegation token with renewing per 8 hours
client = WebHDFS::Client.new('hostname', 14000, username, nil, nil, nil, {}, 8)
# or if you want to use client delegation token with renewing per 8 hours and delegation token max-lifetime is 7 days
client = WebHDFS::Client.new('hostname', 14000, username, nil, nil, nil, {}, 8, 168)

client.kerberos = true
client.kerberos_keytab = "/path/to/project.keytab"
Expand Down

0 comments on commit 032c462

Please sign in to comment.