Reply
Highlighted
Explorer
Posts: 12
Registered: ‎08-23-2017

Issue using Impala with kudu

I created an Impala table:

 

CREATE TABLE test1(
id1 int,
id2 int
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ',';

 

When I create a kudu table:

 

CREATE TABLE test2
PRIMARY KEY (id1)
STORED AS KUDU
AS SELECT
id1, id2
FROM test1;

 

I get below error message:

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

 

This is how I logged into impala:

impala-shell

 

[cloudera@quickstart ~]$ hadoop version
Hadoop 2.6.0-cdh5.10.0
Subversion http://github.com/cloudera/hadoop -r 307b3de961d083f6e8ee80ddba589f22cacd3662
Compiled by jenkins on 2017-01-20T20:12Z
Compiled with protoc 2.5.0
From source with checksum 9ee56c2ef46d6f9fae2f8b199c0e2c9
This command was run using /usr/lib/hadoop/hadoop-common-2.6.0-cdh5.10.0.jar

 

[cloudera@quickstart ~]$ hostname
quickstart.cloudera

 

Any help?

 

Announcements