METHOD_0 ( ) { org . apache . hadoop . hdfs . IDENT_0 cluster = new org . apache . hadoop . hdfs . IDENT_0 . Builder ( conf ) . METHOD_1 ( 2 ) . build ( ) ; try { cluster . METHOD_2 ( ) ; org . apache . hadoop . hdfs . server . protocol . IDENT_1 IDENT_2 = cluster . METHOD_3 ( ) ; org . apache . hadoop . hdfs . server . protocol . IDENT_1 IDENT_3 = METHOD_4 ( IDENT_2 ) ; org . apache . hadoop . hdfs . IDENT_4 IDENT_5 = new org . apache . hadoop . hdfs . METHOD_5 ( null , IDENT_3 , conf , null ) ; byte [ ] buf = new byte [ INT_0 ] ; org . apache . hadoop . fs . IDENT_6 IDENT_7 = METHOD_6 ( IDENT_5 , ( ( org . apache . hadoop . hdfs . IDENT_8 . IDENT_9 ) + STRING_0 ) ) ; IDENT_7 . write ( buf , 0 , INT_0 ) ; IDENT_7 . close ( ) ; org . apache . hadoop . hdfs . IDENT_10 IDENT_11 = IDENT_5 . METHOD_7 ( ( ( org . apache . hadoop . hdfs . IDENT_8 . IDENT_9 ) + STRING_0 ) ) ; org . apache . hadoop . fs . IDENT_6 IDENT_12 = METHOD_6 ( IDENT_5 , ( ( org . apache . hadoop . hdfs . IDENT_8 . IDENT_9 ) + STRING_1 ) ) ; METHOD_8 ( new org . apache . hadoop . IDENT_13 . METHOD_9 ( org . apache . hadoop . security . token . IDENT_14 . IDENT_15 . class . getName ( ) , STRING_2 ) ) . when ( IDENT_3 ) . METHOD_10 ( anyString ( ) ) ; org . apache . hadoop . hdfs . client . impl . IDENT_16 IDENT_17 = IDENT_5 . METHOD_11 ( ) ; IDENT_5 . IDENT_18 = ( ( org . apache . hadoop . util . IDENT_19 . METHOD_12 ( ) ) - ( org . apache . hadoop . hdfs . protocol . IDENT_20 . IDENT_21 ) ) - 1000 ; try { IDENT_5 . METHOD_10 ( ) ; } catch ( java . io . IOException e ) { } try { IDENT_12 . write ( buf , 0 , INT_0 ) ; org . apache . hadoop . hdfs . IDENT_8 . LOG . info ( STRING_0 1 ) ; } catch ( java . io . IOException e ) { org . junit . Assert . fail ( STRING_3 ) ; } IDENT_5 . IDENT_18 = ( ( org . apache . hadoop . util . IDENT_19 . METHOD_12 ( ) ) - ( org . apache . hadoop . hdfs . protocol . IDENT_20 . IDENT_22 ) ) - 1000 ; IDENT_5 . METHOD_10 ( ) ; try { IDENT_12 . write ( buf , 0 , INT_0 ) ; IDENT_12 . close ( ) ; org . junit . Assert . fail ( STRING_4 ) ; } catch ( java . io . IOException e ) { org . apache . hadoop . hdfs . IDENT_8 . LOG . info ( STRING_5 , e ) ; } java . lang . Thread . sleep ( 1000 ) ; "<AssertPlaceHolder>" ; METHOD_13 ( ) . when ( IDENT_3 ) . METHOD_10 ( anyString ( ) ) ; try { int IDENT_23 = IDENT_11 . read ( buf , 0 , 1 ) ; if ( IDENT_23 != 1 ) { org . junit . Assert . fail ( STRING_6 ) ; } IDENT_11 . close ( ) ; } catch ( java . io . IOException e ) { org . apache . hadoop . hdfs . IDENT_8 . LOG . error ( STRING_0 0 , e ) ; org . junit . Assert . fail ( STRING_7 ) ; } try { IDENT_7 = METHOD_6 ( IDENT_5 , ( ( org . apache . hadoop . hdfs . IDENT_8 . IDENT_9 ) + STRING_0 ) ) ; IDENT_7 . write ( buf , 0 , INT_0 ) ; IDENT_7 . close ( ) ; } catch ( java . io . IOException e ) { org . apache . hadoop . hdfs . IDENT_8 . LOG . error ( STRING_8 , e ) ; org . junit . Assert . fail ( STRING_9 ) ; } } finally { cluster . METHOD_14 ( ) ; } } isEmpty ( ) { return IDENT_24 . isEmpty ( ) ; }
org . junit . Assert . assertTrue ( IDENT_17 . isEmpty ( ) )