Buggy code:
Deferred < Object > sendRpcToRegion ( final HBaseRpc request ) { } @ Deprecated public long rootLookupCount ( ) { } @ Deprecated public long uncontendedMetaLookupCount ( ) { } @ Deprecated public long contendedMetaLookupCount ( ) { } static boolean cannotRetryRequest ( final HBaseRpc rpc ) { } static Deferred < Object > tooManyAttempts ( final HBaseRpc request , final HBaseException cause ) { } private Deferred < Object > locateRegion ( final byte [ ] table , final byte [ ] key ) { } private final class MetaCB implements Callback < Object , ArrayList < KeyValue > > { public Object call ( final ArrayList < KeyValue > arg ) { } public String toString ( ) { } } private final HBaseClient . MetaCB meta_lookup_done = new HBaseClient . MetaCB ( ) ; private final class RootCB implements Callback < Object , ArrayList < KeyValue > > { public Object call ( final ArrayList < KeyValue > arg ) { } public String toString ( ) { } } private final HBaseClient . RootCB root_lookup_done = new HBaseClient . RootCB ( ) ; private Callback < Object , Exception > newLocateRegionErrback ( final byte [ ] table , final byte [ ] key ) { } private static byte [ ] createRegionSearchKey ( final byte [ ] table , final byte [ ] key ) { } private RegionInfo getRegion ( final byte [ ] table , final byte [ ] key ) { } private static boolean isCacheKeyForTable ( final byte [ ] table , final byte [ ] cache_key ) { } private RegionClient discoverRegion ( final ArrayList < KeyValue > meta_row ) { if ( meta_row . isEmpty ( ) ) { throw new TableNotFoundException ( ) ; } String host = null ; int port = - 42 ; RegionInfo region = null ; byte [ ] start_key = null ; for ( final KeyValue kv : meta_row ) { final byte [ ] qualifier = kv . qualifier ( ) ; if ( Arrays . equals ( HBaseClient . REGIONINFO , qualifier ) ) { final byte [ ] [ ] tmp = new byte [ 1 ] [ ] ; region = RegionInfo . fromKeyValue ( kv , tmp ) ; if ( HBaseClient . knownToBeNSREd ( region ) ) { invalidateRegionCache ( region . name ( ) , true , "has<seq2seq4repair_space>marked<seq2seq4repair_space>it<seq2seq4repair_space>as<seq2seq4repair_space>split." ) ; return null ; } start_key = tmp [ 0 ] ; } else if ( ( Arrays . equals ( HBaseClient . SERVER , qualifier ) ) && ( ( kv . value ( ) ) != ( HBaseClient . EMPTY_ARRAY ) ) ) { final byte [ ] hostport = kv . value ( ) ; int colon = ( hostport . length ) - 1 ; for ( ; colon > 0 ; colon -- ) { if ( ( hostport [ colon ] ) == ':' ) { break ; } } if ( colon == 0 ) { throw BrokenMetaException . badKV ( region , ( ( "an<seq2seq4repair_space>`info:server'<seq2seq4repair_space>cell" + "<seq2seq4repair_space>doesn't<seq2seq4repair_space>contain<seq2seq4repair_space>`:'<seq2seq4repair_space>to<seq2seq4repair_space>separate<seq2seq4repair_space>the<seq2seq4repair_space>`host:port'" ) + ( Bytes . pretty ( hostport ) ) ) , kv ) ; } host = HBaseClient . getIP ( new String ( hostport , 0 , colon ) ) ; try { port = HBaseClient . parsePortNumber ( new String ( hostport , ( colon + 1 ) , ( ( ( hostport . length ) - colon ) - 1 ) ) ) ; } catch ( NumberFormatException e ) { throw BrokenMetaException . badKV ( region , ( ( ( ( "an<seq2seq4repair_space>`info:server'<seq2seq4repair_space>cell" + "<seq2seq4repair_space>contains<seq2seq4repair_space>an<seq2seq4repair_space>invalid<seq2seq4repair_space>port:<seq2seq4repair_space>" ) + ( e . getMessage ( ) ) ) + "<seq2seq4repair_space>in<seq2seq4repair_space>" ) + ( Bytes . pretty ( hostport ) ) ) , kv ) ; } } } if ( start_key == null ) { <START_BUG> throw new BrokenMetaException ( null , ( ( "It<seq2seq4repair_space>didn't<seq2seq4repair_space>contain<seq2seq4repair_space>any" + "<seq2seq4repair_space>`info:regioninfo'<seq2seq4repair_space>cell:<seq2seq4repair_space>" ) + meta_row ) ) ; <END_BUG> } final byte [ ] region_name = region . name ( ) ; if ( host == null ) { invalidateRegionCache ( region_name , true , "no<seq2seq4repair_space>longer<seq2seq4repair_space>has<seq2seq4repair_space>it<seq2seq4repair_space>assigned." ) ; return null ; } final RegionClient client = newClient ( host , port ) ; final RegionClient oldclient = region2client . put ( region , client ) ; if ( client == oldclient ) { return client ; } RegionInfo oldregion ; int nregions ; synchronized ( client ) { oldregion = regions_cache . put ( region_name , region ) ; final ArrayList < RegionInfo > regions = client2regions . get ( client ) ; synchronized ( regions ) { regions . add ( region ) ; nregions = regions . size ( ) ; } } HBaseClient . LOG . info ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( oldclient == null ? "Added" : "Replaced" ) + "<seq2seq4repair_space>client<seq2seq4repair_space>for" ) + "<seq2seq4repair_space>region<seq2seq4repair_space>" ) + region ) + ",<seq2seq4repair_space>which<seq2seq4repair_space>was<seq2seq4repair_space>" ) + ( oldregion == null ? "added<seq2seq4repair_space>to" : "updated<seq2seq4repair_space>in" ) ) + "<seq2seq4repair_space>the" ) + "<seq2seq4repair_space>regions<seq2seq4repair_space>cache.<seq2seq4repair_space>Now<seq2seq4repair_space>we<seq2seq4repair_space>know<seq2seq4repair_space>that<seq2seq4repair_space>" ) + client ) + "<seq2seq4repair_space>is<seq2seq4repair_space>hosting<seq2seq4repair_space>" ) + nregions ) + "<seq2seq4repair_space>region" ) + ( nregions > 1 ? 's' : "" ) ) + '.' ) ) ; return client ; } private void invalidateRegionCache ( final byte [ ] region_name , final boolean mark_as_nsred , final String reason ) { } private static boolean knownToBeNSREd ( final RegionInfo region ) { } private static final short NSRE_LOW_WATERMARK = 1000 ; private static final short NSRE_HIGH_WATERMARK = 10000 ; private static final short NSRE_LOG_EVERY = 500 ; void handleNSRE ( HBaseRpc rpc , final byte [ ] region_name , final RecoverableException e ) { } private static byte [ ] PROBE_SUFFIX = new byte [ ] { ':' , 'A' , 's' , 'y' , 'n' , 'c' , 'H' , 'B' , 'a' , 's' , 'e' , '~' , 'p' , 'r' , 'o' , 'b' , 'e' , '~' , '<' , ';'

Fix:
throw new BrokenMetaException ( ( ( "It<seq2seq4repair_space>didn't<seq2seq4repair_space>contain<seq2seq4repair_space>any" + "<seq2seq4repair_space>`info:regioninfo'<seq2seq4repair_space>cell:<seq2seq4repair_space>" ) + meta_row ) ) ;