Package | Description |
---|---|
org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.security |
Modifier and Type | Method and Description |
---|---|
static Object[] |
RPC.call(Method method,
Object[][] params,
InetSocketAddress[] addrs,
UserGroupInformation ticket,
Configuration conf)
Expert: Make multiple, parallel calls to a set of servers.
|
Writable[] |
Client.call(Writable[] params,
InetSocketAddress[] addresses,
Class<?> protocol,
UserGroupInformation ticket)
Makes a set of calls in parallel.
|
Writable |
Client.call(Writable param,
InetSocketAddress addr,
Class<?> protocol,
UserGroupInformation ticket)
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. |
Writable |
Client.call(Writable param,
InetSocketAddress addr,
UserGroupInformation ticket)
Deprecated.
|
static VersionedProtocol |
RPC.getProxy(Class<?> protocol,
long clientVersion,
InetSocketAddress addr,
UserGroupInformation ticket,
Configuration conf,
SocketFactory factory)
Construct a client-side proxy object that implements the named protocol,
talking to a server at the named address.
|
Modifier and Type | Class and Description |
---|---|
class |
UnixUserGroupInformation
An implementation of UserGroupInformation in the Unix system
|
Modifier and Type | Method and Description |
---|---|
static UserGroupInformation |
UserGroupInformation.getCurrentUGI() |
static UserGroupInformation |
UserGroupInformation.login(Configuration conf)
Login and return a UserGroupInformation object.
|
static UserGroupInformation |
UserGroupInformation.readFrom(Configuration conf)
Read a
UserGroupInformation from conf |
Modifier and Type | Method and Description |
---|---|
static Subject |
SecurityUtil.getSubject(UserGroupInformation ugi)
Get the
Subject for the user identified by ugi . |
static void |
UserGroupInformation.setCurrentUGI(UserGroupInformation ugi)
Deprecated.
|
static void |
UserGroupInformation.setCurrentUser(UserGroupInformation ugi)
Set the
UserGroupInformation for the current thread
WARNING - This method should be used only in test cases and other exceptional
cases! |
Copyright © 2010 The Apache Software Foundation