HDFS-782 (open apache issue).