METHOD_0 ( ) { org . apache . hadoop . fs . Path file = new org . apache . hadoop . fs . Path ( IDENT_0 , STRING_0 ) ; org . apache . hadoop . fs . IDENT_1 out = hdfs . create ( file ) ; out . close ( ) ; hdfs . METHOD_1 ( IDENT_2 . IDENT_3 ) ; hdfs . METHOD_2 ( ) ; hdfs . METHOD_1 ( IDENT_2 . IDENT_4 ) ; out = hdfs . append ( file ) ; out . write ( 1 ) ; out . close ( ) ; cluster . METHOD_3 ( ) ; cluster = new org . apache . hadoop . hdfs . IDENT_5 . Builder ( conf ) . format ( false ) . METHOD_4 ( org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_7 . IDENT_8 ) . build ( ) ; cluster . METHOD_5 ( ) ; hdfs = cluster . METHOD_6 ( ) ; org . apache . hadoop . fs . IDENT_9 status = hdfs . METHOD_7 ( file ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return length ; }
org . junit . Assert . assertEquals ( 1 , status . METHOD_8 ( ) )