METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; conf . METHOD_2 ( IDENT_0 . IDENT_1 , org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . class , org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_7 . class ) ; conf . METHOD_3 ( IDENT_0 . IDENT_8 , 1 ) ; int IDENT_9 = 10 ; java . util . List < org . apache . hadoop . fs . Path > IDENT_10 = com . google . common . collect . Lists . newArrayList ( ) ; for ( int i = 0 ; i < IDENT_9 ; i ++ ) { IDENT_10 . add ( new org . apache . hadoop . fs . Path ( ( STRING_0 + i ) ) ) ; } org . apache . hadoop . hdfs . IDENT_11 cluster = new org . apache . hadoop . hdfs . IDENT_11 . Builder ( conf ) . METHOD_4 ( 2 ) . build ( ) ; try { java . util . List < org . apache . hadoop . fs . IDENT_12 > streams = com . google . common . collect . Lists . newArrayList ( ) ; try { for ( org . apache . hadoop . fs . Path path : IDENT_10 ) { org . apache . hadoop . fs . IDENT_12 out = cluster . METHOD_5 ( ) . create ( path , ( ( short ) ( 2 ) ) ) ; streams . add ( out ) ; out . METHOD_6 ( STRING_1 ) ; out . METHOD_7 ( ) ; } for ( org . apache . hadoop . fs . Path path : IDENT_10 ) { org . apache . hadoop . hdfs . IDENT_13 . METHOD_8 ( cluster . METHOD_5 ( ) , path , ( ( short ) ( 2 ) ) ) ; } org . apache . hadoop . hdfs . IDENT_11 . IDENT_14 IDENT_15 = cluster . METHOD_9 ( 0 ) ; for ( int i = 0 ; i < ( streams . size ( ) ) ; i ++ ) { org . apache . hadoop . fs . Path path = IDENT_10 . get ( i ) ; org . apache . hadoop . fs . IDENT_12 out = streams . get ( i ) ; out . METHOD_6 ( STRING_2 ) ; out . METHOD_7 ( ) ; cluster . METHOD_5 ( ) . METHOD_10 ( path , ( ( short ) ( 1 ) ) ) ; out . close ( ) ; } for ( org . apache . hadoop . fs . Path path : IDENT_10 ) { org . apache . hadoop . hdfs . IDENT_13 . METHOD_8 ( cluster . METHOD_5 ( ) , path , ( ( short ) ( 1 ) ) ) ; } org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_16 . LOG . info ( STRING_3 ) ; org . apache . hadoop . hdfs . IDENT_11 . IDENT_14 IDENT_17 = cluster . METHOD_9 ( 0 ) ; cluster . METHOD_11 ( ) ; cluster . METHOD_12 ( IDENT_15 ) ; cluster . METHOD_13 ( ) ; cluster . METHOD_12 ( IDENT_17 ) ; cluster . METHOD_13 ( ) ; cluster . METHOD_14 ( ) . METHOD_15 ( ) . METHOD_16 ( ) . METHOD_17 ( 2 ) ; cluster . METHOD_18 ( ) ; org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_3 . IDENT_18 . METHOD_19 ( cluster ) ; cluster . METHOD_20 ( ) ; METHOD_21 ( cluster , IDENT_9 ) ; for ( org . apache . hadoop . fs . Path path : IDENT_10 ) { java . lang . String ret = org . apache . hadoop . hdfs . IDENT_13 . METHOD_22 ( cluster . METHOD_5 ( ) , path ) ; "<AssertPlaceHolder>" ; } } finally { org . apache . hadoop . io . IDENT_19 . METHOD_23 ( org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_16 . LOG , streams . toArray ( new java . io . IDENT_20 [ 0 ] ) ) ; } } finally { cluster . METHOD_24 ( ) ; } } METHOD_5 ( ) { org . junit . Assert . assertNotNull ( STRING_4 , org . apache . hadoop . fs . IDENT_21 . IDENT_22 . IDENT_23 . cluster ) ; return org . apache . hadoop . fs . IDENT_21 . IDENT_22 . IDENT_23 . cluster . METHOD_25 ( ) . METHOD_5 ( ) ; }
org . junit . Assert . assertEquals ( ( STRING_1 + STRING_2 ) , ret )