METHOD_0 ( ) { org . apache . hadoop . hdfs . IDENT_0 cluster = null ; int IDENT_1 = 4 ; java . lang . String IDENT_2 = STRING_0 ; org . apache . hadoop . fs . Path IDENT_3 = new org . apache . hadoop . fs . Path ( IDENT_2 ) ; byte [ ] buffer = new byte [ INT_0 ] ; for ( int i = 0 ; i < ( buffer . length ) ; i ++ ) { buffer [ i ] = STRING_1 ; } try { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; conf . set ( IDENT_4 . IDENT_5 , java . lang . Integer . toString ( IDENT_1 ) ) ; cluster = new org . apache . hadoop . hdfs . IDENT_0 . Builder ( conf ) . METHOD_2 ( METHOD_2 ) . build ( ) ; cluster . METHOD_3 ( ) ; org . apache . hadoop . hdfs . IDENT_6 IDENT_7 = new org . apache . hadoop . hdfs . METHOD_4 ( new java . net . METHOD_5 ( STRING_2 , cluster . METHOD_6 ( ) ) , conf ) ; java . io . IDENT_8 out = cluster . METHOD_7 ( ) . create ( IDENT_3 ) ; out . write ( buffer ) ; out . close ( ) ; METHOD_8 ( IDENT_2 , IDENT_7 . METHOD_9 ( ) , METHOD_2 , ( - 1 ) ) ; org . apache . hadoop . hdfs . protocol . IDENT_9 block = IDENT_7 . METHOD_9 ( ) . METHOD_10 ( IDENT_2 , 0 , Long . MAX_VALUE ) . get ( 0 ) . METHOD_11 ( ) ; java . util . List < org . apache . hadoop . hdfs . server . IDENT_10 . IDENT_11 . IDENT_12 > IDENT_13 = new java . util . ArrayList ( ) ; for ( int IDENT_14 = 0 ; IDENT_14 < 3 ; IDENT_14 ++ ) { IDENT_13 . add ( cluster . METHOD_12 ( IDENT_14 , block ) ) ; } "<AssertPlaceHolder>" ; cluster . METHOD_13 ( ) ; int IDENT_15 = 0 ; for ( org . apache . hadoop . hdfs . server . IDENT_10 . IDENT_11 . IDENT_12 IDENT_16 : IDENT_13 ) { if ( IDENT_15 == 0 ) { org . apache . hadoop . hdfs . IDENT_17 . LOG . info ( ( STRING_3 + IDENT_16 ) ) ; IDENT_16 . METHOD_14 ( ) ; } else { org . apache . hadoop . hdfs . IDENT_17 . LOG . info ( ( STRING_4 + IDENT_16 ) ) ; IDENT_16 . METHOD_15 ( ) ; } IDENT_15 ++ ; } org . apache . hadoop . hdfs . IDENT_17 . LOG . info ( STRING_5 ) ; conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; conf . set ( IDENT_4 . IDENT_5 , java . lang . Integer . toString ( METHOD_2 ) ) ; conf . set ( IDENT_4 . IDENT_18 , java . lang . Integer . toString ( 2 ) ) ; conf . set ( STRING_6 , java . lang . Integer . toString ( 5 ) ) ; conf . set ( IDENT_4 . IDENT_19 , STRING_7 ) ; cluster = new org . apache . hadoop . hdfs . IDENT_0 . Builder ( conf ) . METHOD_2 ( ( METHOD_2 * 2 ) ) . format ( false ) . build ( ) ; cluster . METHOD_3 ( ) ; IDENT_7 = new org . apache . hadoop . hdfs . METHOD_4 ( new java . net . METHOD_5 ( STRING_2 , cluster . METHOD_6 ( ) ) , conf ) ; METHOD_8 ( IDENT_2 , IDENT_7 . METHOD_9 ( ) , METHOD_2 , ( - 1 ) ) ; } finally { if ( cluster != null ) { cluster . METHOD_13 ( ) ; } } } size ( ) { return IDENT_20 . size ( ) ; }
org . junit . Assert . assertEquals ( 3 , IDENT_13 . size ( ) )