Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hive Dbeaver连接到配置单元-SQLException:不支持方法_Hive_Dbeaver - Fatal编程技术网

Hive Dbeaver连接到配置单元-SQLException:不支持方法

Hive Dbeaver连接到配置单元-SQLException:不支持方法,hive,dbeaver,Hive,Dbeaver,这是一个坏的jar文件吗 I'm getting this error when trying to run a select after connecting to Hive. 在HiveJDBCJAR中有一个名为org.apache.hive.jdbc.HiveResultSetMetaData的调用。此类包含配置单元尚不支持的isWritable方法。这就是为什么会出现“不支持方法”错误的原因 获取此类的源代码并更新上述方法。然后生成类并在jar中替换它。这对我有用 我也有类似的问题。你

这是一个坏的jar文件吗

I'm getting this error when trying to run a select after connecting to Hive.

在HiveJDBCJAR中有一个名为org.apache.hive.jdbc.HiveResultSetMetaData的调用。此类包含配置单元尚不支持的isWritable方法。这就是为什么会出现“不支持方法”错误的原因


获取此类的源代码并更新上述方法。然后生成类并在jar中替换它。这对我有用

我也有类似的问题。你找到事情的真相了吗?另外,您正在使用哪些驱动程序,以及您正在连接到哪个Hive Hadoop发行版?
org.jkiss.dbeaver.model.impl.jdbc.JDBCException: SQL Error: Method not supported
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:170)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:1)
at org.jkiss.dbeaver.model.DBUtils.createStatement(DBUtils.java:985)
at org.jkiss.dbeaver.model.DBUtils.prepareStatement(DBUtils.java:963)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:313)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:633)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsProvider.readData(SQLEditor.java:1169)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetDataPumpJob.run(ResultSetDataPumpJob.java:132)
at org.jkiss.dbeaver.runtime.AbstractJob.run(AbstractJob.java:91)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.sql.SQLException: Method not supported
at org.apache.hadoop.hive.jdbc.HiveConnection.createStatement(HiveConnection.java:229)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.createStatement(JDBCConnectionImpl.java:350)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:138)
... 9 more