public FSDataOutputStream run() throws Exception {
        return fs.create(new Path(path), overwrite);
      }
Create file

@param path      path
@param overwrite overwrite existent file
@return output stream
@throws IOException
@throws InterruptedException
contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java