METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . server . IDENT_0 . METHOD_1 ( ) ; final int IDENT_1 = 100 ; final java . lang . String IDENT_2 = STRING_0 ; java . lang . String IDENT_3 = org . apache . hadoop . security . IDENT_4 . METHOD_2 ( ) . METHOD_3 ( ) ; conf . set ( java . lang . String . format ( STRING_1 , IDENT_3 ) , STRING_2 ) ; conf . set ( java . lang . String . format ( STRING_3 , IDENT_3 ) , STRING_2 ) ; conf . set ( java . lang . String . format ( STRING_4 , IDENT_3 ) , STRING_2 ) ; org . apache . hadoop . security . IDENT_5 . IDENT_6 . METHOD_4 ( conf ) ; final org . apache . hadoop . hdfs . server . IDENT_0 . IDENT_7 cluster = new org . apache . hadoop . hdfs . server . IDENT_0 . IDENT_7 . Builder ( conf ) . format ( true ) . build ( ) ; cluster . METHOD_5 ( ) ; org . apache . hadoop . fs . IDENT_8 IDENT_9 = cluster . METHOD_6 ( ) ; java . util . List < org . apache . hadoop . security . IDENT_4 > IDENT_10 = new java . util . ArrayList ( ) ; java . util . List < org . apache . hadoop . fs . IDENT_8 > IDENT_11 = new java . util . ArrayList ( ) ; for ( int IDENT_12 = 0 ; IDENT_12 < IDENT_1 ; IDENT_12 ++ ) { org . apache . hadoop . security . IDENT_4 IDENT_13 = org . apache . hadoop . security . IDENT_4 . METHOD_7 ( ( IDENT_2 + IDENT_12 ) , org . apache . hadoop . security . IDENT_4 . METHOD_8 ( ) , new java . lang . String [ ] { IDENT_2 + IDENT_12 } ) ; org . apache . hadoop . fs . IDENT_8 fs = IDENT_13 . METHOD_9 ( new java . security . IDENT_14 < org . apache . hadoop . fs . IDENT_8 > ( ) { @ org . apache . hadoop . hdfs . server . IDENT_0 . Override public org . apache . hadoop . fs . IDENT_8 run ( ) throws java . lang . Exception { return cluster . METHOD_6 ( ) ; } } ) ; IDENT_10 . add ( IDENT_13 ) ; IDENT_11 . add ( fs ) ; } try { IDENT_9 . METHOD_10 ( new org . apache . hadoop . fs . Path ( STRING_5 ) ) ; IDENT_9 . METHOD_11 ( new org . apache . hadoop . fs . Path ( STRING_5 ) , new org . apache . hadoop . fs . IDENT_15 . METHOD_12 ( org . apache . hadoop . fs . IDENT_15 . IDENT_16 . IDENT_17 , org . apache . hadoop . fs . IDENT_15 . IDENT_16 . IDENT_17 , org . apache . hadoop . fs . IDENT_15 . IDENT_16 . IDENT_17 ) ) ; for ( int IDENT_12 = 0 ; IDENT_12 < ( IDENT_11 . size ( ) ) ; IDENT_12 ++ ) { org . apache . hadoop . fs . IDENT_8 fs = IDENT_11 . get ( IDENT_12 ) ; org . apache . hadoop . fs . Path root = new org . apache . hadoop . fs . Path ( java . lang . String . format ( STRING_6 , IDENT_12 ) ) ; fs . METHOD_10 ( root ) ; fs . METHOD_13 ( root , ( IDENT_2 + IDENT_12 ) , ( IDENT_2 + IDENT_12 ) ) ; fs . METHOD_10 ( new org . apache . hadoop . fs . Path ( root , ( "b" + IDENT_12 ) ) ) ; fs . METHOD_10 ( new org . apache . hadoop . fs . Path ( root , ( STRING_7 + IDENT_12 ) ) ) ; fs . create ( new org . apache . hadoop . fs . Path ( root , ( ( "b" + IDENT_12 ) + STRING_8 ) ) ) . close ( ) ; fs . create ( new org . apache . hadoop . fs . Path ( root , ( ( STRING_7 + IDENT_12 ) + STRING_8 ) ) ) . close ( ) ; } for ( int IDENT_12 = 0 ; IDENT_12 < ( IDENT_11 . size ( ) ) ; IDENT_12 ++ ) { org . apache . hadoop . fs . IDENT_8 fs = IDENT_11 . get ( IDENT_12 ) ; "<AssertPlaceHolder>" ; org . apache . hadoop . fs . IDENT_8 . METHOD_14 ( IDENT_10 . get ( IDENT_12 ) ) ; } } finally { cluster . METHOD_15 ( ) ; } } delete ( org . apache . commons . net . IDENT_18 . IDENT_19 , org . apache . hadoop . fs . Path , boolean ) { org . apache . hadoop . fs . Path IDENT_20 = new org . apache . hadoop . fs . Path ( client . METHOD_16 ( ) ) ; org . apache . hadoop . fs . Path IDENT_21 = METHOD_17 ( IDENT_20 , file ) ; java . lang . String IDENT_22 = IDENT_21 . METHOD_18 ( ) . getPath ( ) ; try { org . apache . hadoop . fs . IDENT_23 IDENT_24 = METHOD_19 ( client , IDENT_21 ) ; if ( IDENT_24 . METHOD_20 ( ) ) { return client . METHOD_21 ( IDENT_22 ) ; } } catch ( java . io . IDENT_25 e ) { return false ; } org . apache . hadoop . fs . IDENT_23 [ ] IDENT_26 = METHOD_22 ( client , IDENT_21 ) ; if ( ( ( IDENT_26 != null ) && ( ( IDENT_26 . length ) > 0 ) ) && ( ! IDENT_27 ) ) { throw new java . io . IOException ( ( ( STRING_9 + file ) + STRING_10 ) ) ; } for ( org . apache . hadoop . fs . IDENT_23 IDENT_28 : IDENT_26 ) { delete ( client , new org . apache . hadoop . fs . Path ( IDENT_21 , IDENT_28 . getPath ( ) ) , IDENT_27 ) ; } return client . METHOD_23 ( IDENT_22 ) ; }
org . junit . Assert . assertTrue ( fs . delete ( new org . apache . hadoop . fs . Path ( java . lang . String . format ( STRING_6 , IDENT_12 ) ) , true ) )