Community Articles

Find and share helpful community-sourced technical articles.
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.
Labels (3)

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.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.
Version history
Last update:
‎06-30-2017 09:14 PM
Updated by:
Top Kudoed Authors