METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = METHOD_1 ( ) ; conf . set ( IDENT_0 . IDENT_1 . METHOD_2 ( ) , STRING_0 ) ; org . apache . hive . storage . jdbc . dao . IDENT_2 IDENT_3 = org . apache . hive . storage . jdbc . dao . IDENT_4 . METHOD_3 ( conf ) ; int IDENT_5 = IDENT_3 . METHOD_4 ( conf ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . apache . hadoop . conf . Configuration ) { java . sql . IDENT_6 conn = null ; java . sql . IDENT_7 IDENT_8 = null ; java . sql . ResultSet rs = null ; try { METHOD_5 ( conf ) ; java . lang . String sql = org . apache . hive . storage . jdbc . conf . IDENT_9 . METHOD_6 ( conf ) ; java . lang . String IDENT_10 = ( STRING_1 + sql ) + STRING_2 ; org . apache . hive . storage . jdbc . dao . IDENT_11 . LOGGER . info ( STRING_3 , IDENT_10 ) ; conn = IDENT_12 . METHOD_7 ( ) ; IDENT_8 = conn . METHOD_8 ( IDENT_10 ) ; rs = IDENT_8 . METHOD_9 ( ) ; if ( rs . next ( ) ) { return rs . METHOD_10 ( 1 ) ; } else { org . apache . hive . storage . jdbc . dao . IDENT_11 . LOGGER . warn ( STRING_4 , IDENT_10 ) ; throw new org . apache . hive . storage . jdbc . exception . METHOD_11 ( STRING_5 ) ; } } catch ( org . apache . hive . storage . jdbc . exception . METHOD_11 IDENT_13 ) { throw IDENT_13 ; } catch ( java . lang . Exception e ) { org . apache . hive . storage . jdbc . dao . IDENT_11 . LOGGER . error ( STRING_6 , e ) ; throw new org . apache . hive . storage . jdbc . exception . METHOD_11 ( e ) ; } finally { METHOD_12 ( conn , IDENT_8 , rs ) ; } }
org . junit . Assert . assertThat ( IDENT_5 , org . hamcrest . Matchers . is ( org . hamcrest . Matchers . equalTo ( 0 ) ) )