METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . hdfs . IDENT_2 . LOG . debug ( STRING_0 ) ; final int IDENT_3 = 4 ; final java . lang . String IDENT_4 = STRING_1 ; final long IDENT_5 = 5 ; final long IDENT_6 = 2 ; java . lang . String IDENT_7 = ( IDENT_8 ) + STRING_2 7 ; int i = 1 ; int j = 1 ; org . apache . IDENT_0 . IDENT_1 . hdfs . IDENT_9 IDENT_10 = new org . apache . IDENT_0 . IDENT_1 . hdfs . METHOD_1 ( ) ; IDENT_1 = new org . apache . IDENT_0 . IDENT_1 . hdfs . METHOD_2 ( IDENT_10 ) ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; org . apache . hadoop . fs . IDENT_11 fs = org . apache . hadoop . fs . IDENT_11 . get ( conf ) ; org . apache . hadoop . fs . Path IDENT_12 = new org . apache . hadoop . fs . Path ( IDENT_7 ) ; fs . delete ( IDENT_12 , true ) ; fs . METHOD_3 ( IDENT_12 ) ; org . apache . IDENT_0 . Context context = new org . apache . IDENT_0 . Context ( ) ; context . put ( STRING_3 , IDENT_7 ) ; context . put ( STRING_2 5 , IDENT_4 ) ; context . put ( STRING_2 6 , java . lang . String . valueOf ( IDENT_5 ) ) ; context . put ( STRING_4 , java . lang . String . valueOf ( IDENT_6 ) ) ; context . put ( STRING_2 , METHOD_1 . IDENT_13 ) ; org . apache . IDENT_0 . conf . IDENT_14 . METHOD_4 ( IDENT_1 , context ) ; org . apache . IDENT_0 . channel . IDENT_15 channel = new org . apache . IDENT_0 . channel . METHOD_5 ( ) ; org . apache . IDENT_0 . conf . IDENT_14 . METHOD_4 ( channel , new org . apache . IDENT_0 . Context ( ) ) ; IDENT_1 . METHOD_6 ( channel ) ; IDENT_1 . start ( ) ; java . util . Calendar IDENT_16 = java . util . Calendar . getInstance ( ) ; java . util . List < java . lang . String > IDENT_17 = com . google . common . collect . Lists . newArrayList ( ) ; for ( i = 1 ; i < IDENT_3 ; i ++ ) { channel . METHOD_7 ( ) . METHOD_8 ( ) ; try { for ( j = 1 ; j <= IDENT_6 ; j ++ ) { org . apache . IDENT_0 . IDENT_18 event = new org . apache . IDENT_0 . event . METHOD_9 ( ) ; IDENT_16 . METHOD_10 ( ) ; IDENT_16 . set ( INT_0 , i , i , i , 0 ) ; event . METHOD_11 ( ) . put ( STRING_2 1 , java . lang . String . valueOf ( IDENT_16 . METHOD_12 ( ) ) ) ; event . METHOD_11 ( ) . put ( STRING_5 , ( STRING_2 0 + i ) ) ; java . lang . String body = ( ( STRING_2 2 + i ) + STRING_2 3 ) + j ; event . METHOD_13 ( body . getBytes ( ) ) ; IDENT_17 . add ( body ) ; event . METHOD_11 ( ) . put ( STRING_6 , STRING_2 4 ) ; channel . put ( event ) ; } channel . METHOD_7 ( ) . commit ( ) ; } finally { channel . METHOD_7 ( ) . close ( ) ; } org . apache . IDENT_0 . IDENT_1 . hdfs . IDENT_2 . LOG . info ( ( STRING_7 + ( IDENT_1 . process ( ) ) ) ) ; } org . apache . IDENT_0 . IDENT_1 . hdfs . IDENT_2 . LOG . info ( ( STRING_8 + ( IDENT_1 . process ( ) ) ) ) ; IDENT_1 . METHOD_14 ( ) ; METHOD_15 ( fs , conf , IDENT_12 . METHOD_16 ( ) . getPath ( ) , IDENT_4 , IDENT_17 ) ; org . apache . IDENT_0 . IDENT_19 . IDENT_20 IDENT_21 = ( ( org . apache . IDENT_0 . IDENT_19 . IDENT_20 ) ( org . mockito . internal . util . IDENT_22 . IDENT_23 . METHOD_17 ( IDENT_1 , STRING_9 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_18 ( ) { return get ( org . apache . IDENT_0 . IDENT_19 . IDENT_20 . IDENT_24 ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_21 . METHOD_18 ( ) )