METHOD_0 ( ) { org . apache . hadoop . security . IDENT_0 . IDENT_1 shell = new org . apache . hadoop . security . IDENT_0 . METHOD_1 ( ) ; shell . METHOD_2 ( new org . apache . hadoop . conf . Configuration ( ) ) ; "<AssertPlaceHolder>" ; } init ( java . lang . String [ ] ) { org . apache . commons . cli . IDENT_2 IDENT_3 = new org . apache . commons . cli . METHOD_3 ( ) . parse ( IDENT_4 , args ) ; if ( ( args . length ) == 0 ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } if ( IDENT_3 . METHOD_4 ( STRING_1 9 ) ) { java . lang . String IDENT_5 = IDENT_3 . METHOD_5 ( STRING_1 9 ) ; try { org . apache . hadoop . yarn . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_6 ( org . apache . hadoop . yarn . IDENT_6 . IDENT_7 . IDENT_9 . class , IDENT_5 ) ; } catch ( java . lang . Exception e ) { org . apache . hadoop . yarn . IDENT_6 . IDENT_7 . IDENT_9 . LOG . warn ( ( STRING_2 1 + e ) ) ; } } if ( IDENT_3 . METHOD_4 ( STRING_3 7 ) ) { METHOD_7 ( ) ; return false ; } if ( IDENT_3 . METHOD_4 ( STRING_1 1 ) ) { IDENT_10 = true ; } if ( IDENT_3 . METHOD_4 ( STRING_0 6 ) ) { org . apache . hadoop . yarn . IDENT_6 . IDENT_7 . IDENT_9 . LOG . info ( STRING_0 6 ) ; IDENT_11 = true ; } if ( IDENT_3 . METHOD_4 ( STRING_2 6 ) ) { IDENT_12 = IDENT_3 . METHOD_5 ( STRING_2 6 ) ; org . apache . hadoop . yarn . IDENT_6 . IDENT_7 . IDENT_13 . parse ( this . IDENT_12 ) ; } IDENT_14 = IDENT_3 . METHOD_5 ( STRING_1 4 , STRING_4 4 ) ; IDENT_15 = java . lang . Integer . METHOD_8 ( IDENT_3 . METHOD_5 ( STRING_3 0 , STRING_1 2 ) ) ; IDENT_16 = IDENT_3 . METHOD_5 ( STRING_2 4 , STRING_2 8 ) ; IDENT_17 = java . lang . Integer . METHOD_8 ( IDENT_3 . METHOD_5 ( STRING_3 3 , STRING_0 8 ) ) ; IDENT_18 = java . lang . Integer . METHOD_8 ( IDENT_3 . METHOD_5 ( STRING_5 , STRING_0 8 ) ) ; if ( IDENT_3 . METHOD_4 ( STRING_5 1 ) ) { java . util . Map < java . lang . String , java . lang . Long > IDENT_19 = org . apache . hadoop . yarn . IDENT_6 . IDENT_7 . IDENT_9 . METHOD_9 ( IDENT_3 . METHOD_5 ( STRING_5 1 ) ) ; for ( Map . Entry < java . lang . String , java . lang . Long > entry : IDENT_19 . entrySet ( ) ) { if ( entry . getKey ( ) . equals ( IDENT_20 . IDENT_21 ) ) { IDENT_17 = entry . getValue ( ) ; } else if ( entry . getKey ( ) . equals ( IDENT_20 . IDENT_22 ) ) { IDENT_18 = entry . getValue ( ) . METHOD_10 ( ) ; } else { IDENT_23 . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } } } IDENT_24 = IDENT_3 . METHOD_5 ( STRING_0 3 , STRING_3 4 ) ; if ( ! ( IDENT_3 . METHOD_4 ( STRING_2 5 ) ) ) { throw new java . lang . IllegalArgumentException ( STRING_4 ) ; } IDENT_25 = IDENT_3 . METHOD_5 ( STRING_2 5 ) ; if ( ( ! ( IDENT_3 . METHOD_4 ( STRING_3 1 ) ) ) && ( ! ( IDENT_3 . METHOD_4 ( STRING_4 1 ) ) ) ) { throw new java . lang . IllegalArgumentException ( STRING_4 8 ) ; } else if ( ( IDENT_3 . METHOD_4 ( STRING_3 1 ) ) && ( IDENT_3 . METHOD_4 ( STRING_4 1 ) ) ) { throw new java . lang . IllegalArgumentException ( ( STRING_2 9 + STRING_0 9 ) ) ; } else if ( IDENT_3 . METHOD_4 ( STRING_3 1 ) ) { IDENT_26 = IDENT_3 . METHOD_5 ( STRING_3 1 ) ; } else { IDENT_27 = IDENT_3 . METHOD_5 ( STRING_4 1 ) ; } if ( IDENT_3 . METHOD_4 ( STRING_6 ) ) { IDENT_28 = IDENT_3 . METHOD_11 ( STRING_6 ) ; } if ( IDENT_3 . METHOD_4 ( STRING_0 4 ) ) { java . lang . String [ ] IDENT_29 = IDENT_3 . METHOD_11 ( STRING_0 4 ) ; for ( java . lang . String IDENT_30 : IDENT_29 ) { IDENT_30 = IDENT_30 . trim ( ) ; int index = IDENT_30 . indexOf ( STRING_7 ) ; if ( index == ( - 1 ) ) { IDENT_31 . put ( IDENT_30 , STRING_3 4 ) ; continue ; } java . lang . String key = IDENT_30 . substring ( 0 , index ) ; java . lang . String val = STRING_3 4 ; if ( index < ( ( IDENT_30 . length ( ) ) - 1 ) ) { val = IDENT_30 . substring ( ( index + 1 ) ) ; } IDENT_31 . put ( key , val ) ; } } IDENT_32 = java . lang . Integer . METHOD_8 ( IDENT_3 . METHOD_5 ( STRING_0 5 , STRING_1 2 ) ) ; if ( IDENT_3 . METHOD_4 ( STRING_1 5 ) ) { java . lang . String IDENT_33 = IDENT_3 . METHOD_5 ( STRING_1 5 ) ; if ( java . util . Arrays . stream ( org . apache . hadoop . yarn . api . records . IDENT_34 . values ( ) ) . METHOD_12 ( ( IDENT_35 ) -> IDENT_35 . toString ( ) . equals ( IDENT_33 ) ) ) { throw new java . lang . IllegalArgumentException ( ( STRING_5 2 + IDENT_33 ) ) ; } IDENT_36 = org . apache . hadoop . yarn . api . records . IDENT_34 . valueOf ( IDENT_33 ) ; } if ( IDENT_3 . METHOD_4 ( STRING_5 3 ) ) { IDENT_37 = true ; } if ( IDENT_3 . METHOD_4 ( STRING_5 5 ) ) { IDENT_38 = true ; } IDENT_39 = java . lang . Integer . METHOD_8 ( IDENT_3 . METHOD_5 ( STRING_1 0 , STRING_0 8 ) ) ; IDENT_40 = java . lang . Integer . METHOD_8 ( IDENT_3 . METHOD_5 ( STRING_2 7 , STRING_0 8 ) ) ; if ( IDENT_3 . METHOD_4 ( STRING_3 2 ) ) { java . util . Map < java . lang . String , java . lang . Long > resources = org . apache . hadoop . yarn . IDENT_6 . IDENT_7 . IDENT_9 . METHOD_9 ( IDENT_3 . METHOD_5 ( STRING_3 2 ) ) ; for ( Map . Entry < java . lang . String , java . lang . Long > entry : resources . entrySet ( ) ) { if ( entry . getKey ( ) . equals ( IDENT_20 . IDENT_21 ) ) { IDENT_39 = entry . getValue ( ) ; } else if ( entry . getKey ( ) . equals ( IDENT_20 . IDENT_22 ) ) { IDENT_40 = entry . getValue ( ) . METHOD_10 ( ) ; } else { IDENT_41 . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } } } IDENT_42 = IDENT_3 . METHOD_5 ( STRING_2 0 , STRING_3 4 ) ; IDENT_43 = java . lang . Integer . METHOD_8 ( IDENT_3 . METHOD_5 ( STRING_4 2 , STRING_4 0 ) ) ; if ( ( IDENT_43 ) < 1 ) { throw new java . lang . IllegalArgumentException ( ( ( STRING_4 7 + STRING_4 3 ) + ( IDENT_43 ) ) ) ; } IDENT_44 = IDENT_3 . METHOD_5 ( STRING_4 5 , null ) ; IDENT_45 = java . lang . Integer . METHOD_8 ( IDENT_3 . METHOD_5 ( STRING_3 , STRING_3 6 ) ) ; IDENT_46 = java . lang . Long . METHOD_13 ( IDENT_3 . METHOD_5 ( STRING_1 7 , STRING_0 8 ) ) ; IDENT_47 = IDENT_3 . METHOD_5 ( STRING_1 9 , STRING_3 4 ) ; if ( IDENT_3 . METHOD_4 ( STRING_0 2 ) ) { IDENT_48 = IDENT_3 . METHOD_5 ( STRING_0 2 ) ; IDENT_49 = IDENT_3 . METHOD_4 ( STRING_1 8 ) ; if ( IDENT_3 . METHOD_4 ( STRING_1 6 ) ) { IDENT_50 = IDENT_3 . METHOD_5 ( STRING_1 6 ) ; } if ( IDENT_3 . METHOD_4 ( STRING_1 3 ) ) { IDENT_51 = IDENT_3 . METHOD_5 ( STRING_1 3 ) ; } } if ( IDENT_3 . METHOD_4 ( STRING_2 2 ) ) { IDENT_52 . add ( ( STRING_3 5 + ( IDENT_3 . METHOD_5 ( STRING_2 2 ) ) ) ) ; } if ( IDENT_3 . METHOD_4 ( STRING_8 ) ) { IDENT_52 . add ( ( STRING_2 3 + ( IDENT_3 . METHOD_5 ( STRING_8 ) ) ) ) ; } if ( IDENT_3 . METHOD_4 ( STRING_5 0 ) ) { IDENT_52 . add ( ( STRING_0 0 + ( IDENT_3 . METHOD_5 ( STRING_5 0 ) ) ) ) ; } if ( IDENT_3 . METHOD_4 ( STRING_5 4 ) ) { IDENT_52 . add ( ( STRING_4 6 + ( IDENT_3 . METHOD_5 ( STRING_5 4 ) ) ) ) ; } if ( IDENT_3 . METHOD_4 ( STRING_4 9 ) ) { IDENT_52 . add ( ( STRING_3 8 + ( IDENT_3 . METHOD_5 ( STRING_4 9 ) ) ) ) ; } if ( IDENT_3 . METHOD_4 ( STRING_3 9 ) ) { IDENT_53 = IDENT_3 . METHOD_5 ( STRING_3 9 ) ; } if ( IDENT_3 . METHOD_4 ( STRING_2 ) ) { IDENT_54 = IDENT_3 . METHOD_5 ( STRING_2 ) ; } if ( IDENT_3 . METHOD_4 ( STRING_9 ) ) { try { IDENT_55 = java . lang . Long . METHOD_13 ( IDENT_3 . METHOD_5 ( STRING_9 ) ) ; } catch ( java . lang . IDENT_56 e ) { throw new java . lang . IllegalArgumentException ( STRING_10 , e ) ; } } if ( IDENT_3 . METHOD_4 ( STRING_1 ) ) { IDENT_57 = IDENT_3 . METHOD_5 ( STRING_1 ) ; } if ( IDENT_3 . METHOD_4 ( STRING_5 6 ) ) { java . lang . String IDENT_58 = IDENT_3 . METHOD_5 ( STRING_5 6 ) ; java . lang . String [ ] IDENT_59 = IDENT_58 . split ( STRING_0 7 ) ; for ( java . lang . String IDENT_60 : IDENT_59 ) { this . IDENT_61 . add ( IDENT_60 . trim ( ) ) ; } } if ( IDENT_3 . METHOD_4 ( STRING_0 1 ) ) { java . lang . String IDENT_62 = IDENT_3 . METHOD_5 ( STRING_0 1 ) ; if ( IDENT_62 . contains ( STRING_0 7 ) ) { java . lang . String [ ] IDENT_63 = IDENT_62 . split ( STRING_0 7 ) ; IDENT_64 = java . util . Arrays . asList ( IDENT_63 ) ; } else { IDENT_64 . add ( IDENT_62 ) ; } } return true ; }
org . junit . Assert . assertEquals ( 1 , shell . init ( new java . lang . String [ 0 ] ) )