METHOD_0 ( ) { final org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . METHOD_1 ( IDENT_0 . IDENT_1 , false ) ; conf . METHOD_2 ( IDENT_0 . IDENT_2 , org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 ) ; org . apache . hadoop . fs . IDENT_7 IDENT_8 = null ; final org . apache . hadoop . hdfs . IDENT_9 cluster = METHOD_3 ( conf , 3 ) ; try { cluster . METHOD_4 ( ) ; cluster . METHOD_5 ( 0 ) ; cluster . METHOD_6 ( TimeUnit . IDENT_10 . METHOD_7 ( 1 ) ) ; java . lang . Thread . sleep ( INT_0 ) ; org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . LOG . info ( STRING_0 ) ; org . apache . hadoop . fs . IDENT_11 fs = org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_12 . METHOD_8 ( cluster , conf ) ; IDENT_8 = fs . create ( org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_13 ) ; org . apache . hadoop . hdfs . IDENT_14 . write ( IDENT_8 , 0 , org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_15 ) ; IDENT_8 . METHOD_9 ( ) ; org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . LOG . info ( STRING_1 ) ; cluster . METHOD_10 ( 0 ) ; cluster . METHOD_5 ( 1 ) ; "<AssertPlaceHolder>" ; org . apache . hadoop . fs . IDENT_11 IDENT_16 = METHOD_11 ( cluster , conf ) ; org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_12 ( IDENT_16 , org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_13 ) ; org . apache . hadoop . hdfs . IDENT_14 . METHOD_13 ( fs , org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_13 , org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_15 ) ; cluster . METHOD_10 ( 1 ) ; cluster . METHOD_5 ( 0 ) ; org . apache . hadoop . hdfs . IDENT_14 . METHOD_13 ( fs , org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_13 , org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_15 ) ; } finally { org . apache . hadoop . io . IDENT_17 . METHOD_14 ( IDENT_8 ) ; cluster . METHOD_15 ( ) ; } } exists ( org . apache . hadoop . fs . Path ) { return fs . exists ( p ) ; }
org . junit . Assert . assertTrue ( fs . exists ( org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_13 ) )