After Kerberos regenerated from ambari view not able to run this code
Connection
cnct1 = DriverManager.getConnection("jdbc:hive2://serverip:10000/test","user","test")
HiveConnection:Could not open
client transport with JDBC Uri: jdbc:hive2://serverIp:10000/test: Peer
indicated failure: Unsupported mechanism type PLAIN