Package | Description |
---|---|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.coprocessor.example | |
org.apache.hadoop.hbase.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.security.token |
Modifier and Type | Interface and Description |
---|---|
interface |
AggregateProtocol
Defines the aggregation functions that are to be supported in this
Coprocessor.
|
interface |
MultiRowMutationProtocol
Defines a protocol to perform multi row transactions.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateImplementation
A concrete AggregateProtocol implementation.
|
class |
BaseEndpointCoprocessor
This abstract class provides default implementation of an Endpoint.
|
class |
MultiRowMutationEndpoint
This class demonstrates how to implement atomic multi row transactions using
HRegion.mutateRowsWithLocks(java.util.Collection, java.util.Collection)
and Coprocessor endpoints. |
Modifier and Type | Interface and Description |
---|---|
interface |
BulkDeleteProtocol
Defines a protocol to delete data in bulk based on a scan.
|
Modifier and Type | Class and Description |
---|---|
class |
BulkDeleteEndpoint |
Modifier and Type | Interface and Description |
---|---|
interface |
CoprocessorProtocol
All custom RPC protocols to be exported by Coprocessors must extend this interface.
|
interface |
HMasterInterface
Clients interact with the HMasterInterface to gain access to meta-level
HBase functionality, like finding an HRegionServer and creating/destroying
tables.
|
interface |
HMasterRegionInterface
The Master publishes this Interface for RegionServers to register themselves
on.
|
interface |
HRegionInterface
Clients interact with HRegionServers using a handle to the HRegionInterface.
|
Modifier and Type | Method and Description |
---|---|
<T extends VersionedProtocol> |
SecureRpcEngine.getProxy(Class<T> protocol,
long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf,
int rpcTimeout)
Construct a client-side proxy object that implements the named protocol,
talking to a server at the named address.
|
<T extends VersionedProtocol> |
RpcEngine.getProxy(Class<T> protocol,
long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf,
int rpcTimeout)
Construct a client-side proxy object.
|
static <T extends VersionedProtocol> |
HBaseRPC.waitForProxy(RpcEngine rpcClient,
Class<T> protocol,
long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf,
int maxAttempts,
int rpcTimeout,
long timeout) |
Modifier and Type | Method and Description |
---|---|
Class<? extends VersionedProtocol> |
RequestContext.getProtocol() |
Modifier and Type | Method and Description |
---|---|
static ProtocolSignature |
ProtocolSignature.getProtocolSignature(VersionedProtocol server,
String protocol,
long clientVersion,
int clientMethodsHash)
Get a server protocol's signature
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.io.Writable |
SecureRpcEngine.Server.call(Class<? extends VersionedProtocol> protocol,
org.apache.hadoop.io.Writable param,
long receivedTime,
MonitoredRPCHandler status) |
org.apache.hadoop.io.Writable |
RpcServer.call(Class<? extends VersionedProtocol> protocol,
org.apache.hadoop.io.Writable param,
long receiveTime,
MonitoredRPCHandler status)
Called for each call.
|
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. |
protected HBaseClient.Connection |
HBaseClient.getConnection(InetSocketAddress addr,
Class<? extends VersionedProtocol> protocol,
User ticket,
int rpcTimeout,
HBaseClient.Call call) |
SecureRpcEngine.Server |
SecureRpcEngine.getServer(Class<? extends VersionedProtocol> protocol,
Object instance,
Class<?>[] ifaces,
String bindAddress,
int port,
int numHandlers,
int metaHandlerCount,
boolean verbose,
org.apache.hadoop.conf.Configuration conf,
int highPriorityLevel)
Construct a server for a protocol implementation instance listening on a
port and address, with a secret manager.
|
RpcServer |
RpcEngine.getServer(Class<? extends VersionedProtocol> protocol,
Object instance,
Class<?>[] ifaces,
String bindAddress,
int port,
int numHandlers,
int metaHandlerCount,
boolean verbose,
org.apache.hadoop.conf.Configuration conf,
int highPriorityLevel)
Construct a server for a protocol implementation instance.
|
static void |
RequestContext.set(User user,
InetAddress remoteAddress,
Class<? extends VersionedProtocol> protocol)
Initializes the client credentials for the current request.
|
Constructor and Description |
---|
Invocation(Method method,
Class<? extends VersionedProtocol> declaringClass,
Object[] parameters) |
Modifier and Type | Class and Description |
---|---|
class |
HMaster
HMaster is the "master server" for HBase.
|
static class |
HMasterCommandLine.LocalHMaster |
Modifier and Type | Class and Description |
---|---|
class |
HRegionServer
HRegionServer makes a set of HRegions available to clients.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AccessControllerProtocol
A custom protocol defined for maintaining and querying access control lists.
|
interface |
SecureBulkLoadProtocol
Provides a secure way to bulk load data onto HBase
These are internal API.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessController
Provides basic authorization checks for data access and administrative
operations.
|
class |
SecureBulkLoadEndpoint
Coprocessor service for bulk loads in secure mode.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AuthenticationProtocol
Defines a custom RPC protocol for obtaining authentication tokens
|
Modifier and Type | Class and Description |
---|---|
class |
TokenProvider
Provides a service for obtaining authentication tokens via the
AuthenticationProtocol coprocessor protocol. |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.