I Solved this issue!
for those who may encounter the same problem.I share my experience:
Since I was trying to set up a single node cluster,In the “Install Options” step,I used these names as the host name:
either this one:
which are resolved into 127.0.0.1 by the etc/hosts file.
The problem is exactly here!
You should not use a name that is resolved to 127.0.0.1!
Since I am not using a DNS server,I added my arbitrary FQDN to hosts file as below:
and I tried the whole process of ambari installation from scratch(just to make sure that nothing is wrong with name resolution.in fact,I am not sure whether it is necessary) ,and in the “install options” step, I used “centos6.local” as the hostname, and it passed the “Confirm Hosts” step successfully.