1

我正在使用 cassandra 1.2.6 版本(既不是 datastax cassandra 也不是轻快的 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
4

0 回答 0