HDFS-4461. DirectoryScanner: volume path prefix takes up memory for every block that is scanned. Contributed by Colin Patrick McCabe.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1576477 13f79535-47bb-0310-9956-ffa450edef68