Adds Knox Support#12
Conversation
|
I'm sorry for late reply. About patch, I think that we should change API of def initialize(host='localhost', port=50070, username=nil, doas=nil, proxy_address=nil, proxy_port=nil, options={})
# check options[:username], options[:doas], ... , options[:knox_path], ...
# ...
end |
|
Knox is obviously relatively new, but is definitely shaping up to be the standard way to connect to a secure Kerberized cluster. Both Hortonworks and Cloudera now have it available. Regarding the initialize method this seems like a decent approach. Though it does seem arbitrary what goes in options and what goes as positioned arguments. Ruby's 2.0 named arguments would solve this but guessing you want your library to support as many Ruby versions as possible. |
We are using WebHDFS through a Knox gateway.
This requires:
Let us know if you have any questions/ feedback about this PR.
Thanks!