public class DefaultFileAccess extends Object
Constructor and Description |
---|
DefaultFileAccess() |
Modifier and Type | Method and Description |
---|---|
static void |
checkFileAccess(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.FileStatus stat,
org.apache.hadoop.fs.permission.FsAction action) |
static void |
checkFileAccess(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.FileStatus stat,
org.apache.hadoop.fs.permission.FsAction action,
String user,
List<String> groups) |
public static void checkFileAccess(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.FileStatus stat, org.apache.hadoop.fs.permission.FsAction action) throws IOException, AccessControlException, LoginException
public static void checkFileAccess(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.FileStatus stat, org.apache.hadoop.fs.permission.FsAction action, String user, List<String> groups) throws IOException, AccessControlException
IOException
AccessControlException
Copyright © 2019 The Apache Software Foundation. All rights reserved.