Created on 06-05-2017 07:33 AM - edited 09-16-2022 04:42 AM
Hello,
I'm setting up Ambari slider view in Ambari 2.5.0 on HDP 2.6. The Sider view configuration when HDP is my cluster name: ambari.server.url = http://<ambari_machine>:8080/api/v1/clusters/HDP ambari.server.username/ambari.server.password = admin/admin slider.user=${username}
When opening this Slider view from Ambari as admin user I get the following error message: Unable to initialize Slider view: java.net.SocketTimeoutException: Read timed out
When checking the log file in /var/log/ambari-server/slider-view I see the following: 05 Jun 2017 07:25:39,906 WARN [ambari-client-thread-26] [SLIDER 2.0.0 Slider_view] AmbariHttpClient:74 - Unable to determine Ambari clusters java.net.SocketTimeoutException: Read timed out 05 Jun 2017 07:25:39,907 ERROR [ambari-client-thread-26] [SLIDER 2.0.0 Slider_view] SliderAppsViewControllerImpl:298 - Exception determining view status java.lang.RuntimeException: Read timed out
Any ideas on how to solve this issue?
Created 06-05-2017 07:35 AM
Can you please try increasing the following properties values to a higher range and then restart ambari server.
# grep 'read.timeout' /etc/ambari-server/conf/ambari.properties views.ambari.request.read.timeout.millis=45000 views.request.read.timeout.millis=10000
.
For initial testing try increasing the value to bit large value like "120000" (2 minutes)
Created 06-05-2017 08:17 AM
Thx, have changed the settings as below:
grep 'read.timeout' /etc/ambari-server/conf/ambari.properties
views.ambari.request.read.timeout.millis=520000
views.request.read.timeout.millis=520000
The issue still exists, this is what I get from Ambari:
Unable to get list of Slider Apps due to issues below. Possible reasons include incorrect or invalid view parameters. Please contact administrator for setting up proper view parameters and verifying necessary services are working. timeout
Created 06-05-2017 01:42 PM
Try using the default "yarn" as the slider.user. It may be that additional configuration would be needed to be able to run Slider as the "admin" user.