code: Path mapCachePath(Path hdfsPath) {
      assert hdfsPath.isAbsolute();
      Path value =  new Path(cacheDir + Path.SEPARATOR + hdfsPath);
      return value;
    }
docs: Maps a hdfs path into a pathname in the local cache. In the current
  implementation, the cachePath is the same as the hdfs pathname.