METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; conf . set ( IDENT_0 . IDENT_1 , STRING_0 ) ; org . apache . hadoop . hdfs . IDENT_2 cluster = null ; try { int IDENT_3 = 1 ; cluster = new org . apache . hadoop . hdfs . IDENT_2 . Builder ( conf ) . METHOD_2 ( METHOD_2 ) . build ( ) ; cluster . METHOD_3 ( ) ; org . apache . hadoop . fs . IDENT_4 IDENT_5 = cluster . METHOD_4 ( ) ; org . apache . hadoop . fs . Path file = new org . apache . hadoop . fs . Path ( STRING_1 ) ; org . apache . hadoop . hdfs . IDENT_6 . METHOD_5 ( IDENT_5 , file , INT_0 , ( ( short ) ( 1 ) ) , 0L ) ; org . apache . hadoop . hdfs . IDENT_7 out = ( ( org . apache . hadoop . hdfs . IDENT_7 ) ( IDENT_5 . append ( file ) . METHOD_6 ( ) ) ) ; out . write ( 1 ) ; out . METHOD_7 ( ) ; org . apache . hadoop . hdfs . tools . IDENT_8 IDENT_9 = new org . apache . hadoop . hdfs . tools . METHOD_8 ( conf ) ; org . apache . hadoop . hdfs . server . IDENT_10 . IDENT_11 IDENT_12 = cluster . METHOD_9 ( ) . get ( 0 ) ; final java . lang . String IDENT_13 = IDENT_12 . METHOD_10 ( ) . METHOD_11 ( false ) ; final java . lang . String [ ] IDENT_14 = new java . lang . String [ ] { STRING_2 , IDENT_13 , STRING_3 } ; "<AssertPlaceHolder>" ; java . lang . Thread . sleep ( INT_1 ) ; cluster . METHOD_12 ( 0 , true ) ; out . close ( ) ; } finally { if ( cluster != null ) { cluster . METHOD_13 ( ) ; } } } run ( java . lang . String [ ] ) { final long IDENT_15 = org . apache . hadoop . util . IDENT_16 . now ( ) ; final org . apache . hadoop . conf . Configuration conf = METHOD_14 ( ) ; try { org . apache . hadoop . hdfs . server . IDENT_17 . IDENT_18 . METHOD_15 ( conf ) ; final java . util . List < java . net . URI > IDENT_19 = org . apache . hadoop . hdfs . IDENT_20 . METHOD_16 ( conf ) ; return org . apache . hadoop . hdfs . server . IDENT_17 . IDENT_18 . run ( IDENT_19 , org . apache . hadoop . hdfs . server . IDENT_17 . IDENT_18 . IDENT_21 . parse ( args ) , conf ) ; } catch ( java . io . IOException | java . net . IDENT_22 e ) { System . out . println ( ( e + STRING_4 ) ) ; return IDENT_23 . IDENT_24 . METHOD_17 ( ) ; } catch ( java . lang . IDENT_25 e ) { System . out . println ( ( e + STRING_4 ) ) ; return IDENT_23 . IDENT_26 . METHOD_17 ( ) ; } finally { System . out . format ( STRING_5 , java . text . IDENT_27 . METHOD_18 ( ) . format ( new java . util . Date ( ) ) ) ; System . out . println ( ( STRING_6 + ( org . apache . hadoop . hdfs . server . IDENT_17 . IDENT_18 . METHOD_19 ( ( ( org . apache . hadoop . util . IDENT_16 . now ( ) ) - IDENT_15 ) ) ) ) ) ; } }
org . junit . Assert . assertEquals ( 0 , IDENT_9 . run ( IDENT_14 ) )