org.apache.hadoop.hbase.coprocessor
Interface BulkLoadObserver

All Superinterfaces:
Coprocessor
All Known Implementing Classes:
AccessController

@InterfaceAudience.LimitedPrivate(value="Coprocesssor")
@InterfaceStability.Evolving
public interface BulkLoadObserver
extends Coprocessor

Coprocessors implement this interface to observe and mediate bulk load operations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
Coprocessor.State
 
Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.Coprocessor
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
 
Method Summary
 void preCleanupBulkLoad(ObserverContext<RegionCoprocessorEnvironment> ctx, SecureBulkLoadProtos.CleanupBulkLoadRequest request)
          Called as part of SecureBulkLoadEndpoint.cleanupBulkLoad() RPC call.
 void prePrepareBulkLoad(ObserverContext<RegionCoprocessorEnvironment> ctx, SecureBulkLoadProtos.PrepareBulkLoadRequest request)
          Called as part of SecureBulkLoadEndpoint.prepareBulkLoad() RPC call.
 
Methods inherited from interface org.apache.hadoop.hbase.Coprocessor
start, stop
 

Method Detail

prePrepareBulkLoad

void prePrepareBulkLoad(ObserverContext<RegionCoprocessorEnvironment> ctx,
                        SecureBulkLoadProtos.PrepareBulkLoadRequest request)
                        throws IOException
Called as part of SecureBulkLoadEndpoint.prepareBulkLoad() RPC call. It can't bypass the default action, e.g., ctx.bypass() won't have effect.

Parameters:
ctx - the environment to interact with the framework and master
Throws:
IOException

preCleanupBulkLoad

void preCleanupBulkLoad(ObserverContext<RegionCoprocessorEnvironment> ctx,
                        SecureBulkLoadProtos.CleanupBulkLoadRequest request)
                        throws IOException
Called as part of SecureBulkLoadEndpoint.cleanupBulkLoad() RPC call. It can't bypass the default action, e.g., ctx.bypass() won't have effect.

Parameters:
ctx - the environment to interact with the framework and master
Throws:
IOException


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.