Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.0
Description
Upgrade failed for cluster where pre-upgrade data deploy was done, container mode.
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40 at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at java.sql.DriverManager.isDriverAllowed(DriverManager.java:556) at java.sql.DriverManager.getConnection(DriverManager.java:661) at java.sql.DriverManager.getConnection(DriverManager.java:247) at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:351) at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:416) at com.jolbox.bonecp.BoneCPDataSource.getConnection(BoneCPDataSource.java:120) at org.apache.hadoop.hive.metastore.txn.TxnHandler.getDbConn(TxnHandler.java:1935) at org.apache.hadoop.hive.metastore.txn.TxnHandler.getDbConn(TxnHandler.java:1928) at org.apache.hadoop.hive.metastore.txn.TxnHandler.setConf(TxnHandler.java:270) at org.apache.hadoop.hive.metastore.txn.TxnUtils.getTxnStore(TxnUtils.java:115) at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.prepareAcidUpgradeInternal(PreUpgradeTool.java:229) at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.main(PreUpgradeTool.java:148) Command failed after 1 tries