[WARN ][o.e.c.c.ClusterFormationFailureHelper] [localhost.localdomain] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [node-1] to bootstrap a cluster: have discovered [{localhost.localdomain}{jPmBEoRLTiOR9YjfAymxZQ}{4DGEc4wVT7WFOOlpOOFKbA}{10.0.2.15}{10.0.2.15:9300}{dilmrt}{ml.machine_memory=1929609216, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]; discovery will continue using [127.0.0.1:9300] from hosts providers and [{localhost.localdomain}{jPmBEoRLTiOR9YjfAymxZQ}{4DGEc4wVT7WFOOlpOOFKbA}{10.0.2.15}{10.0.2.15:9300}{dilmrt}{ml.machine_memory=1929609216, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
解决方案:
在CDH页面配置中增加以下部分
cluster.initial_master_nodes: risen-cdh01
重启集群即可