Shulei Zheng created ZEPPELIN-5141:
--------------------------------------
Summary: JDBC interpreter cannot work below hive 2.3
Key: ZEPPELIN-5141
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5141
Project: Zeppelin
Issue Type: Bug
Components: JdbcInterpreter
Affects Versions: 0.9.0
Reporter: Shulei Zheng
When using JdbcInterpreter in zeppelin-0.9.0 , it fails when hive version
below 2.3 .
The error was caused by the following codes.
{code:java}
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);
}{code}
The author has 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 compilation errors.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)