[英]Hive JDBC connection is not happening through JMeter
JDBC connection config details are provided as per QA envirnoment JDBC 连接配置详细信息根据 QA 环境提供
provided the queries details for fetching the details提供了用于获取详细信息的查询详细信息
facing errors while fetching the details, Please help me here, I have added all necessary jar files which is the latest updated versions获取详细信息时遇到错误,请在这里帮助我,我已经添加了所有必要的 jar 文件,这是最新的更新版本
Looking into Hive JDBC driver source :查看Hive JDBC 驱动程序源:
Utils.verifySuccess(openResp.getStatus());
if (!supportedProtocols.contains(openResp.getServerProtocolVersion())) {
throw new TException("Unsupported Hive2 protocol");
}
it seems that your JDBC driver version doesn't match the server-side version, you need to download exactly the same version of the JDBC driver which matches your server installation.看来您的 JDBC 驱动程序版本与服务器端版本不匹配,您需要下载与您的服务器安装匹配的完全相同版本的 JDBC 驱动程序。
If you cannot figure out the correct version of server you canenable debug logging for Hive JDBC driver and inspect jmeter.log file for any clues.如果您无法找出正确的服务器版本,您可以为 Hive JDBC 驱动程序启用调试日志记录,并检查jmeter.log 文件以获取任何线索。
In the meantime you can try use hive
instead of hive2
in the JDBC URL, however it might have negative impact to the results as they won't be that realistic与此同时,您可以尝试在 JDBC URL 中使用
hive
而不是hive2
,但是它可能会对结果产生负面影响,因为它们不会那么现实
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.