METHOD_0 ( ) { final org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hdfs . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . apache . hadoop . conf . Configuration , java . lang . String ) { final java . util . Collection < java . lang . String > IDENT_0 = org . apache . hadoop . hdfs . IDENT_1 . METHOD_3 ( conf ) ; final java . lang . String IDENT_2 = conf . get ( org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 ) ; if ( IDENT_2 == null ) { return null ; } org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_5 . LOG . info ( STRING_0 , org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_4 , IDENT_2 ) ; final java . net . URI IDENT_6 = java . net . URI . create ( IDENT_2 ) ; java . lang . String IDENT_7 = IDENT_6 . METHOD_4 ( ) ; if ( IDENT_7 == null ) { return null ; } if ( ( IDENT_8 != null ) && ( IDENT_0 . contains ( IDENT_8 ) ) ) { final java . util . Collection < java . lang . String > IDENT_9 = conf . METHOD_5 ( ( ( ( org . apache . hadoop . hdfs . IDENT_10 . IDENT_11 ) + STRING_1 ) + IDENT_8 ) ) ; if ( ( IDENT_9 . size ( ) ) > 1 ) { return IDENT_8 ; } } java . lang . String IDENT_12 = null ; if ( IDENT_8 != null ) { java . lang . String IDENT_13 = ( ( org . apache . hadoop . hdfs . IDENT_10 . IDENT_14 ) + STRING_1 ) + IDENT_8 ; IDENT_12 = conf . get ( IDENT_13 ) ; } if ( IDENT_12 == null ) { IDENT_12 = IDENT_6 . METHOD_6 ( ) ; } int port = 0 ; if ( IDENT_12 . contains ( STRING_2 ) ) { port = java . lang . Integer . METHOD_7 ( IDENT_12 . split ( STRING_2 ) [ 1 ] ) ; } if ( port > 0 ) { return IDENT_12 ; } else { return null ; } }
org . junit . Assert . assertNull ( org . apache . hadoop . hdfs . server . IDENT_3 . IDENT_5 . METHOD_2 ( conf , null ) )