METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( org . apache . hadoop . io . IDENT_1 . IDENT_2 . METHOD_2 ( ) ) ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . METHOD_3 ( IDENT_3 . IDENT_4 , 0 ) ; conf . METHOD_3 ( IDENT_3 . IDENT_5 , 3 ) ; conf . set ( IDENT_6 . IDENT_7 , STRING_0 ) ; org . apache . hadoop . security . IDENT_8 . METHOD_4 ( conf ) ; conf . set ( IDENT_9 . IDENT_10 , org . apache . hadoop . IDENT_11 . IDENT_12 . IDENT_13 . getAbsolutePath ( ) ) ; org . apache . hadoop . yarn . api . records . IDENT_14 IDENT_15 = org . apache . hadoop . yarn . api . records . IDENT_14 . newInstance ( INT_0 , 1 ) ; org . apache . hadoop . IDENT_11 . IDENT_12 . LOG . info ( IDENT_15 . toString ( ) ) ; java . lang . String IDENT_16 = STRING_1 ; java . lang . String user = STRING_2 ; java . lang . String IDENT_17 = STRING_3 ; java . util . List < java . io . File > IDENT_18 = new java . util . ArrayList < java . io . File > ( ) ; org . apache . hadoop . IDENT_11 . IDENT_12 . METHOD_5 ( org . apache . hadoop . IDENT_11 . IDENT_12 . IDENT_13 , user , IDENT_15 . toString ( ) , IDENT_16 , conf , IDENT_18 ) ; org . apache . hadoop . IDENT_11 . IDENT_3 IDENT_19 = new org . apache . hadoop . IDENT_11 . METHOD_6 ( ) { @ org . apache . hadoop . IDENT_11 . Override MOD_0 org . apache . hadoop . IDENT_11 . IDENT_20 METHOD_7 ( org . apache . hadoop . conf . Configuration conf ) { return new org . apache . hadoop . IDENT_11 . METHOD_8 ( conf ) { @ org . apache . hadoop . IDENT_11 . Override MOD_0 void METHOD_9 ( java . lang . String IDENT_21 , org . jboss . netty . channel . IDENT_22 ctx , org . jboss . netty . handler . codec . http . IDENT_23 request , org . jboss . netty . handler . codec . http . IDENT_24 response , java . net . URL IDENT_25 ) throws java . io . IOException { } } ; } } ; org . apache . hadoop . yarn . server . api . IDENT_26 IDENT_27 = new org . apache . hadoop . IDENT_11 . IDENT_12 . METHOD_10 ( ) ; IDENT_19 . METHOD_11 ( IDENT_27 ) ; IDENT_19 . init ( conf ) ; try { IDENT_19 . start ( ) ; org . apache . hadoop . io . IDENT_28 IDENT_29 = new org . apache . hadoop . io . METHOD_12 ( ) ; IDENT_29 . METHOD_13 ( ) ; org . apache . hadoop . security . token . IDENT_30 < org . apache . hadoop . mapreduce . security . token . IDENT_31 > IDENT_32 = new org . apache . hadoop . security . token . IDENT_30 < org . apache . hadoop . mapreduce . security . token . IDENT_31 > ( STRING_4 . getBytes ( ) , STRING_0 FLOAT_0 getBytes ( ) , new org . apache . hadoop . io . METHOD_14 ( user ) , new org . apache . hadoop . io . METHOD_14 ( STRING_0 1 ) ) ; IDENT_32 . write ( IDENT_29 ) ; IDENT_19 . METHOD_15 ( new org . apache . hadoop . yarn . server . api . METHOD_16 ( user , IDENT_15 , java . nio . ByteBuffer . METHOD_17 ( IDENT_29 . METHOD_18 ( ) , 0 , IDENT_29 . METHOD_19 ( ) ) ) ) ; java . net . URL url = new java . net . URL ( ( ( ( ( STRING_5 + ( IDENT_19 . METHOD_20 ( ) . get ( METHOD_6 . IDENT_4 ) ) ) + STRING_6 ) + IDENT_17 ) + STRING_7 ) ) ; java . net . IDENT_33 conn = ( ( java . net . IDENT_33 ) ( url . METHOD_21 ( ) ) ) ; conn . METHOD_22 ( IDENT_34 . IDENT_35 , IDENT_34 . IDENT_36 ) ; conn . METHOD_22 ( IDENT_34 . IDENT_37 , IDENT_34 . IDENT_38 ) ; conn . connect ( ) ; byte [ ] IDENT_39 = new byte [ INT_1 ] ; try { java . io . IDENT_40 is = new java . io . METHOD_23 ( conn . METHOD_24 ( ) ) ; is . METHOD_25 ( IDENT_39 ) ; } catch ( java . io . IDENT_41 e ) { } java . io . IDENT_42 is = new java . io . METHOD_26 ( IDENT_18 . get ( 0 ) ) ; java . lang . String IDENT_43 = IDENT_2 . IDENT_44 . METHOD_27 ( is . METHOD_28 ( ) ) . METHOD_29 ( ) ; is . close ( ) ; java . lang . String message = ( ( ( ( ( STRING_0 2 + IDENT_43 ) + STRING_8 ) + ( IDENT_18 . get ( 0 ) . getAbsolutePath ( ) ) ) + STRING_0 0 ) + user ) + STRING_9 ; "<AssertPlaceHolder>" ; } finally { IDENT_19 . METHOD_30 ( ) ; org . apache . hadoop . fs . IDENT_45 . METHOD_31 ( org . apache . hadoop . IDENT_11 . IDENT_12 . IDENT_13 ) ; } } contains ( org . apache . hadoop . yarn . server . IDENT_46 . IDENT_47 . IDENT_48 ) { return types . contains ( type ) ; }
org . junit . Assert . assertTrue ( new java . lang . String ( IDENT_39 ) . contains ( message ) )