Configuring Elasticsearch 7 cluster

This means that the first time these nodes started they formed separate clusters. Perhaps the config was different the first time around. You cannot merge two separate clusters together.

Are these nodes empty of data? If so, I think the simplest path forwards is to leave data-1 alone, but to shut down data-2 and data-3, wipe their data paths, and restart them.