METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . yarn . conf . METHOD_1 ( ) ; conf . METHOD_2 ( METHOD_1 . IDENT_0 , true ) ; conf . METHOD_2 ( METHOD_1 . IDENT_1 , false ) ; conf . set ( METHOD_1 . IDENT_2 , STRING_0 ) ; conf . set ( METHOD_1 . IDENT_3 , STRING_1 ) ; conf . set ( METHOD_1 . IDENT_4 , org . apache . hadoop . yarn . client . IDENT_5 . class . getName ( ) ) ; conf . METHOD_3 ( METHOD_1 . IDENT_6 , INT_0 ) ; try ( org . apache . hadoop . yarn . server . IDENT_7 cluster = new org . apache . hadoop . yarn . server . METHOD_4 ( STRING_2 , 5 , 0 , 1 , 1 ) ) { org . apache . hadoop . yarn . server . IDENT_8 . IDENT_9 . METHOD_5 ( STRING_3 , INT_1 , conf ) ; org . apache . hadoop . yarn . server . IDENT_8 . IDENT_9 . METHOD_5 ( STRING_4 , INT_2 , conf ) ; org . apache . hadoop . yarn . server . IDENT_8 . IDENT_9 . METHOD_5 ( STRING_5 , INT_3 , conf ) ; org . apache . hadoop . yarn . server . IDENT_8 . IDENT_9 . METHOD_5 ( STRING_6 , INT_4 , conf ) ; org . apache . hadoop . yarn . server . IDENT_8 . IDENT_9 . METHOD_5 ( STRING_7 , INT_5 , conf ) ; conf . METHOD_2 ( METHOD_1 . IDENT_10 , true ) ; cluster . init ( conf ) ; cluster . start ( ) ; final org . apache . hadoop . yarn . client . api . IDENT_11 client = org . apache . hadoop . yarn . client . api . IDENT_11 . METHOD_6 ( ) ; client . init ( conf ) ; client . start ( ) ; long start = java . lang . System . currentTimeMillis ( ) ; METHOD_7 ( cluster , 4 ) ; METHOD_8 ( client ) ; long end = java . lang . System . currentTimeMillis ( ) ; System . out . println ( ( STRING_8 + end ) ) ; "<AssertPlaceHolder>" ; cluster . METHOD_9 ( 4 ) . METHOD_10 ( ) . METHOD_11 ( ) . METHOD_12 ( new org . apache . hadoop . IDENT_12 . IDENT_13 . METHOD_13 ( IDENT_13 . IDENT_14 . IDENT_15 ) ) ; METHOD_7 ( cluster , 2 ) ; METHOD_8 ( client ) ; } } println ( java . lang . String ) { if ( IDENT_16 ) IDENT_17 . out . println ( s ) ; }
org . junit . Assert . assertTrue ( ( ( end - start ) <= INT_1 ) )