Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.0
-
None
Description
When using JdbcInterpreter in zeppelin-0.9.0 , it fails when hive version below 2.3 .
The error was caused by the following codes.
String hiveVersion = HiveVersionInfo.getVersion(); ProgressBar progressBarTemp = null; if (isProgressBarSupported(hiveVersion)) { LOGGER.debug("ProgressBar is supported for hive version: " + hiveVersion); progressBarTemp = new ProgressBar(); } else { LOGGER.debug("ProgressBar is not supported for hive version: " + hiveVersion); }
The author has already considered the compatibility of hive version, but the InPlaceUpdateStream class used internally by ProgressBar is only available in version 2.3 or above, which leads to runtime NoClassDefFoundError.