更新时间:2023-03-17 GMT+08:00

创建Kudu表报错

用户问题

创建Kudu表报错。

问题现象

新建了集群,在创建表时,报错“[Cloudera]ImpalaJDBCDriver ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.”

原因分析

客户未在impala sql中指定kudu.master_addresses地址导致报错:Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.

处理步骤

在创建Kudu表时指定“kudu.master_addresses”地址。