=# SELECT code, total_emp FROM sample_07 ORDER BY code LIMIT 3;
**ERROR: java.lang.ClassNotFoundException: org.apache.hive.jdbc.HiveDriver**
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at HadoopJDBCUtils.ConnInitialize(HadoopJDBCUtils.java:74)
/usr/local/pgsql/lib under this directory i have got the following JARs
hive-jdbc-2.1.0.2.6.5.8-7-standalone.jar
hadoop-common-2.8.3-amzn-0.jar
Hadoop_FDW.jar
我是否需要更改 JAR 文件的任何版本,或者我是否缺少某些东西,创建了扩展 hadoop_fdw