METHOD_0 ( ) { final org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; conf . METHOD_2 ( IDENT_0 . IDENT_1 , INT_0 ) ; conf . METHOD_2 ( IDENT_0 . IDENT_2 , 1 ) ; conf . METHOD_2 ( IDENT_0 . IDENT_3 , 1 ) ; final org . apache . hadoop . hdfs . IDENT_4 cluster = new org . apache . hadoop . hdfs . IDENT_4 . Builder ( conf ) . METHOD_3 ( IDENT_5 ) . build ( ) ; try { final org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_7 IDENT_8 = cluster . METHOD_4 ( ) ; final org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_10 IDENT_11 = IDENT_8 . METHOD_5 ( ) ; final org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_12 IDENT_13 = IDENT_11 . METHOD_6 ( ) . METHOD_7 ( ) ; final org . apache . hadoop . fs . IDENT_14 fs = cluster . METHOD_8 ( ) ; final org . apache . hadoop . fs . Path IDENT_15 = new org . apache . hadoop . fs . Path ( STRING_0 ) ; org . apache . hadoop . hdfs . IDENT_16 . METHOD_9 ( fs , IDENT_15 , 1L , IDENT_5 , 1L ) ; org . apache . hadoop . hdfs . IDENT_16 . METHOD_10 ( fs , IDENT_15 , IDENT_5 ) ; org . apache . hadoop . hdfs . protocol . IDENT_17 block = org . apache . hadoop . hdfs . IDENT_16 . METHOD_11 ( fs , IDENT_15 ) ; final org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_18 [ ] IDENT_19 = IDENT_13 . METHOD_12 ( ) ; cluster . METHOD_13 ( conf , 2 , true , null , null ) ; cluster . METHOD_14 ( ) ; org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_18 IDENT_20 = IDENT_19 [ 0 ] ; org . apache . hadoop . hdfs . IDENT_4 . IDENT_21 IDENT_22 = cluster . METHOD_15 ( IDENT_20 . METHOD_16 ( ) ) ; org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_23 . METHOD_17 ( cluster . METHOD_18 ( ) , IDENT_20 . METHOD_16 ( ) ) ; org . apache . hadoop . hdfs . IDENT_16 . METHOD_10 ( fs , IDENT_15 , IDENT_5 ) ; cluster . METHOD_19 ( IDENT_22 ) ; cluster . METHOD_14 ( ) ; METHOD_20 ( IDENT_24 ) ; while ( ( METHOD_21 ( block . METHOD_22 ( ) , IDENT_8 ) . METHOD_23 ( ) ) == 0 ) { METHOD_24 ( STRING_1 ) ; } org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_18 IDENT_25 = null ; for ( org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_26 storage : IDENT_11 . IDENT_27 . METHOD_25 ( block . METHOD_22 ( ) ) ) { final org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_18 IDENT_28 = storage . METHOD_26 ( ) ; final org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_29 info = new org . apache . hadoop . hdfs . server . IDENT_9 . METHOD_27 ( block . METHOD_22 ( ) , ( ( short ) ( 0 ) ) ) ; if ( ! ( IDENT_11 . METHOD_28 ( IDENT_28 , info ) ) ) { IDENT_25 = IDENT_28 ; break ; } } "<AssertPlaceHolder>" ; IDENT_22 = cluster . METHOD_15 ( IDENT_25 . METHOD_16 ( ) ) ; org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_23 . METHOD_17 ( cluster . METHOD_18 ( ) , IDENT_25 . METHOD_16 ( ) ) ; METHOD_20 ( IDENT_24 ) ; while ( ( METHOD_21 ( block . METHOD_22 ( ) , IDENT_8 ) . METHOD_29 ( ) ) != ( IDENT_5 ) ) { METHOD_24 ( STRING_2 , 1000 ) ; } cluster . METHOD_19 ( IDENT_22 ) ; cluster . METHOD_14 ( ) ; METHOD_20 ( IDENT_24 ) ; while ( ( METHOD_21 ( block . METHOD_22 ( ) , IDENT_8 ) . METHOD_23 ( ) ) != 2 ) { METHOD_24 ( STRING_3 ) ; } } finally { cluster . METHOD_30 ( ) ; } } METHOD_28 ( org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_18 , org . apache . hadoop . hdfs . server . IDENT_9 . IDENT_29 ) { return IDENT_30 . contains ( IDENT_28 , IDENT_31 ) ; }
org . junit . Assert . assertTrue ( ( IDENT_25 != null ) )