METHOD_0 ( ) { org . apache . hadoop . yarn . api . IDENT_0 client ; try ( org . apache . hadoop . yarn . server . IDENT_1 cluster = new org . apache . hadoop . yarn . server . METHOD_1 ( STRING_0 , 1 , 1 , 1 ) ; org . apache . hadoop . yarn . client . api . IDENT_2 IDENT_3 = org . apache . hadoop . yarn . client . api . IDENT_2 . METHOD_2 ( ) ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . yarn . conf . METHOD_3 ( ) ; conf . METHOD_4 ( METHOD_3 . IDENT_4 , true ) ; conf . METHOD_5 ( METHOD_3 . IDENT_5 , INT_0 ) ; conf . METHOD_5 ( METHOD_3 . IDENT_6 , INT_0 ) ; conf . METHOD_5 ( METHOD_3 . IDENT_7 , INT_0 ) ; conf . METHOD_5 ( METHOD_3 . IDENT_8 , 6 ) ; cluster . init ( conf ) ; cluster . start ( ) ; final org . apache . hadoop . conf . Configuration IDENT_9 = cluster . METHOD_6 ( ) ; IDENT_9 . set ( METHOD_3 . IDENT_10 , METHOD_3 . IDENT_11 ) ; IDENT_3 . init ( IDENT_9 ) ; IDENT_3 . start ( ) ; org . apache . hadoop . yarn . api . records . IDENT_12 IDENT_13 = METHOD_7 ( IDENT_3 , cluster ) ; client = METHOD_8 ( IDENT_3 , IDENT_13 , cluster , IDENT_9 ) ; client . METHOD_9 ( org . apache . hadoop . yarn . api . IDENT_14 . IDENT_15 . newInstance ( org . apache . hadoop . net . IDENT_16 . METHOD_10 ( ) , INT_1 , "" ) ) ; org . apache . hadoop . yarn . client . api . impl . IDENT_17 . LOG . info ( STRING_1 ) ; org . apache . hadoop . yarn . api . IDENT_14 . IDENT_18 request = METHOD_11 ( IDENT_3 . METHOD_12 ( IDENT_19 . IDENT_20 ) ) ; org . apache . hadoop . yarn . api . records . IDENT_21 IDENT_22 = null ; org . apache . hadoop . yarn . api . IDENT_14 . IDENT_23 response = null ; for ( int i = 0 ; i < 5 ; i ++ ) { response = client . METHOD_13 ( request ) ; request . METHOD_14 ( ( ( request . METHOD_15 ( ) ) + 1 ) ) ; if ( ( ( response . METHOD_16 ( ) ) != null ) && ( ! ( response . METHOD_16 ( ) . equals ( IDENT_22 ) ) ) ) { break ; } IDENT_22 = response . METHOD_16 ( ) ; java . lang . Thread . sleep ( INT_0 ) ; } "<AssertPlaceHolder>" ; org . apache . hadoop . yarn . client . api . impl . IDENT_17 . LOG . info ( STRING_2 ) ; client . METHOD_17 ( org . apache . hadoop . yarn . api . IDENT_14 . IDENT_24 . newInstance ( IDENT_25 . IDENT_26 , STRING_3 , null ) ) ; } } METHOD_16 ( ) { org . apache . hadoop . security . IDENT_27 IDENT_28 = org . apache . hadoop . security . IDENT_29 . METHOD_18 ( ) . METHOD_19 ( ) ; java . util . Iterator < org . apache . hadoop . security . token . IDENT_21 < ? > > IDENT_30 = IDENT_28 . METHOD_20 ( ) . iterator ( ) ; org . apache . hadoop . security . token . IDENT_21 < org . apache . hadoop . yarn . security . IDENT_31 > result = null ; while ( IDENT_30 . hasNext ( ) ) { org . apache . hadoop . security . token . IDENT_21 < ? > token = IDENT_30 . next ( ) ; if ( token . METHOD_21 ( ) . equals ( IDENT_31 . IDENT_32 ) ) { if ( result != null ) { org . junit . Assert . fail ( ( ( ( ( STRING_4 + STRING_5 ) + result ) + STRING_6 ) + token ) ) ; } result = ( ( org . apache . hadoop . security . token . IDENT_21 < org . apache . hadoop . yarn . security . IDENT_31 > ) ( token ) ) ; } } return result ; }
org . junit . Assert . assertFalse ( response . METHOD_16 ( ) . equals ( IDENT_22 ) )