Updated on 2022-12-08 GMT+08:00

Failed to Create a Kudu Table

Issue

An error occurs when a user creates a Kudu table.

Symptom

When a user creates table in a new cluster, the following error message is displayed: [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.

Cause Analysis

The user does not specify kudu.master_addresses in the Impala SQL statement.

Procedure

Specify kudu.master_addresses when creating a Kudu table.