public class MultiThreadedUpdaterWithACL.HBaseUpdaterThreadWithACL extends MultiThreadedUpdater.HBaseUpdaterThread
Modifier and Type | Class and Description |
---|---|
(package private) class |
MultiThreadedUpdaterWithACL.HBaseUpdaterThreadWithACL.MutateAccessAction |
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private MultiThreadedUpdaterWithACL.HBaseUpdaterThreadWithACL.MutateAccessAction |
mutateAction |
private org.apache.hadoop.hbase.client.Table |
table |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
HBaseUpdaterThreadWithACL(int updaterId) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeHTable() |
protected org.apache.hadoop.hbase.client.Table |
createTable() |
protected org.apache.hadoop.hbase.client.Result |
getRow(org.apache.hadoop.hbase.client.Get get,
long rowKeyBase,
byte[] cf) |
void |
mutate(org.apache.hadoop.hbase.client.Table table,
org.apache.hadoop.hbase.client.Mutation m,
long keyBase,
byte[] row,
byte[] cf,
byte[] q,
byte[] v) |
private void |
recordFailure(org.apache.hadoop.hbase.client.Mutation m,
long keyBase,
long start,
IOException e) |
mutate, run
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private org.apache.hadoop.hbase.client.Table table
private MultiThreadedUpdaterWithACL.HBaseUpdaterThreadWithACL.MutateAccessAction mutateAction
public HBaseUpdaterThreadWithACL(int updaterId) throws IOException
IOException
protected org.apache.hadoop.hbase.client.Table createTable() throws IOException
createTable
in class MultiThreadedUpdater.HBaseUpdaterThread
IOException
protected void closeHTable()
closeHTable
in class MultiThreadedUpdater.HBaseUpdaterThread
protected org.apache.hadoop.hbase.client.Result getRow(org.apache.hadoop.hbase.client.Get get, long rowKeyBase, byte[] cf)
getRow
in class MultiThreadedUpdater.HBaseUpdaterThread
public void mutate(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.client.Mutation m, long keyBase, byte[] row, byte[] cf, byte[] q, byte[] v)
mutate
in class MultiThreadedUpdater.HBaseUpdaterThread
private void recordFailure(org.apache.hadoop.hbase.client.Mutation m, long keyBase, long start, IOException e)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.