METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_2 . IDENT_3 . METHOD_1 ( IDENT_4 . IDENT_5 , IDENT_6 ) ; org . apache . hadoop . test . IDENT_7 . METHOD_2 ( ( ) -> { return ! ( IDENT_8 . METHOD_3 ( ) ) ; } , 10 , ( 1000 * 5 ) ) ; org . apache . hadoop . IDENT_0 . IDENT_1 . container . common . helpers . IDENT_9 block = IDENT_8 . METHOD_4 ( org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_2 . IDENT_10 , org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_2 . type , org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_2 . IDENT_11 , org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_2 . IDENT_12 , new org . apache . hadoop . IDENT_0 . IDENT_1 . container . common . helpers . METHOD_5 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( long , org . apache . hadoop . IDENT_0 . protocol . IDENT_13 . IDENT_14 . IDENT_15 , org . apache . hadoop . IDENT_0 . protocol . IDENT_13 . IDENT_14 . IDENT_16 , java . lang . String , org . apache . hadoop . IDENT_0 . IDENT_1 . container . common . helpers . METHOD_5 ) { org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_17 . LOG . trace ( STRING_0 , size , type , IDENT_11 ) ; org . apache . hadoop . IDENT_0 . IDENT_1 . IDENT_18 . METHOD_6 ( IDENT_19 . METHOD_4 , IDENT_20 ) ; if ( ( size < 0 ) || ( size > ( IDENT_21 ) ) ) { org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_17 . LOG . warn ( STRING_1 , size ) ; throw new org . apache . hadoop . IDENT_0 . IDENT_1 . exceptions . METHOD_7 ( ( STRING_2 + size ) , IDENT_22 ) ; } org . apache . hadoop . IDENT_0 . IDENT_1 . container . IDENT_23 IDENT_24 ; while ( true ) { java . util . List < org . apache . hadoop . IDENT_0 . IDENT_1 . pipeline . IDENT_25 > IDENT_26 = IDENT_27 . METHOD_8 ( type , IDENT_11 , IDENT_25 . IDENT_28 . IDENT_29 , IDENT_30 . METHOD_9 ( ) , IDENT_30 . METHOD_10 ( ) ) ; org . apache . hadoop . IDENT_0 . IDENT_1 . pipeline . IDENT_25 pipeline ; if ( ( IDENT_26 . size ( ) ) == 0 ) { try { pipeline = IDENT_27 . METHOD_11 ( type , IDENT_11 ) ; } catch ( java . io . IOException e ) { org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_17 . LOG . error ( STRING_3 , type , IDENT_11 , e ) ; break ; } } else { pipeline = IDENT_26 . get ( ( ( int ) ( ( java . lang . Math . random ( ) ) * ( IDENT_26 . size ( ) ) ) ) ) ; } IDENT_24 = IDENT_31 . METHOD_12 ( size , IDENT_32 , pipeline , IDENT_30 . METHOD_13 ( ) ) ; if ( IDENT_24 != null ) { return METHOD_14 ( IDENT_24 ) ; } } org . apache . hadoop . IDENT_0 . IDENT_1 . block . IDENT_17 . LOG . error ( STRING_4 , size , type , IDENT_11 ) ; return null ; }
org . junit . Assert . assertNotNull ( block )