|
@@ -149,7 +149,7 @@ public class HttpFSServer {
|
|
* @return FileSystemExecutor response
|
|
* @return FileSystemExecutor response
|
|
*
|
|
*
|
|
* @throws IOException thrown if an IO error occurs.
|
|
* @throws IOException thrown if an IO error occurs.
|
|
- * @throws FileSystemAccessException thrown if a FileSystemAccess releated error occurred. Thrown
|
|
|
|
|
|
+ * @throws FileSystemAccessException thrown if a FileSystemAccess related error occurred. Thrown
|
|
* exceptions are handled by {@link HttpFSExceptionProvider}.
|
|
* exceptions are handled by {@link HttpFSExceptionProvider}.
|
|
*/
|
|
*/
|
|
private <T> T fsExecute(UserGroupInformation ugi, FileSystemAccess.FileSystemExecutor<T> executor)
|
|
private <T> T fsExecute(UserGroupInformation ugi, FileSystemAccess.FileSystemExecutor<T> executor)
|
|
@@ -160,8 +160,8 @@ public class HttpFSServer {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * Returns a filesystem instance. The fileystem instance is wired for release at the completion of
|
|
|
|
- * the current Servlet request via the {@link FileSystemReleaseFilter}.
|
|
|
|
|
|
+ * Returns a filesystem instance. The filesystem instance is wired for release at the completion
|
|
|
|
+ * of the current Servlet request via the {@link FileSystemReleaseFilter}.
|
|
* <p>
|
|
* <p>
|
|
* If a do-as user is specified, the current user must be a valid proxyuser, otherwise an
|
|
* If a do-as user is specified, the current user must be a valid proxyuser, otherwise an
|
|
* <code>AccessControlException</code> will be thrown.
|
|
* <code>AccessControlException</code> will be thrown.
|
|
@@ -172,7 +172,7 @@ public class HttpFSServer {
|
|
*
|
|
*
|
|
* @throws IOException thrown if an IO error occurred. Thrown exceptions are
|
|
* @throws IOException thrown if an IO error occurred. Thrown exceptions are
|
|
* handled by {@link HttpFSExceptionProvider}.
|
|
* handled by {@link HttpFSExceptionProvider}.
|
|
- * @throws FileSystemAccessException thrown if a FileSystemAccess releated error occurred. Thrown
|
|
|
|
|
|
+ * @throws FileSystemAccessException thrown if a FileSystemAccess related error occurred. Thrown
|
|
* exceptions are handled by {@link HttpFSExceptionProvider}.
|
|
* exceptions are handled by {@link HttpFSExceptionProvider}.
|
|
*/
|
|
*/
|
|
private FileSystem createFileSystem(UserGroupInformation ugi)
|
|
private FileSystem createFileSystem(UserGroupInformation ugi)
|