METHOD_0 ( ) { final org . apache . hadoop . hbase . IDENT_0 tableName = org . apache . hadoop . hbase . IDENT_0 . valueOf ( name . METHOD_1 ( ) ) ; org . apache . hadoop . hbase . client . IDENT_1 t = METHOD_2 ( tableName , IDENT_2 . IDENT_3 ) ; java . util . List < org . apache . hadoop . hbase . IDENT_4 . IDENT_5 > IDENT_6 = cluster . METHOD_3 ( tableName ) ; org . apache . hadoop . hbase . client . IDENT_7 IDENT_8 = METHOD_4 ( IDENT_6 ) ; int IDENT_9 = METHOD_5 ( admin , IDENT_8 ) ; org . apache . hadoop . hbase . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 = cluster . METHOD_6 ( ) . METHOD_7 ( ) . METHOD_8 ( ) ; this . admin . METHOD_9 ( false , true ) ; cluster . METHOD_6 ( ) . METHOD_10 ( false ) ; try { org . apache . hadoop . hbase . IDENT_4 . IDENT_14 . IDENT_15 . METHOD_11 ( t , IDENT_2 . IDENT_3 , false ) ; org . apache . hadoop . hbase . IDENT_4 . IDENT_16 server = cluster . METHOD_12 ( IDENT_9 ) ; METHOD_13 ( server , STRING_0 ) ; int IDENT_17 = cluster . METHOD_3 ( IDENT_8 . METHOD_14 ( ) ) . size ( ) ; IDENT_13 . METHOD_15 ( IDENT_8 , IDENT_18 . IDENT_19 . IDENT_20 ) ; try { this . admin . METHOD_16 ( IDENT_8 . METHOD_17 ( ) ) ; org . junit . Assert . fail ( ) ; } catch ( org . apache . hadoop . hbase . client . IDENT_21 e ) { } for ( int i = 0 ; i < 10 ; i ++ ) { java . lang . Thread . sleep ( 100 ) ; "<AssertPlaceHolder>" ; } IDENT_13 . METHOD_15 ( IDENT_8 , IDENT_19 . IDENT_22 ) ; split ( IDENT_8 , server , IDENT_17 ) ; METHOD_18 ( tableName ) ; } finally { admin . METHOD_9 ( true , false ) ; cluster . METHOD_6 ( ) . METHOD_10 ( true ) ; t . close ( ) ; } } METHOD_3 ( org . apache . hadoop . hbase . net . IDENT_23 ) { java . util . IDENT_24 < org . apache . hadoop . hbase . client . IDENT_7 > IDENT_6 = new java . util . METHOD_19 ( ) ; for ( Map . Entry < org . apache . hadoop . hbase . client . IDENT_7 , org . apache . hadoop . hbase . IDENT_25 > el : IDENT_10 . METHOD_7 ( ) . METHOD_8 ( ) . METHOD_20 ( ) . entrySet ( ) ) { if ( ( el . getValue ( ) ) == null ) { continue ; } if ( el . getValue ( ) . METHOD_21 ( ) . equals ( server ) ) { METHOD_22 ( IDENT_6 , el . getKey ( ) ) ; } } for ( org . apache . hadoop . hbase . IDENT_10 . IDENT_11 . IDENT_26 state : IDENT_10 . METHOD_7 ( ) . METHOD_23 ( ) ) { if ( state . METHOD_24 ( ) . METHOD_21 ( ) . equals ( server ) ) { METHOD_22 ( IDENT_6 , state . METHOD_25 ( ) ) ; } } return IDENT_6 ; }
org . junit . Assert . assertEquals ( IDENT_17 , cluster . METHOD_3 ( IDENT_8 . METHOD_14 ( ) ) . size ( ) )