Question-66: Which property you have to change, so that Ambari Web UI or REST API port can be changed?
Answer: We need to change the following property in the file /etc/ambari-server/conf/ambari.properties files, and Ambari server should be in the stop at that time.
Clinet.api.port=<New Port>
Question-67: If you have setup a 100-node cluster then which all are the options you should consider for tuning the Ambari server?
Answer: As bigger cluster generated more data and can cause the performance issues as well. So below are the important points you must remember for tuning the Ambari server itself.
- Need to increase the JVM memory settings based on the need.
- Increase the size of in-memory caches.
- We may have to increase the number of connections in the JDBC connection pools.
- Need to increase the timeout, because larger data volume can cause higher latency in the operations. So we need to increase the Wait timeout and interactive timeouts.
Question-68: Which file has the environment variables configuration details in Ambari server?
Answer: ambari-env.sh file is used to setup the environment variables. This is found under the /var/lib/ambari-server
Question-69: What are the recommended values for setting the cache size in the Ambari server?
Answer: usually you can calculate the cache size using the formula as below
newCacheSize=60*Number of nodes in the cluster.
And in the properties file, you can update following property with this value.
Server.ecCacheSize=newCacheSize
Question-70: Where you change the JDBC pool settings to support a greater number of nodes in the cluster?
Answer: It is again the same property file /etc/ambari-server/conf/ambari-properties file.