kzk / webhdfs

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

add ssl support #9

Closed skaji closed 9 years ago

skaji commented 9 years ago

address #8 This pull request adds ssl support.

tagomoris commented 9 years ago

LGTM. @shoichikaji Do you use this patch on your environment? @kzk Could you check this code?

skaji commented 9 years ago

Unfortunately my httpfs server requires not only SSL but also Kerberos HTTP SPNEGO. So I applied additional kerberos patch, and confirmed thant it worked fine.

This test https://github.com/shoichikaji/webhdfs/blob/test/test.rb passed. (output https://gist.github.com/shoichikaji/6b56b44948092dd91b4d)

tagomoris commented 9 years ago

OK, I'll merge this, and will wait next pull request for kerberos.