METHOD_0 ( ) { java . util . Properties properties = new java . util . Properties ( ) ; org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = METHOD_1 ( ) ; org . apache . hadoop . hive . IDENT_0 . IDENT_4 IDENT_5 = new org . apache . hadoop . hive . IDENT_6 . io . IDENT_7 . METHOD_2 ( ) ; org . apache . hadoop . IDENT_8 . IDENT_9 < ? , ? > IDENT_10 = new org . apache . hadoop . hive . IDENT_6 . io . IDENT_7 . METHOD_3 ( ) ; conf . METHOD_4 ( STRING_0 , 50 ) ; org . apache . hadoop . IDENT_8 . IDENT_11 writer = IDENT_10 . METHOD_5 ( fs , conf , IDENT_12 . toString ( ) , IDENT_13 . IDENT_14 ) ; writer . write ( org . apache . hadoop . io . IDENT_15 . get ( ) , IDENT_5 . serialize ( new org . apache . hadoop . hive . IDENT_6 . io . IDENT_7 . IDENT_16 . METHOD_6 ( null ) , IDENT_3 ) ) ; writer . write ( org . apache . hadoop . io . IDENT_15 . get ( ) , IDENT_5 . serialize ( new org . apache . hadoop . hive . IDENT_6 . io . IDENT_7 . IDENT_16 . METHOD_6 ( null ) , IDENT_3 ) ) ; writer . write ( org . apache . hadoop . io . IDENT_15 . get ( ) , IDENT_5 . serialize ( new org . apache . hadoop . hive . IDENT_6 . io . IDENT_7 . IDENT_16 . METHOD_6 ( null ) , IDENT_3 ) ) ; writer . close ( IDENT_13 . IDENT_14 ) ; IDENT_5 = new org . apache . hadoop . hive . IDENT_6 . io . IDENT_7 . METHOD_2 ( ) ; org . apache . hadoop . hive . IDENT_6 . io . IDENT_17 . IDENT_18 IDENT_17 = org . apache . hadoop . hive . IDENT_6 . io . IDENT_17 . IDENT_19 . METHOD_7 ( ) . METHOD_8 ( ) . METHOD_9 ( STRING_1 , IDENT_20 . Type . IDENT_21 , new java . lang . String ( "foo" ) ) . end ( ) . build ( ) ; conf . set ( STRING_2 , org . apache . hadoop . hive . IDENT_6 . io . IDENT_7 . IDENT_16 . METHOD_10 ( IDENT_17 ) ) ; conf . set ( STRING_3 , STRING_1 ) ; properties . setProperty ( STRING_4 , STRING_1 ) ; properties . setProperty ( STRING_5 , STRING_6 ) ; org . apache . hadoop . hive . IDENT_0 . IDENT_22 . METHOD_11 ( IDENT_5 , conf , properties , null ) ; IDENT_3 = ( ( org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_2 ) ( IDENT_5 . METHOD_12 ( ) ) ) ; org . apache . hadoop . IDENT_8 . IDENT_23 < ? , ? > in = new org . apache . hadoop . hive . IDENT_6 . io . IDENT_7 . METHOD_13 ( ) ; org . apache . hadoop . IDENT_8 . IDENT_24 . METHOD_14 ( conf , IDENT_12 . toString ( ) ) ; org . apache . hadoop . IDENT_8 . IDENT_25 [ ] IDENT_26 = in . METHOD_15 ( conf , 1 ) ; "<AssertPlaceHolder>" ; } METHOD_15 ( org . apache . hadoop . IDENT_8 . IDENT_27 , int ) { org . apache . hadoop . hive . IDENT_6 . log . IDENT_28 IDENT_29 = org . apache . hadoop . hive . IDENT_6 . session . IDENT_30 . METHOD_16 ( ) ; IDENT_29 . METHOD_17 ( org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . IDENT_32 , IDENT_28 . IDENT_33 ) ; init ( job ) ; java . util . ArrayList < org . apache . hadoop . IDENT_8 . IDENT_25 > result = new java . util . ArrayList < org . apache . hadoop . IDENT_8 . IDENT_25 > ( ) ; org . apache . hadoop . fs . Path [ ] IDENT_34 = METHOD_18 ( job ) ; java . util . List < org . apache . hadoop . fs . Path > IDENT_35 = new java . util . ArrayList < org . apache . hadoop . fs . Path > ( ( ( IDENT_34 . length ) / 2 ) ) ; java . util . List < org . apache . hadoop . fs . Path > IDENT_36 = new java . util . ArrayList < org . apache . hadoop . fs . Path > ( ( ( IDENT_34 . length ) / 2 ) ) ; int IDENT_37 = java . lang . Math . min ( org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . IDENT_38 , ( ( int ) ( java . lang . Math . METHOD_19 ( ( ( ( double ) ( IDENT_34 . length ) ) / ( org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . IDENT_39 ) ) ) ) ) ) ; if ( IDENT_37 > 0 ) { try { java . util . Set < java . lang . Integer > IDENT_40 = METHOD_20 ( job , IDENT_34 , IDENT_37 ) ; for ( int i = 0 ; i < ( IDENT_34 . length ) ; i ++ ) { if ( IDENT_40 . contains ( i ) ) { IDENT_35 . add ( IDENT_34 [ i ] ) ; } else { IDENT_36 . add ( IDENT_34 [ i ] ) ; } } } catch ( java . lang . Exception e ) { org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . LOG . error ( STRING_7 , e ) ; IDENT_29 . METHOD_21 ( org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . IDENT_32 , IDENT_28 . IDENT_33 ) ; throw new java . io . IOException ( e ) ; } } java . lang . String IDENT_41 = job . get ( org . apache . hadoop . mapreduce . lib . input . IDENT_24 . IDENT_42 ) ; if ( org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . LOG . METHOD_22 ( ) ) { org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . LOG . debug ( ( ( ( STRING_8 + IDENT_41 ) + STRING_9 ) + ( org . apache . hadoop . IDENT_8 . IDENT_24 . IDENT_42 ) ) ) ; } if ( ( IDENT_35 . size ( ) ) > 0 ) { org . apache . hadoop . IDENT_8 . IDENT_24 . METHOD_14 ( job , IDENT_35 . toArray ( new org . apache . hadoop . fs . Path [ IDENT_35 . size ( ) ] ) ) ; org . apache . hadoop . IDENT_8 . IDENT_25 [ ] IDENT_26 = super . METHOD_15 ( job , IDENT_43 ) ; for ( org . apache . hadoop . IDENT_8 . IDENT_25 split : IDENT_26 ) { result . add ( split ) ; } } if ( ( IDENT_36 . size ( ) ) > 0 ) { org . apache . hadoop . IDENT_8 . IDENT_24 . METHOD_14 ( job , IDENT_36 . toArray ( new org . apache . hadoop . fs . Path [ IDENT_36 . size ( ) ] ) ) ; java . util . Map < org . apache . hadoop . fs . Path , org . apache . hadoop . hive . IDENT_6 . plan . IDENT_44 > IDENT_45 = ( ( this . IDENT_45 ) != null ) ? this . IDENT_45 : org . apache . hadoop . hive . IDENT_6 . exec . IDENT_46 . METHOD_23 ( job ) . METHOD_24 ( ) ; org . apache . hadoop . IDENT_8 . IDENT_25 [ ] IDENT_26 = METHOD_25 ( job , IDENT_43 , IDENT_45 ) ; for ( org . apache . hadoop . IDENT_8 . IDENT_25 split : IDENT_26 ) { result . add ( split ) ; } } if ( IDENT_41 != null ) { job . set ( org . apache . hadoop . mapreduce . lib . input . IDENT_24 . IDENT_42 , IDENT_41 ) ; } org . apache . hadoop . hive . IDENT_6 . exec . IDENT_46 . METHOD_26 ( job ) ; if ( ( ( result . isEmpty ( ) ) && ( ( IDENT_34 . length ) > 0 ) ) && ( job . METHOD_27 ( IDENT_46 . IDENT_47 , false ) ) ) { result . add ( new org . apache . hadoop . hive . IDENT_6 . io . METHOD_28 ( new org . apache . hadoop . hive . IDENT_6 . io . IDENT_48 . METHOD_29 ( IDENT_34 [ 0 ] ) , org . apache . hadoop . hive . IDENT_6 . io . IDENT_49 . class . getName ( ) ) ) ; } org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . LOG . info ( ( STRING_10 + ( result . size ( ) ) ) ) ; IDENT_29 . METHOD_21 ( org . apache . hadoop . hive . IDENT_6 . io . IDENT_31 . IDENT_32 , IDENT_28 . IDENT_33 ) ; return result . toArray ( new org . apache . hadoop . IDENT_8 . IDENT_25 [ result . size ( ) ] ) ; }
org . junit . Assert . assertEquals ( 0 , IDENT_26 . length )