METHOD_0 ( ) { long IDENT_0 = INT_0 ; org . apache . hadoop . fs . Path file = new org . apache . hadoop . fs . Path ( STRING_0 ) ; org . apache . hadoop . hdfs . IDENT_1 . conf . METHOD_1 ( IDENT_2 . IDENT_3 , 10 ) ; org . apache . hadoop . hdfs . IDENT_1 . conf . METHOD_1 ( org . apache . hadoop . hdfs . IDENT_2 . IDENT_4 , ( 2 * 1000 ) ) ; org . apache . hadoop . hdfs . IDENT_5 cluster = new org . apache . hadoop . hdfs . IDENT_5 . Builder ( org . apache . hadoop . hdfs . IDENT_1 . conf ) . format ( true ) . build ( ) ; try { cluster . METHOD_2 ( ) ; org . apache . hadoop . fs . IDENT_6 fs = cluster . METHOD_3 ( ) ; org . apache . hadoop . hdfs . server . protocol . IDENT_7 IDENT_8 = cluster . METHOD_4 ( ) ; org . apache . hadoop . hdfs . server . protocol . IDENT_7 IDENT_9 = METHOD_5 ( IDENT_8 ) ; org . apache . hadoop . hdfs . IDENT_10 client = new org . apache . hadoop . hdfs . METHOD_6 ( null , IDENT_9 , org . apache . hadoop . hdfs . IDENT_1 . conf , null ) ; int IDENT_11 = client . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; org . apache . hadoop . hdfs . IDENT_12 . METHOD_8 ( fs , file , IDENT_0 , ( ( short ) ( 1 ) ) , INT_1 ) ; METHOD_9 ( new org . apache . hadoop . hdfs . IDENT_1 . METHOD_10 ( IDENT_8 , ( IDENT_11 + 1 ) ) ) . when ( IDENT_9 ) . METHOD_11 ( anyString ( ) , METHOD_12 ( ) , METHOD_12 ( ) ) ; try { org . apache . hadoop . io . IDENT_13 . METHOD_13 ( client . METHOD_14 ( file . toString ( ) ) , new org . apache . hadoop . io . IDENT_13 . METHOD_15 ( ) , org . apache . hadoop . hdfs . IDENT_1 . conf , true ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . io . IOException IDENT_14 ) { METHOD_6 . LOG . info ( STRING_2 , IDENT_14 ) ; } METHOD_9 ( new org . apache . hadoop . hdfs . IDENT_1 . METHOD_10 ( IDENT_8 , IDENT_11 ) ) . when ( IDENT_9 ) . METHOD_11 ( anyString ( ) , METHOD_12 ( ) , METHOD_12 ( ) ) ; org . apache . hadoop . io . IDENT_13 . METHOD_13 ( client . METHOD_14 ( file . toString ( ) ) , new org . apache . hadoop . io . IDENT_13 . METHOD_15 ( ) , org . apache . hadoop . hdfs . IDENT_1 . conf , true ) ; METHOD_6 . LOG . info ( STRING_3 ) ; METHOD_9 ( new org . apache . hadoop . hdfs . IDENT_1 . METHOD_10 ( IDENT_8 , IDENT_11 ) ) . when ( IDENT_9 ) . METHOD_11 ( anyString ( ) , METHOD_12 ( ) , METHOD_12 ( ) ) ; org . apache . hadoop . hdfs . IDENT_15 is = client . METHOD_14 ( file . toString ( ) ) ; byte [ ] buf = new byte [ 10 ] ; org . apache . hadoop . io . IDENT_13 . METHOD_16 ( is , buf , 0 , buf . length ) ; METHOD_6 . LOG . info ( STRING_4 ) ; METHOD_9 ( new org . apache . hadoop . hdfs . IDENT_1 . METHOD_10 ( IDENT_8 , IDENT_11 ) ) . when ( IDENT_9 ) . METHOD_11 ( anyString ( ) , METHOD_12 ( ) , METHOD_12 ( ) ) ; is . METHOD_17 ( ) ; is . METHOD_18 ( 0 ) ; org . apache . hadoop . io . IDENT_13 . METHOD_16 ( is , buf , 0 , buf . length ) ; } finally { cluster . METHOD_19 ( ) ; } } METHOD_7 ( ) { return IDENT_16 . IDENT_17 ; }
org . junit . Assert . assertTrue ( ( IDENT_11 > 0 ) )