Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15583

YARN service check fails due to syntax error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • trunk, 2.2.2
    • 2.2.2
    • ambari-server
    • None

    Description

      Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py", line 155, in <module>
      ServiceCheck().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 239, in execute
      method(env)
      File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py", line 117, in service_check
      user=params.smokeuser,
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
      result = function(command, **kwargs)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
      tries=tries, try_sleep=try_sleep)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
      result = _call(command, **kwargs_copy)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
      raise Fail(err_msg)
      resource_management.core.exceptions.Fail: Execution of 'yarn org.apache.hadoop.yarn.applications.distributedshell.Client shell_command ls -num_containers 1 -jar /usr/hdp/current/hadoop-yarn-client/hadoop-yarn-applications-distributedshell.jar -timeout 300000-queue default' returned 255.

      Attachments

        1. AMBARI-15583-trunk.patch
          2 kB
          Dmytro Grinenko
        2. AMBARI-15583.patch
          2 kB
          Dmytro Grinenko

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              hapylestat Dmytro Grinenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: