public class DatabaseUserConfigLoader extends UserConfigLoader
Constructor and Description |
---|
DatabaseUserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)
Instantiates a new database user config loader.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getUserConfig(String loggedInUser)
Gets the user config.
|
preSubmit
public DatabaseUserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf) throws UserConfigLoaderException
conf
- the confUserConfigLoaderException
- the user config loader exceptionpublic Map<String,String> getUserConfig(String loggedInUser) throws UserConfigLoaderException
UserConfigLoader
getUserConfig
in class UserConfigLoader
loggedInUser
- the logged in userUserConfigLoaderException
- the user config loader exceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.