kzk / webhdfs

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

Add more info (host, port) for request exception #23

Closed tungel closed 8 years ago

tungel commented 8 years ago

This fix #22 which adds more meaning full message like:

client_v1.rb:337:in `rescue in request': Failed to connect to host MyHostName:50075, getaddrinfo: Name or service not known (WebHDFS::ServerError)
tagomoris commented 8 years ago

Good fix. Thanks!

tungel commented 8 years ago

@tagomoris Thanks for the merge! Would it be possible to release a new version on rubygems please? (0.7.3 or something)

tagomoris commented 8 years ago

@everbot I'm sorry to miss it. Now it's released as v0.7.3.

tungel commented 8 years ago

@tagomoris all good! Thank you very much!