METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; org . apache . hadoop . hdfs . IDENT_0 cluster = new org . apache . hadoop . hdfs . IDENT_0 . Builder ( conf ) . METHOD_1 ( 1 ) . build ( ) ; cluster . METHOD_2 ( ) ; org . apache . hadoop . fs . IDENT_1 fs = cluster . METHOD_3 ( ) ; org . apache . hadoop . fs . Path path = new org . apache . hadoop . fs . Path ( STRING_0 ) ; "<AssertPlaceHolder>" ; int size = conf . METHOD_4 ( IDENT_2 . IDENT_3 , INT_0 ) ; byte [ ] data = new byte [ size ] ; org . apache . hadoop . fs . Path IDENT_4 = new org . apache . hadoop . fs . Path ( STRING_1 ) ; org . apache . hadoop . fs . IDENT_5 IDENT_6 = fs . create ( IDENT_4 ) ; fs . delete ( IDENT_4 , false ) ; try { IDENT_6 . write ( data , 0 , data . length ) ; IDENT_6 . METHOD_5 ( ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( java . lang . Exception e ) { } finally { if ( cluster != null ) { cluster . METHOD_6 ( ) ; } } } METHOD_7 ( org . apache . hadoop . fs . Path ) { return false ; }
org . junit . Assert . assertTrue ( fs . METHOD_7 ( path ) )