Support Questions
Find answers, ask questions, and share your expertise

Ambari Slider view issue - Read timed out

Ambari Slider view issue - Read timed out

New Contributor

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?

3 REPLIES 3

Re: Ambari Slider view issue - Read timed out

Super Mentor

@Minister

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)

Re: Ambari Slider view issue - Read timed out

New Contributor

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

Re: Ambari Slider view issue - Read timed out

Rising Star

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.