revised for using with fluent-plugin-webhdfs