microsoft / hdfs-mount

A tool to mount HDFS as a local Linux file system
Other
286 stars 64 forks source link

Remove write to internal buffer in hdfs-mount #10

Closed junjieqian closed 7 years ago

junjieqian commented 8 years ago

colinmarcs/hdfs already caches all write to internal buffer, and then flush to hdfs when closing, according to https://github.com/colinmarc/hdfs/blob/1a4155475bdaa98f80f5e16c78a62f37de7c65f1/file_writer.go#L145.

There is no need to cache on local FS in hdfs-mount.