【发布时间】:2015-11-18 17:29:01
【问题描述】:
目前我正在使用 Cassandra 2.1.5、Hive 1.2.1 和 Hadoop 2.7.1。我尝试使用本教程将 Cassandra 连接到 Hive:
http://frommyworkshop.blogspot.com/2013/09/real-time-data-processing-with.html
但我似乎陷入了创建外部表:
创建外部表 test.pokes(foo int, bar string) 由 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' 使用 SERDEPROPERTIES ("cassandra.host" = "127.0.0.1" , "cassandra.port " = "9160", "cql.primarykey" = "foo", "comment"="check", "read_repair_chance" = "0.2", "dclocal_read_repair_chance" = "0.14", "gc_grace_seconds" = "989898", "bloom_filter_fp_chance " = "0.2", "compaction" = "{'class' : 'LeveledCompactionStrategy'}", "replicate_on_write" = "false", "caching" = "all");
出现这样的错误:
FAILED:执行错误,从 org.apache.hadoop.hive.ql.exec.DDLTask 返回代码 1。 org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.initSerdeParams(Lorg/apache/hadoop/conf/Configuration;Ljava/util/Properties;Ljava/lang/String;)Lorg/apache/hadoop/hive/serde2/lazy /LazySimpleSerDe$SerDeParameters;
有谁知道如何解决这个问题?
【问题讨论】:
-
你找到问题了吗?