Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Kudu Error : Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.

Solved Go to solution
Highlighted

Kudu Error : Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.

Explorer

I am Trying running command in impala shell. And i am get error.

I am trying Creating a New kudu table from impala

 

CREATE TABLE my_first_table
(
  id BIGINT,
  name STRING,
  PRIMARY KEY(id)
)
PARTITION BY HASH PARTITIONS 16
STORED AS KUDU;

 

here log

 

output
[root@cloudera-master ~]# impala-shell
Starting Impala Shell without Kerberos authentication
Opened TCP connection to master.cloudera-testing.io:21000
Connected to master.cloudera-testing.io:21000
Server version: impalad version 2.12.0-cdh5.16.2 RELEASE (build e73cce22064ef4972312d895bed2cdb8787a4215)
***********************************************************************************
Welcome to the Impala shell.
(Impala Shell v2.12.0-cdh5.16.2 (e73cce2) built on Mon Jun  3 03:32:01 PDT 2019)

Every command must be terminated by a ';'.
***********************************************************************************
[master.cloudera-testing.io:21000] > CREATE TABLE my_first_table
                             > (
                             >   id BIGINT,
                             >   name STRING,
                             >   PRIMARY KEY(id)
                             > )
                             > PARTITION BY HASH PARTITIONS 16
                             > STORED AS KUDU;
Query: CREATE TABLE my_first_table
(
  id BIGINT,
  name STRING,
  PRIMARY KEY(id)
)
PARTITION BY HASH PARTITIONS 16
STORED AS KUDU
ERROR: AnalysisException: Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.

[master.cloudera-testing.io:21000] >

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Kudu Error : Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.

Rising Star

Is your cluster using Cloudera Manager for management? If so, have you configured a service dependency between Impala and Kudu? You'll need to go the CM configuration for Impala and reconfigure the Kudu dependency.

 

After you do that, CM will pass the right value for -kudu_master_hosts on the Impala command line when you next restart Impala, and you'll be able to create Kudu tables without explicitly specifying kudu.master_addresses.

View solution in original post

3 REPLIES 3

Re: Kudu Error : Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.

Rising Star

Is your cluster using Cloudera Manager for management? If so, have you configured a service dependency between Impala and Kudu? You'll need to go the CM configuration for Impala and reconfigure the Kudu dependency.

 

After you do that, CM will pass the right value for -kudu_master_hosts on the Impala command line when you next restart Impala, and you'll be able to create Kudu tables without explicitly specifying kudu.master_addresses.

View solution in original post

Highlighted

Re: Kudu Error : Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.

Explorer

Yes, I am using Cloudera Version 5.16.2.1

Highlighted

Re: Kudu Error : Table property 'kudu.master_addresses' is required when the impalad startup flag -kudu_master_hosts is not used.

Explorer

I also encountered the same problem and tried to search for Kudu's dependencies in Impala's Configuration in Cloudera Manager, but it still couldn't solve this problem. (As shown following figures)all services for cloudera managerall services for cloudera managerkudu setting in impalakudu setting in impala

Don't have an account?
Coming from Hortonworks? Activate your account here