-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-350: Added Kerberos to HDFS client #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| } | ||
| if (!config->kerb.empty()) { | ||
| hdfsBuilderSetKerbTicketCachePath(builder, config->kerb.c_str()); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if any of these 3 strings are empty?
cpp/src/arrow/io/hdfs.h
Outdated
| std::string user; | ||
|
|
||
| // TODO: Kerberos, etc. | ||
| std::string kerb; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give this a more descriptive name, like kerberos_ticket_path
python/pyarrow/io.pyx
Outdated
| host : NameNode. Set to "default" for fs.defaultFS from core-site.xml. | ||
| port : NameNode's port. Set to 0 for default or logical (HA) nodes. | ||
| user : Username when connecting to HDFS; None implies login user. | ||
| kerb : Path to Kerberos ticket cache. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above
|
|
||
| conf.host = tobytes(host) | ||
| if host is not None: | ||
| conf.host = tobytes(host) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is None a valid option?
|
A
I'm not sure why they chose to specify the default host with I'll rename the |
|
+1 |
No description provided.