Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.hbase.security | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
JVMClusterUtil.MasterThread |
LocalHBaseCluster.addMaster(org.apache.hadoop.conf.Configuration c,
int index,
User user) |
JVMClusterUtil.RegionServerThread |
LocalHBaseCluster.addRegionServer(org.apache.hadoop.conf.Configuration config,
int index,
User user) |
void |
HTableDescriptor.setOwner(User owner)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
User |
UserProvider.create(org.apache.hadoop.security.UserGroupInformation ugi) |
User |
UserProvider.getCurrent() |
Modifier and Type | Field and Description |
---|---|
protected User |
HBaseServer.Connection.ticket |
Modifier and Type | Method and Description |
---|---|
static User |
RequestContext.getRequestUser()
Returns the user credentials associated with the current RPC request or
null if no credentials were provided. |
User |
RequestContext.getUser() |
Modifier and Type | Method and Description |
---|---|
void |
SecureServer.authorize(User user,
org.apache.hadoop.hbase.ipc.ConnectionHeader connection,
InetAddress addr)
Authorize the incoming client connection.
|
Object[] |
SecureRpcEngine.call(Method method,
Object[][] params,
InetSocketAddress[] addrs,
Class<? extends VersionedProtocol> protocol,
User ticket,
org.apache.hadoop.conf.Configuration conf)
Expert: Make multiple, parallel calls to a set of servers.
|
Object[] |
RpcEngine.call(Method method,
Object[][] params,
InetSocketAddress[] addrs,
Class<? extends VersionedProtocol> protocol,
User ticket,
org.apache.hadoop.conf.Configuration conf)
Expert: Make multiple, parallel calls to a set of servers.
|
static Object[] |
HBaseRPC.call(Method method,
Object[][] params,
InetSocketAddress[] addrs,
Class<? extends VersionedProtocol> protocol,
User ticket,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
Instead of calling statically, use
HBaseRPC.getProtocolEngine(org.apache.hadoop.conf.Configuration)
to obtain an RpcEngine instance and then use
RpcEngine.call(java.lang.reflect.Method, Object[][], java.net.InetSocketAddress[], Class, org.apache.hadoop.hbase.security.User, org.apache.hadoop.conf.Configuration) |
org.apache.hadoop.io.Writable[] |
HBaseClient.call(org.apache.hadoop.io.Writable[] params,
InetSocketAddress[] addresses,
Class<? extends VersionedProtocol> protocol,
User ticket)
Makes a set of calls in parallel.
|
org.apache.hadoop.io.Writable |
HBaseClient.call(org.apache.hadoop.io.Writable param,
InetSocketAddress addr,
Class<? extends VersionedProtocol> protocol,
User ticket,
int rpcTimeout)
Make a call, passing
param , to the IPC server running at
address which is servicing the protocol protocol,
with the ticket credentials, returning the value. |
org.apache.hadoop.io.Writable |
HBaseClient.call(org.apache.hadoop.io.Writable param,
InetSocketAddress addr,
User ticket,
int rpcTimeout) |
protected HBaseClient.Connection |
HBaseClient.getConnection(InetSocketAddress addr,
Class<? extends VersionedProtocol> protocol,
User ticket,
int rpcTimeout,
HBaseClient.Call call) |
static void |
RequestContext.set(User user,
InetAddress remoteAddress,
Class<? extends VersionedProtocol> protocol)
Initializes the client credentials for the current request.
|
Modifier and Type | Class and Description |
---|---|
static class |
User.SecureHadoopUser
Bridges
User invocations to underlying calls to
UserGroupInformation for secure Hadoop
0.20 and versions 0.21 and above. |
Modifier and Type | Method and Description |
---|---|
static User |
User.create(org.apache.hadoop.security.UserGroupInformation ugi)
Wraps an underlying
UserGroupInformation instance. |
static User |
User.createUserForTesting(org.apache.hadoop.conf.Configuration conf,
String name,
String[] groups)
Generates a new
User instance specifically for use in test code. |
static User |
User.SecureHadoopUser.createUserForTesting(org.apache.hadoop.conf.Configuration conf,
String name,
String[] groups) |
static User |
User.getCurrent()
Returns the
User instance within current execution context. |
Modifier and Type | Method and Description |
---|---|
boolean |
TableAuthManager.authorize(User user,
byte[] table,
byte[] family,
byte[] qualifier,
Permission.Action action) |
boolean |
TableAuthManager.authorize(User user,
byte[] table,
byte[] family,
Permission.Action action) |
boolean |
TableAuthManager.authorize(User user,
byte[] table,
KeyValue kv,
Permission.Action action) |
boolean |
TableAuthManager.authorize(User user,
Permission.Action action)
Authorize a global permission based on ACLs for the given user and the
user's groups.
|
boolean |
TableAuthManager.matchPermission(User user,
byte[] table,
byte[] family,
byte[] qualifier,
Permission.Action action) |
boolean |
TableAuthManager.matchPermission(User user,
byte[] table,
byte[] family,
Permission.Action action)
Returns true if the given user has a
TablePermission matching up
to the column family portion of a permission. |
Modifier and Type | Method and Description |
---|---|
static void |
FSUtils.checkAccess(User user,
org.apache.hadoop.fs.FileStatus file,
org.apache.hadoop.fs.permission.FsAction action)
Throw an exception if an action is not permitted by a user on a file.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.