Home Forums YARN NodeManager not starting even after fresh install

This topic contains 0 replies, has 1 voice, and was last updated by  Johannes Hoffmeister 1 week ago.

  • Creator
    Topic
  • #57366

    Hi,
    So i got some problems with the NodeManager at one of my hosts. I deleted the host even formated it installed centos new etc so theres no old files.
    Even after that when i installed NodeManager for YARN on that host i get that message when i try to start it and i dont really get what it means and why its comming back even after deleting and readding the host ?

    2014-05-23 19:40:41,507 – Execute['export HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec && /usr/lib/hadoop-yarn/sbin/yarn-daemon.sh --config /etc/hadoop/conf start nodemanager'] {‘not_if’: ‘ls /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid >/dev/null 2>&1 && ps cat /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid >/dev/null 2>&1′, ‘user’: ‘yarn’}
    2014-05-23 19:40:42,570 – Execute['ls /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid >/dev/null 2>&1 && ps cat /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid >/dev/null 2>&1'] {‘initial_wait’: 5, ‘not_if’: ‘ls /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid >/dev/null 2>&1 && ps cat /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid >/dev/null 2>&1′, ‘user’: ‘yarn’}
    2014-05-23 19:40:47,621 – Error while executing command ‘start’:
    Traceback (most recent call last):
    File “/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py”, line 112, in execute
    method(env)
    File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/YARN/package/scripts/nodemanager.py”, line 42, in start
    action=’start’
    File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/YARN/package/scripts/service.py”, line 51, in service
    initial_wait=5
    File “/usr/lib/python2.6/site-packages/resource_management/core/base.py”, line 148, in __init__
    self.env.run()
    File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 149, in run
    self.run_action(resource, action)
    File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 115, in run_action
    provider_action()
    File “/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py”, line 239, in action_run
    raise ex
    Fail: Execution of ‘ls /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid >/dev/null 2>&1 && ps cat /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid >/dev/null 2>&1′ returned 1.

You must be logged in to reply to this topic.