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