METHOD_0 ( ) { org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( ) { org . apache . hadoop . yarn . server . records . IDENT_5 IDENT_6 = org . apache . hadoop . yarn . server . records . IDENT_5 . newInstance ( Integer . MAX_VALUE , 0 ) ; @ org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Override public org . apache . hadoop . yarn . server . records . IDENT_5 METHOD_2 ( ) throws org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Exception { return IDENT_6 ; } @ org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Override public org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_7 METHOD_3 ( ) throws org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Exception { org . apache . hadoop . yarn . conf . IDENT_8 conf = new org . apache . hadoop . yarn . conf . METHOD_4 ( ) ; IDENT_9 = STRING_0 ; conf . set ( METHOD_4 . IDENT_10 , IDENT_11 . METHOD_5 ( ) ) ; conf . set ( METHOD_4 . IDENT_12 , IDENT_9 ) ; this . store = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . METHOD_6 ( conf , IDENT_9 ) { org . apache . hadoop . yarn . server . records . IDENT_5 IDENT_13 = null ; @ org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Override public org . apache . hadoop . yarn . server . records . IDENT_5 METHOD_2 ( ) { return IDENT_6 ; } @ org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Override MOD_0 MOD_1 org . apache . hadoop . yarn . server . records . IDENT_5 METHOD_7 ( ) throws org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Exception { return IDENT_13 ; } @ org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Override MOD_0 MOD_1 void METHOD_8 ( ) throws org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . Exception { IDENT_13 = IDENT_6 ; } } ; return this . store ; } } ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_7 store = IDENT_4 . METHOD_3 ( ) ; org . apache . hadoop . yarn . server . records . IDENT_5 IDENT_14 = IDENT_4 . METHOD_2 ( ) ; store . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { byte [ ] data = db . get ( bytes ( org . apache . hadoop . mapreduce . v2 . IDENT_15 . IDENT_16 . IDENT_17 ) ) ; if ( ( data == null ) || ( ( data . length ) == 0 ) ) { return org . apache . hadoop . yarn . server . records . IDENT_5 . newInstance ( 1 , 0 ) ; } org . apache . hadoop . yarn . server . records . IDENT_5 version = new org . apache . hadoop . yarn . server . records . impl . IDENT_18 . METHOD_10 ( org . apache . hadoop . yarn . IDENT_19 . IDENT_20 . IDENT_21 . METHOD_11 ( data ) ) ; return version ; }
org . junit . Assert . assertEquals ( IDENT_14 , store . METHOD_7 ( ) )