使用外部表去映射Hive某张表的时候一直报异常
SHOW RESOURCES;
外部表建表语句:
CREATE EXTERNAL TABLE tbl_asst_gateway_log_external (
es string,
dt string
) ENGINE=HIVE
PROPERTIES (
“resource” = “hive0”,
“database” = “logdata”,
“table” = “tbl_asst_gateway_log”
);
Hive建表语句:
create table if not exists logdata.tbl_asst_gateway_log(
es string
)
PARTITIONED BY (dt
string)
ROW FORMAT DELIMITED FIELDS TERMINATED BY ‘\t’
LOCATION ‘hdfs://master:8020/user/hive/warehouse/logdata.db/tbl_asst_gateway_log’
tblproperties (“orc.compress”=“ZLIB”);
建外部表是报异常:
get hive table from meta store failed: Unable to instantiate com.starrocks.external.hive.HiveMetaStoreThriftClient
麻烦能帮忙看看嘛!