ClusterDAO clusterDAO = injector.getInstance(ClusterDAO.class);
Gson gson = injector.getInstance(Gson.class);
HostComponentDesiredStateDAO desiredStateDAO = injector.getInstance
(HostComponentDesiredStateDAO.class);
KeyValueEntity keyValueEntity = keyValueDAO.findByKey("decommissionDataNodesTag");
String value = null;
if (keyValueEntity != null) {
value = keyValueEntity.getValue();
if (value != null && !value.isEmpty()) {
List<ClusterEntity> clusterEntities = clusterDAO.findAll();