kzk / webhdfs

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

bugfix when using delegation token #40

Closed JiHyunSong closed 3 years ago

JiHyunSong commented 3 years ago

when namenode fail overed, It should follow default exception handler (for fluentd-plugin-webhdfs)

https://github.com/JiHyunSong/webhdfs/blob/bugfix-delegation-token/lib/webhdfs/client_v1.rb#L459-L470

JiHyunSong commented 3 years ago

in fluentd-plugin-webhdfs, It cannot handle namenode failover exception.

https://github.com/fluent/fluent-plugin-webhdfs/blob/master/lib/fluent/plugin/out_webhdfs.rb#L274-L276

JiHyunSong commented 3 years ago

@tagomoris hello, can you review it? thanks 🙏

tagomoris commented 3 years ago

LGTM!

tagomoris commented 3 years ago

Shipped v0.10.1