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

Error starting ResourceManager

Highlighted

Error starting ResourceManager

Explorer

Can't start the ResourceManager service due to the following error:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py", line 289, in <module>
    Resourcemanager().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py", line 124, in start
    self.wait_for_dfs_directories_created(params.entity_groupfs_store_dir, params.entity_groupfs_active_dir)
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py", line 246, in wait_for_dfs_directories_created
    self.wait_for_dfs_directory_created(dir_path, ignored_dfs_dirs)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py", line 50, in wrapper
    Logger.info("Will retry %d time(s), caught exception: %s. Sleeping for %d sec(s)" % (_times, str(err), _sleep_time))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 444-457: ordinal not in range(128)
2 REPLIES 2

Re: Error starting ResourceManager

Contributor

Can you please verify Resource manager logs for correct error message by logging to that particular host.

Highlighted

Re: Error starting ResourceManager

Explorer
@avoma

May I ask where the log for ResourceManager resides?