MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / newLocateRegionErrback

Method newLocateRegionErrback

src/HBaseClient.java:3005–3008  ·  view source on GitHub ↗

Creates a new callback that handles errors during META lookups. This errback should be added after adding the callback that invokes #discoverRegion so it can properly fill in the table name when a TableNotFoundException is thrown (because the low-level code doesn't know about tab

(
          final HBaseRpc request, final byte[] table, final byte[] key)

Source from the content-addressed store, hash-verified

3003 * @param key The row key for which we want to locate the region.
3004 */
3005 private Callback<Object, Exception> newLocateRegionErrback(
3006 final HBaseRpc request, final byte[] table, final byte[] key) {
3007 return newLocateRegionErrback(request, table, key, false, false);
3008 }
3009
3010 /**
3011 * Creates a new callback that handles errors during META lookups.

Callers 1

locateRegionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected