See the comment - https://issues.apache.org/jira/browse/HDFS-4979?focusedCommentId=13719111&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13719111