METHOD_0 ( ) { final int IDENT_0 = INT_0 * INT_1 ; final int IDENT_1 = 10 * IDENT_0 ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . METHOD_1 ( IDENT_2 . IDENT_3 , IDENT_0 ) ; init ( conf ) ; final int IDENT_4 = 100 ; final org . apache . hadoop . fs . Path file = new org . apache . hadoop . fs . Path ( STRING_0 ) ; final java . util . concurrent . atomic . IDENT_5 IDENT_6 = new java . util . concurrent . atomic . METHOD_2 ( false ) ; final java . util . concurrent . atomic . IDENT_7 < java . lang . String > IDENT_8 = new java . util . concurrent . atomic . METHOD_3 ( ) ; final org . apache . hadoop . fs . IDENT_9 out = IDENT_10 . create ( file ) ; final java . lang . Thread writer = new java . lang . Thread ( new java . lang . METHOD_4 ( ) { @ org . apache . hadoop . hdfs . Override public void run ( ) { try { while ( ! ( IDENT_6 . get ( ) ) ) { out . write ( org . apache . hadoop . hdfs . IDENT_11 . METHOD_5 ( 0 , IDENT_1 ) ) ; out . METHOD_6 ( ) ; } } catch ( java . io . IOException e ) { org . apache . hadoop . hdfs . IDENT_12 . LOG . warn ( STRING_1 , e ) ; } finally { try { out . close ( ) ; } catch ( java . io . IOException e ) { org . apache . hadoop . hdfs . IDENT_12 . LOG . error ( STRING_2 ) ; } } } } ) ; java . lang . Thread IDENT_13 = new java . lang . Thread ( new java . lang . METHOD_4 ( ) { @ org . apache . hadoop . hdfs . Override public void run ( ) { try { for ( int i = 0 ; i < IDENT_4 ; i ++ ) { IDENT_10 . METHOD_7 ( file ) . close ( ) ; } IDENT_6 . set ( true ) ; } catch ( java . io . IOException e ) { IDENT_6 . set ( true ) ; IDENT_8 . set ( java . lang . String . format ( STRING_3 , org . apache . hadoop . util . StringUtils . METHOD_8 ( e ) ) ) ; } catch ( java . lang . Exception e ) { IDENT_6 . set ( true ) ; IDENT_8 . set ( java . lang . String . format ( STRING_3 , org . apache . hadoop . util . StringUtils . METHOD_8 ( e ) ) ) ; writer . METHOD_9 ( ) ; org . junit . Assert . fail ( STRING_4 ) ; } } } ) ; writer . start ( ) ; IDENT_13 . start ( ) ; try { writer . join ( ) ; IDENT_13 . join ( ) ; } catch ( java . lang . IDENT_14 e ) { java . lang . Thread . METHOD_10 ( ) . METHOD_9 ( ) ; } "<AssertPlaceHolder>" ; } get ( ) { return count ; }
org . junit . Assert . assertNull ( IDENT_8 . get ( ) , IDENT_8 . get ( ) )