public FileSystem run() throws IOException {
          return FileSystem.get(conf);
        }
for testing
@throws IOException
@throws InterruptedException
@throws HdfsApiException
contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java