guluo2016 opened a new pull request, #3878:
URL: https://github.com/apache/ambari/pull/3878
## What changes were proposed in this pull request?
We would failed to check firewall status when setup ambari.
These changes can fix the issue.
## How was this patch tested?
Applying this change, and executing the following command.
```shell
ambari-server setup -j /usr/local/jdk1.8.0_231/
```
We woud get the following logs.
```shell
# ambari-server setup -j /usr/local/jdk1.8.0_231/
Using python /usr/bin/python3
Setup ambari-server
Checking SELinux...
SELinux status is 'enabled'
SELinux mode is 'enforcing'
Temporarily disabling SELinux
WARNING: SELinux is set to 'permissive' mode and temporarily disabled.
OK to continue [y/n] (y)? y
Customize user account for ambari-server daemon [y/n] (n)? y
Enter user account for ambari-server daemon (root):
Adjusting ambari-server permissions and ownership...
Checking firewall status...
Checking JDK...
WARNING: JAVA_HOME /usr/local/jdk1.8.0_231/ must be valid on ALL hosts
...
```
Please review [Ambari Contributing
Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute)
before opening a pull request.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]