METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . hdfs . IDENT_2 . LOG . debug ( STRING_0 ) ; org . apache . IDENT_0 . Context context = new org . apache . IDENT_0 . Context ( ) ; org . apache . IDENT_0 . IDENT_3 channel = new org . apache . IDENT_0 . channel . METHOD_1 ( ) ; context . put ( STRING_1 , IDENT_4 ) ; context . put ( STRING_2 , STRING_3 ) ; org . apache . IDENT_0 . conf . IDENT_5 . METHOD_2 ( IDENT_1 , context ) ; org . apache . IDENT_0 . conf . IDENT_5 . METHOD_2 ( channel , context ) ; IDENT_1 . METHOD_3 ( channel ) ; IDENT_1 . start ( ) ; "<AssertPlaceHolder>" ; IDENT_1 . METHOD_4 ( ) ; } process ( ) { if ( null == ( IDENT_6 ) ) { try { if ( org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . METHOD_5 ( ) ) org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . info ( ( ( ( ( ( this . getName ( ) ) + STRING_4 ) + ( IDENT_9 . METHOD_6 ( ) ) ) + STRING_5 ) + ( IDENT_9 . METHOD_7 ( ) ) ) ) ; IDENT_6 = IDENT_9 . METHOD_8 ( ) ; IDENT_10 . METHOD_9 ( IDENT_11 . IDENT_12 ) ; IDENT_13 = null ; } catch ( java . lang . Exception ex ) { if ( org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . METHOD_10 ( ) ) org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . error ( ( ( this . getName ( ) ) + STRING_6 ) , ex ) ; METHOD_11 ( ) ; return Status . IDENT_14 ; } } if ( null == ( IDENT_13 ) ) { try { if ( org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . METHOD_5 ( ) ) org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . info ( ( ( this . getName ( ) ) + STRING_7 ) ) ; IDENT_13 = IDENT_6 . METHOD_12 ( ) ; IDENT_10 . METHOD_9 ( IDENT_11 . IDENT_15 ) ; if ( org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . METHOD_5 ( ) ) org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . info ( ( ( ( ( ( this . getName ( ) ) + STRING_8 ) + ( IDENT_9 . METHOD_6 ( ) ) ) + STRING_5 ) + ( IDENT_9 . METHOD_7 ( ) ) ) ) ; } catch ( java . lang . Exception ex ) { if ( org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . METHOD_10 ( ) ) org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . error ( ( ( this . getName ( ) ) + STRING_9 ) , ex ) ; METHOD_11 ( ) ; return Status . IDENT_14 ; } } org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_16 tx = METHOD_13 ( ) . METHOD_14 ( ) ; try { tx . METHOD_15 ( ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_17 e = METHOD_13 ( ) . METHOD_16 ( ) ; if ( e == null ) { tx . METHOD_17 ( ) ; return Status . IDENT_14 ; } try { IDENT_13 . METHOD_18 ( IDENT_18 , IDENT_19 , null , e . METHOD_19 ( ) ) ; tx . commit ( ) ; IDENT_10 . METHOD_9 ( IDENT_11 . IDENT_20 ) ; } catch ( java . lang . Exception ex ) { METHOD_11 ( ) ; throw ex ; } return Status . IDENT_21 ; } catch ( java . lang . Exception ex ) { tx . METHOD_17 ( ) ; if ( org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . METHOD_10 ( ) ) org . apache . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . log . error ( ( ( this . getName ( ) ) + STRING_10 ) , ex ) ; return Status . IDENT_14 ; } finally { tx . close ( ) ; } }
org . junit . Assert . assertEquals ( Status . IDENT_14 , IDENT_1 . process ( ) )