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

ATS reports as down in Ambari UI after upgrade

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0
    • Component/s: ambari-upgrade
    • Labels:

      Description

      Steps
      1. Deploy HDP-2.5.0 cluster with Ambari-2.4.1.0
      2. Upgrade Ambari to 2.5.0.0-419
      3. Restart ATS and observe the status of ATS after sometime in Ambari UI

      Result:
      ATS shows down. Ambari-agent log shows below:

      INFO 2016-12-08 16:14:44,419 ActionQueue.py:105 - Adding STATUS_COMMAND for component APP_TIMELINE_SERVER of service YARN of cluster cl1 to the queue.
      INFO 2016-12-08 16:14:44,621 ActionQueue.py:105 - Adding STATUS_COMMAND for component NODEMANAGER of service YARN of cluster cl1 to the queue.
      INFO 2016-12-08 16:14:46,429 PythonReflectiveExecutor.py:65 - Reflective command failed with exception:
      Traceback (most recent call last):
        File "/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py", line 57, in run_file
          imp.load_source('__main__', script)
        File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py", line 155, in <module>
          ApplicationTimelineServer().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 282, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py", line 82, in status
          only_if = format("test -e {yarn_historyserver_pid_file_old}", user=status_params.yarn_user))
        File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
          self.env.run()
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 143, in run
          Logger.info_resource(resource)
        File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line 87, in info_resource
          Logger.info(Logger.filter_text(Logger._get_resource_repr(resource)))
        File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line 110, in _get_resource_repr
          return Logger.get_function_repr(repr(resource), resource.arguments, resource)
        File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line 180, in get_function_repr
          return unicode("{0} {{{1}}}", 'UTF-8').format(name, arguments_str)
        File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
          return codecs.utf_8_decode(input, errors, True)
      AttributeError: 'NoneType' object has no attribute 'utf_8_decode'
      INFO 2016-12-08 16:14:53,190 Controller.py:283 - Heartbeat (response id = 15365) with server is running...
      INFO 2016-12-08 16:14:55,083 Heartbeat.py:90 - Adding host info/state to heartbeat message.
      

        Attachments

        1. AMBARI-19234.patch
          0.9 kB
          Andrew Onischuk

          Issue Links

            Activity

              People

              • Assignee:
                aonishuk Andrew Onischuk
                Reporter:
                shavi71 Vivek Sharma
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: