METHOD_0 ( ) { final org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; org . apache . hadoop . hdfs . protocol . IDENT_0 . IDENT_1 . write ( IDENT_2 . IDENT_3 , true , conf ) ; final java . lang . String [ ] IDENT_4 = new java . lang . String [ org . apache . hadoop . hdfs . IDENT_5 . IDENT_6 ] ; java . util . Arrays . METHOD_2 ( IDENT_4 , org . apache . hadoop . hdfs . IDENT_5 . IDENT_7 ) ; final org . apache . hadoop . hdfs . IDENT_8 cluster = new org . apache . hadoop . hdfs . IDENT_8 . Builder ( conf ) . METHOD_3 ( METHOD_3 ) . METHOD_4 ( org . apache . hadoop . hdfs . IDENT_5 . IDENT_6 ) . build ( ) ; try { cluster . METHOD_5 ( ) ; final org . apache . hadoop . hdfs . IDENT_9 fs = cluster . METHOD_6 ( ) ; final org . apache . hadoop . fs . Path IDENT_10 = new org . apache . hadoop . fs . Path ( org . apache . hadoop . hdfs . IDENT_5 . IDENT_11 ) ; final int IDENT_12 = 10 ; final int IDENT_13 = 5 ; final org . apache . hadoop . hdfs . IDENT_5 . IDENT_14 [ ] IDENT_15 = new org . apache . hadoop . hdfs . IDENT_5 . IDENT_14 [ IDENT_12 ] ; for ( int i = 1 ; i <= ( IDENT_15 . length ) ; i ++ ) { IDENT_15 [ ( i - 1 ) ] = new org . apache . hadoop . hdfs . IDENT_5 . METHOD_7 ( fs , new org . apache . hadoop . fs . Path ( IDENT_10 , ( STRING_0 + i ) ) , ( i * INT_0 ) ) ; } for ( int i = 0 ; i < IDENT_13 ; i ++ ) { IDENT_15 [ i ] . start ( ) ; } org . apache . hadoop . hdfs . IDENT_5 . METHOD_8 ( 3 ) ; cluster . METHOD_9 ( conf , 2 , true , null , new java . lang . String [ ] { org . apache . hadoop . hdfs . IDENT_5 . IDENT_16 , org . apache . hadoop . hdfs . IDENT_5 . IDENT_16 } ) ; cluster . METHOD_5 ( ) ; org . apache . hadoop . hdfs . IDENT_5 . METHOD_8 ( 10 ) ; org . apache . hadoop . hdfs . IDENT_8 . IDENT_17 IDENT_18 = cluster . METHOD_10 ( org . apache . hadoop . hdfs . IDENT_19 . METHOD_11 ( org . apache . hadoop . hdfs . IDENT_5 . IDENT_6 ) ) ; for ( int i = IDENT_13 ; i < ( IDENT_15 . length ) ; i ++ ) { IDENT_15 [ i ] . start ( ) ; } METHOD_12 ( IDENT_15 ) ; for ( org . apache . hadoop . hdfs . IDENT_5 . METHOD_7 s : IDENT_15 ) { s . METHOD_13 ( ) ; s . METHOD_14 ( ) ; } for ( org . apache . hadoop . hdfs . IDENT_5 . METHOD_7 s : IDENT_15 ) { s . METHOD_15 ( ) ; } org . apache . hadoop . hdfs . IDENT_5 . LOG . info ( STRING_1 ) ; for ( int i = 0 ; i < ( IDENT_15 . length ) ; i ++ ) { org . apache . hadoop . hdfs . IDENT_5 . LOG . info ( ( ( ( IDENT_15 [ i ] . IDENT_20 ) + STRING_2 ) + ( fs . METHOD_16 ( IDENT_15 [ i ] . IDENT_20 ) . METHOD_17 ( ) ) ) ) ; org . apache . hadoop . fs . IDENT_21 in = null ; try { in = fs . METHOD_18 ( IDENT_15 [ i ] . IDENT_20 ) ; for ( int j = 0 , x ; ( x = in . read ( ) ) != ( - 1 ) ; j ++ ) { "<AssertPlaceHolder>" ; } } finally { org . apache . hadoop . io . IDENT_22 . METHOD_19 ( in ) ; } } } finally { if ( cluster != null ) { cluster . METHOD_20 ( ) ; } } } read ( ) { if ( ( IDENT_23 ) > 0 ) { try { java . lang . Thread . sleep ( IDENT_24 ) ; } catch ( java . lang . IDENT_25 e ) { } ( IDENT_23 ) OP_0 ; return 1 ; } return - 1 ; }
org . junit . Assert . assertEquals ( j , x )