kzk / webhdfs

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

Update fileutils.rb #44

Closed thomasvincent closed 4 months ago

thomasvincent commented 1 year ago

In the previous output, the test_chown method got a makeover. Before, it was just a bunch of comments, but now it's fully functional and tests the chown method of the WebHDFS::FileUtils module. The method creates a directory named "foo", changes its owner to "webuser" and its group to "supergroup", and finally removes the directory.