METHOD_0 ( ) { org . apache . hadoop . hdfs . IDENT_0 conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; org . apache . hadoop . hdfs . IDENT_1 cluster = new org . apache . hadoop . hdfs . IDENT_1 . Builder ( conf ) . METHOD_2 ( 1 ) . build ( ) ; try { IDENT_2 = new org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_3 ( cluster , false ) { org . apache . hadoop . yarn . server . records . IDENT_6 IDENT_7 = org . apache . hadoop . yarn . server . records . IDENT_6 . newInstance ( Integer . MAX_VALUE , 0 ) ; @ org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Override public org . apache . hadoop . yarn . server . records . IDENT_6 METHOD_4 ( ) throws org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Exception { return IDENT_7 ; } @ org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Override public org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . IDENT_8 METHOD_5 ( ) throws org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Exception { org . apache . hadoop . yarn . conf . IDENT_9 conf = new org . apache . hadoop . yarn . conf . METHOD_6 ( ) ; conf . set ( METHOD_6 . IDENT_10 , IDENT_11 . toString ( ) ) ; conf . set ( METHOD_6 . IDENT_12 , STRING_0 ) ; this . store = new org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_3 . METHOD_7 ( conf ) { org . apache . hadoop . yarn . server . records . IDENT_6 IDENT_13 = null ; @ org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Override public org . apache . hadoop . yarn . server . records . IDENT_6 METHOD_4 ( ) { return IDENT_7 ; } @ org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Override MOD_0 MOD_1 org . apache . hadoop . yarn . server . records . IDENT_6 METHOD_8 ( ) throws org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Exception { return IDENT_13 ; } @ org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Override MOD_0 MOD_1 void METHOD_9 ( ) throws org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . Exception { IDENT_13 = IDENT_7 ; } } ; return store ; } } ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 . IDENT_8 store = IDENT_2 . METHOD_5 ( ) ; org . apache . hadoop . yarn . server . records . IDENT_6 IDENT_14 = IDENT_2 . METHOD_4 ( ) ; store . METHOD_10 ( ) ; "<AssertPlaceHolder>" ; } finally { cluster . METHOD_11 ( ) ; } } METHOD_8 ( ) { 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_6 . newInstance ( 1 , 0 ) ; } org . apache . hadoop . yarn . server . records . IDENT_6 version = new org . apache . hadoop . yarn . server . records . impl . IDENT_18 . METHOD_12 ( org . apache . hadoop . yarn . IDENT_19 . IDENT_20 . IDENT_21 . METHOD_13 ( data ) ) ; return version ; }
org . junit . Assert . assertEquals ( IDENT_14 , store . METHOD_8 ( ) )