无法获取连接,池错误无法创建经过验证的对象,原因:Cassandra实现始终处于自动提交模式

时间:2013-12-27 09:56:00

标签: cassandra hive cassandra-jdbc

我正在使用cassandra 1.2.6版本(数据库cassandra NOR brisk cassandra都没有。)

这里我试图将hive 0.9.0连接到cassandra 1.2.6。

我收到以下错误

INFO ql.Driver: Starting command: CREATE EXTERNAL TABLE MyHiveTable
         (m string, n string, o string, p string)
         STORED BY 'org.apache.hadoop.hive.cassandra.cql.CqlStorageHandler'
         TBLPROPERTIES ( "cassandra.ks.name" = "cql3ks",
         "cassandra.cf.name" = "test",
         "cassandra.cql.type" = "text, text, text, text")
13/12/27 17:22:55 INFO exec.DDLTask: Use StorageHandler-supplied org.apache.hadoop.hive.cassandra.serde.cql.CqlSerDe for table MyHiveTable
13/12/27 17:22:55 INFO hive.log: DDL: struct MyHiveTable { string m, string n, string o, string p}
13/12/27 17:22:55 INFO hive.log: DDL: struct MyHiveTable { string m, string n, string o, string p}
13/12/27 17:22:55 INFO metastore.HiveMetaStore: 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
13/12/27 17:22:55 INFO metastore.ObjectStore: ObjectStore, initialize called
13/12/27 17:22:56 ERROR DataNucleus.Plugin: Bundle "org.eclipse.jdt.core" requires "org.eclipse.core.resources" but it cannot be resolved.
13/12/27 17:22:56 ERROR DataNucleus.Plugin: Bundle "org.eclipse.jdt.core" requires "org.eclipse.core.runtime" but it cannot be resolved.
13/12/27 17:22:56 ERROR DataNucleus.Plugin: Bundle "org.eclipse.jdt.core" requires "org.eclipse.text" but it cannot be resolved.
13/12/27 17:22:56 ERROR Datastore.Schema: Failed initialising database.
Cannot get a connection, pool error Could not create a validated object, cause: the Cassandra implementation is always in auto-commit mode
org.datanucleus.exceptions.NucleusDataStoreException: Cannot get a connection, pool error Could not create a validated object, cause: the Cassandra implementation is always in auto-commit mode

0 个答案:

没有答案