METHOD_0 ( ) { java . io . File IDENT_0 = null ; try { IDENT_0 = org . apache . hadoop . util . IDENT_1 . METHOD_1 ( IDENT_2 , STRING_0 ) ; java . util . Map < org . apache . hadoop . fs . Path , java . util . List < java . lang . String > > resources = new java . util . HashMap < org . apache . hadoop . fs . Path , java . util . List < java . lang . String > > ( ) ; java . io . IDENT_3 IDENT_4 = new java . io . METHOD_2 ( IDENT_0 ) ; org . apache . hadoop . fs . IDENT_5 . METHOD_3 ( IDENT_0 , true ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_6 = new java . util . IDENT_7 < java . lang . String , java . lang . String > ( ) ; IDENT_6 . put ( "foo" , STRING_1 ) ; IDENT_6 . put ( STRING_2 , STRING_3 ) ; java . util . List < java . lang . String > commands = new java . util . ArrayList < java . lang . String > ( ) ; org . apache . hadoop . yarn . server . IDENT_8 . IDENT_9 executor = new org . apache . hadoop . yarn . server . IDENT_8 . METHOD_4 ( ) ; org . apache . hadoop . conf . Configuration IDENT_10 = new org . apache . hadoop . conf . Configuration ( ) ; IDENT_10 . METHOD_5 ( IDENT_11 . IDENT_12 , false ) ; executor . METHOD_6 ( IDENT_10 ) ; java . util . IDENT_13 < java . lang . String > IDENT_14 = new java . util . METHOD_7 ( ) ; executor . METHOD_8 ( IDENT_4 , IDENT_6 , resources , commands , new org . apache . hadoop . fs . Path ( IDENT_15 . getAbsolutePath ( ) ) , user , IDENT_14 ) ; IDENT_4 . METHOD_9 ( ) ; IDENT_4 . close ( ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_16 = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; IDENT_16 . put ( STRING_4 , STRING_5 ) ; org . apache . hadoop . util . IDENT_1 . IDENT_17 IDENT_18 = new org . apache . hadoop . util . IDENT_1 . METHOD_10 ( new java . lang . String [ ] { IDENT_0 . getAbsolutePath ( ) } , IDENT_2 , IDENT_16 ) ; try { IDENT_18 . execute ( ) ; } catch ( org . apache . hadoop . util . IDENT_1 . IDENT_19 e ) { org . junit . Assert . fail ( STRING_6 ) ; } "<AssertPlaceHolder>" ; } finally { if ( ( IDENT_0 != null ) && ( IDENT_0 . exists ( ) ) ) { IDENT_0 . delete ( ) ; } } } METHOD_11 ( ) { return code ; }
org . junit . Assert . assertTrue ( ( ( IDENT_18 . METHOD_11 ( ) ) == 0 ) )