kudu ,Not enough live tablet servers to create a table

 

 

CREATE TABLE kudu_sample_07
           > PRIMARY KEY (code)
           > STORED AS KUDU
           > AS SELECT * FROM sample_07;
Query: CREATE TABLE kudu_sample_07
PRIMARY KEY (code)
STORED AS KUDU
AS SELECT * FROM sample_07
ERROR: ImpalaRuntimeException: Error creating Kudu table 'impala::default.kudu_sample_07'
CAUSED BY: NonRecoverableException: Not enough live tablet servers to create a table with the requested replication factor 3. 1 tablet servers are alive.

 

这是因为kudu默认的存储副本是3,由于我这是单节点,副本只有1份(这与HDFS不同,HDFS没作此强制限制,1份副本也可以),于是到CM里面修改副本设置

 

 

哈希分区  范围分区 

您可以选择一种方式赞助本站