METHOD_0 ( ) { org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 IDENT_5 = METHOD_2 ( IDENT_4 ) ; IDENT_6 = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_7 . METHOD_3 ( IDENT_5 ) ; java . lang . Boolean fail = false ; try { conf . METHOD_4 ( IDENT_8 . IDENT_9 , true ) ; IDENT_6 . init ( conf ) ; IDENT_6 . start ( ) ; } catch ( org . apache . hadoop . yarn . exceptions . IDENT_10 e ) { fail = true ; } catch ( java . lang . Exception e ) { } verify ( IDENT_5 , times ( 1 ) ) . METHOD_5 ( any ( org . apache . hadoop . yarn . server . IDENT_0 . Context . class ) , any ( org . apache . hadoop . conf . Configuration . class ) , any ( java . util . Map . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . apache . hadoop . yarn . server . IDENT_0 . Context , org . apache . hadoop . conf . Configuration , java . util . Map ) { org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . LOG . info ( ( STRING_0 + STRING_1 3 ) ) ; if ( null == ( IDENT_11 ) ) { org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . LOG . debug ( STRING_2 ) ; IDENT_11 = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_12 . METHOD_6 ( context ) ; } java . lang . String [ ] IDENT_13 = configuration . METHOD_7 ( IDENT_8 . IDENT_14 ) ; if ( null == IDENT_13 ) { throw new org . apache . hadoop . yarn . exceptions . METHOD_8 ( ( STRING_1 6 + ( org . apache . hadoop . yarn . conf . IDENT_8 . IDENT_14 ) ) ) ; } for ( java . lang . String IDENT_15 : IDENT_13 ) { java . lang . Class < ? > IDENT_16 = java . lang . Class . METHOD_9 ( IDENT_15 ) ; if ( ! ( org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_18 . class . METHOD_10 ( IDENT_16 ) ) ) { throw new org . apache . hadoop . yarn . exceptions . METHOD_8 ( ( ( ( STRING_1 9 + IDENT_15 ) + STRING_1 5 ) + ( org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_18 . class . METHOD_11 ( ) ) ) ) ; } METHOD_12 ( org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_18 . class , IDENT_16 ) ; org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_18 IDENT_19 = ( ( org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_18 ) ( org . apache . hadoop . util . IDENT_20 . newInstance ( IDENT_16 , configuration ) ) ) ; org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_21 request = null ; try { request = IDENT_19 . METHOD_13 ( ) ; } catch ( java . lang . Exception e ) { throw new org . apache . hadoop . yarn . exceptions . METHOD_8 ( ( ( STRING_1 7 + STRING_1 1 ) + ( e . getMessage ( ) ) ) ) ; } java . lang . String IDENT_22 = request . METHOD_14 ( ) ; if ( IDENT_23 . containsKey ( IDENT_22 ) ) { throw new org . apache . hadoop . yarn . exceptions . METHOD_8 ( ( ( ( ( IDENT_22 + STRING_3 ) + STRING_1 8 ) + STRING_4 ) + IDENT_15 ) ) ; } if ( ! ( METHOD_15 ( IDENT_22 ) ) ) { throw new org . apache . hadoop . yarn . exceptions . METHOD_8 ( ( ( ( IDENT_22 + STRING_1 2 ) + ( org . apache . hadoop . yarn . conf . IDENT_8 . IDENT_24 ) ) + STRING_5 ) ) ; } org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . LOG . info ( STRING_6 , IDENT_22 , IDENT_15 ) ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_12 . IDENT_25 IDENT_26 = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_12 . METHOD_16 ( IDENT_22 , IDENT_19 , IDENT_11 ) ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . LOG . info ( STRING_1 4 , IDENT_15 ) ; try { IDENT_26 . METHOD_17 ( context ) ; } catch ( org . apache . hadoop . yarn . exceptions . IDENT_27 e ) { throw new org . apache . hadoop . yarn . exceptions . METHOD_8 ( ( ( STRING_7 + IDENT_15 ) + STRING_8 ) ) ; } org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . LOG . info ( STRING_1 , IDENT_15 ) ; IDENT_23 . put ( request . METHOD_14 ( ) , IDENT_26 ) ; if ( IDENT_19 instanceof org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_28 ) { METHOD_12 ( org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_28 . class , IDENT_16 ) ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . LOG . info ( ( STRING_1 0 + STRING_9 ) , IDENT_15 , IDENT_22 ) ; IDENT_11 . METHOD_18 ( IDENT_22 , ( ( org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_17 . IDENT_28 ) ( IDENT_19 ) ) ) ; } }
org . junit . Assert . assertTrue ( fail )