METHOD_0 ( ) { final org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_1 . METHOD_1 ( ) ; IDENT_3 . time = java . lang . System . currentTimeMillis ( ) ; org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_4 handler = new org . apache . hadoop . yarn . server . IDENT_0 . util . METHOD_2 ( ) ; handler . METHOD_3 ( new org . apache . hadoop . yarn . conf . METHOD_4 ( ) ) ; handler . METHOD_5 ( ) ; handler . IDENT_3 = IDENT_3 ; org . apache . commons . io . IDENT_5 . METHOD_6 ( org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_1 . IDENT_6 ) ; org . apache . hadoop . yarn . server . IDENT_0 . util . File IDENT_7 = new org . apache . hadoop . yarn . server . IDENT_0 . util . File ( org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_1 . IDENT_6 . getAbsolutePath ( ) , STRING_0 ) ; org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_8 IDENT_9 = org . apache . commons . io . IDENT_5 . METHOD_7 ( IDENT_7 ) ; IDENT_9 . write ( STRING_1 . getBytes ( ) ) ; IDENT_9 . close ( ) ; final java . util . concurrent . IDENT_10 IDENT_11 = new java . util . concurrent . METHOD_8 ( 1 ) ; new java . lang . Thread ( ) { @ org . apache . hadoop . yarn . server . IDENT_0 . util . Override public void run ( ) { IDENT_11 . METHOD_9 ( ) ; try { java . lang . Thread . sleep ( 200 ) ; } catch ( java . lang . IDENT_12 ex ) { } IDENT_3 . time += org . apache . hadoop . yarn . conf . METHOD_4 . IDENT_13 ; } } . start ( ) ; IDENT_11 . METHOD_10 ( ) ; "<AssertPlaceHolder>" ; org . apache . commons . io . IDENT_5 . METHOD_6 ( org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_1 . IDENT_6 ) ; } METHOD_11 ( java . lang . String ) { boolean IDENT_14 = false ; if ( org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_15 . LOG . METHOD_12 ( ) ) { org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_15 . LOG . debug ( ( STRING_2 + IDENT_16 ) ) ; } long start = IDENT_3 . getTime ( ) ; do { try { IDENT_14 = METHOD_13 ( new java . io . File ( IDENT_16 ) ) ; if ( ! IDENT_14 ) { java . lang . Thread . sleep ( IDENT_17 ) ; } } catch ( java . lang . IDENT_12 ex ) { } } while ( ( ! IDENT_14 ) && ( ( ( IDENT_3 . getTime ( ) ) - start ) < ( IDENT_18 ) ) ) ; if ( ! IDENT_14 ) { org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_15 . LOG . warn ( ( ( ( ( STRING_3 + IDENT_16 ) + STRING_4 ) + ( IDENT_18 ) ) + STRING_5 ) ) ; } return IDENT_14 ; }
org . junit . Assert . assertFalse ( handler . METHOD_11 ( org . apache . hadoop . yarn . server . IDENT_0 . util . IDENT_1 . IDENT_6 . getAbsolutePath ( ) ) )