故障:atlas 提示21000 不通,restart也没有用。
原因:/var/run/atlas/atlas.pid没有正常停止
解决:
su atlas
cd /var/run/atlas
mv atlas.pid atlas.pid.bak
cd /usr/hdp/current/atlas-server/bin

python atlas_start.py -port 21000

然后就刷新ambari首页。就没有报错了。
[https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/validating_atlas.html](https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/validating_atlas.html)
On Atlas Metadata Server host, run the following command to start ATLAS server:
/usr/hdp/<hdp-version>/atlas/bin/atlas_start.py –port 21000
Open the Atlas Dashboard by visiting the following url:
[http://<ATLAS_Metadata_Server_FQDN>:21000/](http://<ATLAS_Metadata_Server_FQDN>:21000/)
To validate Atlas is running properly in an unsecure configuration, access the Atlas REST API by invoking the following command:
curl -sL -w "%{http_code} %{url_effective}\\n" "[http://<ATLAS-HOST>:21000](http://<ATLAS-HOST>:21000)" -o /dev/null
where ATLAS-HOST is the FQDN of the host where Atlas has been installed. The expected response should return a 200 response along with the URL that was accessed; similar to:
200 [http://localhost:21000/](http://localhost:21000/)