METHOD_0 ( ) { final org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . METHOD_1 ( IDENT_0 . IDENT_1 , FLOAT_0 ) ; final org . apache . hadoop . mapreduce . v2 . app . IDENT_2 . IDENT_3 . IDENT_4 IDENT_2 = new org . apache . hadoop . mapreduce . v2 . app . IDENT_2 . IDENT_3 . METHOD_2 ( conf ) ; IDENT_2 . start ( ) ; final org . apache . hadoop . yarn . event . IDENT_5 IDENT_6 = ( ( org . apache . hadoop . yarn . event . IDENT_5 ) ( IDENT_2 . METHOD_3 ( ) . METHOD_4 ( ) ) ) ; final org . apache . hadoop . yarn . server . IDENT_7 . IDENT_8 . IDENT_9 app = IDENT_2 . METHOD_5 ( INT_0 ) ; IDENT_6 . METHOD_6 ( ) ; final java . lang . String host = STRING_0 ; final org . apache . hadoop . yarn . server . IDENT_7 . IDENT_10 IDENT_11 = IDENT_2 . METHOD_7 ( java . lang . String . format ( STRING_1 , host ) , INT_1 ) ; IDENT_11 . METHOD_8 ( true ) ; IDENT_6 . METHOD_6 ( ) ; final org . apache . hadoop . yarn . api . records . IDENT_12 IDENT_13 = app . METHOD_9 ( ) . METHOD_10 ( ) ; IDENT_2 . METHOD_11 ( IDENT_13 ) ; IDENT_6 . METHOD_6 ( ) ; final org . apache . hadoop . mapreduce . v2 . api . records . IDENT_14 IDENT_15 = org . apache . hadoop . mapreduce . v2 . util . IDENT_16 . METHOD_12 ( IDENT_13 . METHOD_13 ( ) , 0 ) ; final org . apache . hadoop . mapreduce . v2 . app . job . IDENT_17 IDENT_18 = mock ( org . apache . hadoop . mapreduce . v2 . app . job . IDENT_17 . class ) ; when ( IDENT_18 . METHOD_14 ( ) ) . thenReturn ( org . apache . hadoop . mapreduce . v2 . util . IDENT_16 . METHOD_15 ( IDENT_15 , STRING_2 , STRING_3 , IDENT_19 . IDENT_20 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , STRING_4 , null , false , "" ) ) ; final org . apache . hadoop . mapreduce . v2 . app . IDENT_2 . IDENT_3 . IDENT_21 IDENT_22 = new org . apache . hadoop . mapreduce . v2 . app . IDENT_2 . IDENT_3 . METHOD_16 ( IDENT_2 , conf , IDENT_13 , IDENT_18 , new org . apache . hadoop . yarn . util . METHOD_17 ( ) ) ; final java . lang . String [ ] IDENT_23 = new java . lang . String [ ] { host } ; IDENT_22 . METHOD_18 ( METHOD_19 ( IDENT_15 , 0 , INT_2 , IDENT_23 , false , true ) ) ; IDENT_22 . METHOD_20 ( ) ; IDENT_22 . METHOD_21 ( ) ; IDENT_11 . METHOD_8 ( true ) ; IDENT_6 . METHOD_6 ( ) ; IDENT_22 . METHOD_18 ( METHOD_19 ( IDENT_15 , 1 , INT_2 , IDENT_23 , false , false ) ) ; int IDENT_24 ; for ( IDENT_24 = 0 ; IDENT_24 < 1 ; ) { IDENT_24 += IDENT_22 . METHOD_22 ( ) . size ( ) ; IDENT_11 . METHOD_8 ( true ) ; IDENT_6 . METHOD_6 ( ) ; } "<AssertPlaceHolder>" ; } METHOD_6 ( ) { while ( ( this . val ) == null ) { this . IDENT_25 . METHOD_6 ( ) ; } return this . val ; }
org . junit . Assert . assertEquals ( IDENT_24 , 1 )