Description
Noticed this while debugging issues in another application. We saw an error when trying to do a FileSystem.get using an hftp file system on a secure cluster using a proxy user ugi.
This is a small snippet used
FileSystem testFS = ugi.doAs(new PrivilegedExceptionAction<FileSystem>() { @Override public FileSystem run() throws IOException { return FileSystem.get(hadoopConf); } });
The same code worked for hdfs and webhdfs but not for hftp when the ugi used was UserGroupInformation.createProxyUser