[ https://issues.apache.org/jira/browse/AMBARI-19233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761239#comment-15761239 ]
Hudson commented on AMBARI-19233: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #6256 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6256/]) AMBARI-19233. ATS reports as down in Ambari UI after upgrade (aonishuk) (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=32896cb686599999b49ee30f56cc5efd9d642454]) * (edit) ambari-agent/src/main/python/ambari_agent/main.py > ATS reports as down in Ambari UI after upgrade > ----------------------------------------------- > > Key: AMBARI-19233 > URL: https://issues.apache.org/jira/browse/AMBARI-19233 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.5.0 > > Attachments: AMBARI-19233.patch > > > Live cluster from today's run: <http://172.22.90.143:8080/> (available for > next 18 hours) > Cluster name: vs-hdp250-70297 > ATS Host: 172.22.90.143 > Keypair - see attached file named - ok > **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. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)