FAILED:执行错误,从org.apache.hadoop.hive.ql.exec.DDLTask返回代码1。组织/阿帕奇/卡桑德拉/ DB /元帅/ AbstractType

时间:2016-04-18 17:51:16

标签: cassandra hive

您好我在运行以下脚本时遇到上述错误。你能帮帮我解决这个问题吗?

add jar /users/hddvmktg/hivejars/hive-cassandra-1.2.9.jar;
add jar /users/hddvmktg/hivejars/cassandra-all-1.2.9.jar;
add jar /users/hddvmktg/hivejars/cassandra-thrift-1.2.9.jar;
CREATE EXTERNAL TABLE mktg_contact_general_info_comp_hive_incr 
        (
        person_party_id string,
        org_party_id            string, 
        last_transaction_dt     string,
        last_source_system      string,
        introduction_source_system     string,
        introduction_date       string,
        name_prefix             string)
        STORED BY 'org.apache.hadoop.hive.cassandra.cql.CqlStorageHandler'
        WITH SERDEPROPERTIES("cassandra.columns.mapping" = ":person_party_id,:org_party_id,:last_transaction_dt,:last_source_system,:introduction_source_system,:introduction_date,:name_prefix",
        "cassandra.host"="127.0.0.1","cassandra.port" = "9170","cassandra.cf.name" = "mkds_cmc_cf")
        TBLPROPERTIES ("cassandra.ks.name" = "mkds_cmc");

0 个答案:

没有答案