@Override
  public void openStorage(Configuration config) throws IOException {
    storage_root = config.get(TempletonStorage.STORAGE_ROOT);
    if (fs == null) {
      fs = new Path(storage_root).getFileSystem(config);
    }
  }
HDFS implementation of templeton storage.

 This implementation assumes that all keys in key/value pairs are
 chosen such that they don't have any newlines in them.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/HDFSStorage.java