Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.security |
Modifier and Type | Method and Description |
---|---|
static User |
HBaseTestingUtility.getDifferentUser(org.apache.hadoop.conf.Configuration c,
String differentiatingSuffix)
Deprecated.
This method clones the passed
c configuration setting a new user into the clone. |
static User |
AuthUtil.loginClient(org.apache.hadoop.conf.Configuration conf)
Deprecated.
For kerberized cluster, return login user (from kinit or from keytab if specified).
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.client.AsyncClusterConnection |
HBaseTestingUtility.getAsyncConnection(User user)
Deprecated.
Get a assigned AsyncClusterConnection to the cluster.
|
Connection |
HBaseTestingUtility.getConnection(User user)
Deprecated.
Get a assigned Connection to the cluster.
|
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<AsyncConnection> |
ConnectionFactory.createAsyncConnection(org.apache.hadoop.conf.Configuration conf,
User user)
Create a new AsyncConnection instance using the passed
conf and user . |
static Connection |
ConnectionFactory.createConnection(org.apache.hadoop.conf.Configuration conf,
ExecutorService pool,
User user)
Create a new Connection instance using the passed
conf instance. |
static Connection |
ConnectionFactory.createConnection(org.apache.hadoop.conf.Configuration conf,
User user)
Create a new Connection instance using the passed
conf instance. |
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.getCurrent()
Returns the
User instance within current execution context. |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.