METHOD_0 ( ) { java . io . File IDENT_0 = new java . io . File ( STRING_0 , ( ( this . getClass ( ) . METHOD_1 ( ) ) + STRING_1 ) ) ; if ( IDENT_0 . exists ( ) ) { org . apache . commons . io . IDENT_1 . METHOD_2 ( IDENT_0 ) ; } IDENT_0 . METHOD_3 ( ) ; java . lang . String IDENT_2 = IDENT_0 . METHOD_4 ( ) . toString ( ) ; conf . set ( IDENT_3 . IDENT_4 , IDENT_2 ) ; org . apache . hadoop . yarn . server . IDENT_5 . IDENT_6 . IDENT_7 IDENT_8 = new org . apache . hadoop . yarn . server . IDENT_5 . IDENT_6 . METHOD_5 ( ) ; IDENT_8 . init ( conf ) ; conf . METHOD_6 ( IDENT_3 . IDENT_9 , true ) ; org . apache . hadoop . yarn . server . IDENT_5 . IDENT_10 IDENT_11 = new org . apache . hadoop . yarn . server . IDENT_5 . METHOD_7 ( conf , IDENT_8 ) { @ org . apache . hadoop . yarn . server . IDENT_5 . Override MOD_0 org . apache . hadoop . yarn . server . IDENT_5 . IDENT_12 . IDENT_13 METHOD_8 ( ) { org . apache . hadoop . yarn . server . IDENT_5 . IDENT_12 . IDENT_13 IDENT_14 = new org . apache . hadoop . yarn . server . IDENT_5 . IDENT_12 . METHOD_9 ( ) ; IDENT_14 . init ( METHOD_10 ( ) ) ; return IDENT_14 ; } } ; IDENT_11 . init ( conf ) ; IDENT_11 . start ( ) ; org . apache . hadoop . yarn . server . IDENT_5 . IDENT_12 . METHOD_9 IDENT_15 = IDENT_11 . METHOD_11 ( ) . METHOD_12 ( ) ; java . util . Set < java . lang . String > IDENT_16 = new java . util . HashSet < java . lang . String > ( ) ; IDENT_16 . add ( STRING_2 ) ; IDENT_16 . add ( STRING_3 ) ; IDENT_15 . METHOD_13 ( IDENT_16 ) ; org . apache . hadoop . yarn . api . records . IDENT_17 IDENT_18 = org . apache . hadoop . yarn . api . records . IDENT_17 . newInstance ( STRING_4 , INT_0 ) ; org . apache . hadoop . yarn . api . records . IDENT_17 IDENT_19 = org . apache . hadoop . yarn . api . records . IDENT_17 . newInstance ( STRING_4 , INT_1 ) ; org . apache . hadoop . yarn . api . records . IDENT_17 IDENT_20 = org . apache . hadoop . yarn . api . records . IDENT_17 . newInstance ( STRING_4 , 0 ) ; IDENT_15 . METHOD_14 ( com . google . common . collect . ImmutableMap . of ( IDENT_18 , METHOD_15 ( STRING_2 ) ) ) ; IDENT_15 . METHOD_14 ( com . google . common . collect . ImmutableMap . of ( IDENT_19 , METHOD_15 ( STRING_2 ) ) ) ; IDENT_15 . METHOD_14 ( com . google . common . collect . ImmutableMap . of ( IDENT_20 , METHOD_15 ( STRING_3 ) ) ) ; IDENT_15 . METHOD_14 ( com . google . common . collect . ImmutableMap . of ( IDENT_18 , METHOD_15 ( STRING_2 ) ) ) ; org . apache . hadoop . yarn . server . IDENT_5 . METHOD_7 IDENT_21 = null ; for ( int i = 0 ; i < 2 ; i ++ ) { IDENT_21 = new org . apache . hadoop . yarn . server . IDENT_5 . METHOD_7 ( conf , IDENT_8 ) { @ org . apache . hadoop . yarn . server . IDENT_5 . Override MOD_0 org . apache . hadoop . yarn . server . IDENT_5 . IDENT_12 . METHOD_9 METHOD_8 ( ) { org . apache . hadoop . yarn . server . IDENT_5 . IDENT_12 . METHOD_9 IDENT_14 = new org . apache . hadoop . yarn . server . IDENT_5 . IDENT_12 . METHOD_9 ( ) ; IDENT_14 . init ( METHOD_10 ( ) ) ; return IDENT_14 ; } } ; IDENT_21 . init ( conf ) ; IDENT_21 . start ( ) ; IDENT_15 = IDENT_21 . METHOD_11 ( ) . METHOD_12 ( ) ; java . util . Map < java . lang . String , java . util . Set < org . apache . hadoop . yarn . api . records . IDENT_17 > > IDENT_22 = IDENT_15 . METHOD_16 ( METHOD_15 ( STRING_2 ) ) ; "<AssertPlaceHolder>" ; } IDENT_11 . METHOD_17 ( ) ; IDENT_21 . METHOD_17 ( ) ; } get ( org . apache . hadoop . hdfs . server . IDENT_23 . IDENT_24 ) { java . util . Collection < io . IDENT_25 . metadata . hdfs . entity . IDENT_26 > IDENT_27 = METHOD_18 ( IDENT_28 ) ; if ( IDENT_27 == null ) { return null ; } java . util . IDENT_29 < java . lang . String > IDENT_30 = new java . util . METHOD_19 ( ) ; for ( io . IDENT_25 . metadata . hdfs . entity . IDENT_26 IDENT_31 : IDENT_27 ) { IDENT_30 . add ( IDENT_32 . METHOD_20 ( IDENT_31 . METHOD_21 ( ) ) . METHOD_22 ( ) ) ; } return IDENT_30 ; }
org . junit . Assert . assertEquals ( 1 , ( null == ( IDENT_22 . get ( STRING_2 ) ) ? 0 : IDENT_22 . get ( STRING_2 ) . size ( ) ) )