Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (3)
New Contributor

This is due to a setting in yarn-site.xml:yarn.resourcemanager.fs.state-store.retry-policy-spec

Here is an example:

yarn.resourcemanager.fs.state-store.retry-policy-spec: 2000,500

It is specified in pairs of sleep-time and number-of-retries

This will mean that Hive Client will try connecting to nn1 for 500 times at an interval of 2000 Milliseconds.

Contingent on the fact that it could not connect to nn1 for 500 times at an interval of 2000 Milliseconds, it will then try connecting to nn2.

Resolution/Workaround: Lower the value of yarn.resourcemanager.fs.state-store.retry-policy-spec to 1000,10.

600 Views
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎06-30-2017 09:14 PM
Updated by:
 
Contributors
Top Kudoed Authors