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