当连接Spark(为Hadoop 2.6.0构建的1.4.0)与hive(版本1.1.0)表时,由于derby版本不匹配而出现异常。有没有办法让(spark和hive)都可以使用相同的derby版本?...Any有其他方法来解决这个问题吗?Caused by: java.sql.SQLException: Failed to start database 'metastore_db' with class loader org.apache.spark.sql.hive</em
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1654) at org.apache.hadoop.hive.metastore.RetryingMetaStoreClienthive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:130) at org.apache.ha
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1654) at org.apache.hadoop.hive.metastore.ObjectStore.checkSchema(ObjectStore.java:7753)
SLF4J: Found binding in [jar:file:/usr/lib/hive/apache-hive-2.0.0-bin/lib/hive-jdbc-2.0.0-standalone.jar/apache-hive-2.0.0-bin/lib/hive-common-2.0.0.jar!ERROR XBM0H: Directory /usr/lib/hive</
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1485) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newRawStore(HiveMetaStor
为了通过Apache Drill访问hive,我启动了metastore as a service。为了将其用作hive-site.xml中的转储,我将hive.metastore.uris参数设置为thrift://localhost:9083。创建元存储服务后,我尝试查看databases.It显示的只有2个数据库,而不是4个数据库,这4个数据库是在启动配置单元作为服务之前创建的。
也有一些以前创建的表没有显示