fix to use both of primary and secondary for start check
add support of retry_known_errors of webhdfs.gem
fix to return false explicitly for readability
fix to return false explicitly for readability
fix to use debugged version
Merge branch 'retry_known_errors'
v0.2.0
Add .travis.yml
Merge branch 'master' of github.com:fluent/fluent-plugin-webhdfs
add an append option

The problem is that an append method of WebHDFS is not atomic. In more
detail, if a datanode which you are communicating via a append method
shutdown for some reason, the file which you have been writing will
remain on HDFS containing incomplete contents, and there is no simple
way to know how much contents was written.

However, Fluentd will retry to write whole contents in a paticular chunk
when emit transaction fail because of a datanode failure.

Consequently, a duplication of content will occurs unexpectedly.

To avoid this problem, set an append option to false.
When append is set to false, flunet-plugin-webhdfs write each chunk
to indivisual file on HDFS, and a file name will not change through retries.

This patch also provides ${chunk_id} placeholder. This placeholder is availabale
for a path option and replaced with chunk#unique_id in WebHDFSOutput#write method.
Merge pull request #8 from choplin/append-option

add an append option