|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hcatalog.common.AuthUtils
public class AuthUtils
Constructor Summary | |
---|---|
AuthUtils()
|
Method Summary | |
---|---|
static void |
authorize(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.permission.FsAction action,
org.apache.hadoop.conf.Configuration conf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthUtils()
Method Detail |
---|
public static void authorize(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.permission.FsAction action, org.apache.hadoop.conf.Configuration conf) throws org.apache.hadoop.hive.ql.parse.SemanticException, HCatException
path
- non-nullaction
- non-nullconf
-
org.apache.hadoop.hive.ql.parse.SemanticException
HCatException
- This method validates only for existing path. If path doesn't exist
there is nothing to validate. So, make sure that path passed in is non-null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |