The value of the yarn.http.policy parameter must be consistent on both the server and clients. Web UIs on clients will be garbled if an inconsistency exists, for example, the parameter value is HTTPS_ONLY on the server but it is left unspecified on a client (the parameter value HTTP_ONLY is applied to the client by default). Set the yarn.http.policy parameters on the clients and server to prevent garbled characters from being displayed on the clients.
cd /opt/client
vi Yarn/config/yarn-site.xml
Change the value of yarn.http.policy.
In security mode, set this parameter to HTTPS_ONLY.
In normal mode, set this parameter to HTTP_ONLY.