Di Li created AMBARI-23814:
------------------------------
Summary: Oozie service check failed while EU from HDP 2.6.4 to
2.6.5 on PowerPC
Key: AMBARI-23814
URL: https://issues.apache.org/jira/browse/AMBARI-23814
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.6.2
Reporter: Di Li
This happened on a PowerPC cluster
Cluster was initially installed as Ambari 2.6.1.0-143/HDP 2.6.3.0.
I then upgraded Ambari to 2.6.2.0-135. Then I ran EU to upgrade HDP 2.6.3 to
2.6.4.0. That EU was successful. Then I ran EU to upgrade HDP 2.6.4.0 to
2.6.5.0, this was when Oozie service check failed with the following err about
"
'http://apache.org/xml/features/disallow-doctype-decl' is not recognized.
"
/usr/lib/ambari-agent/lib/ambari_commons/subprocess32.py:153: RuntimeWarning:
The _posixsubprocess module is not being used. Child process reliability may
suffer if your program uses threads.
"program uses threads.", RuntimeWarning)
Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py",
line 132, in <module>
OozieServiceCheck().execute()
File
"/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py",
line 375, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py",
line 48, in service_check
OozieServiceCheckDefault.oozie_smoke_shell_file(smoke_test_file_name,
prepare_hdfs_file_name)
File
"/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py",
line 117, in oozie_smoke_shell_file
logoutput=True
File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166,
in __init__
self.env.run()
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py",
line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py",
line 124, in run_action
provider_action()
File
"/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line
262, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72,
in inner
result = function(command, **kwargs)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102,
in checked_call
tries=tries, try_sleep=try_sleep,
timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150,
in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 303,
in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of
'/var/lib/ambari-agent/tmp/oozieSmoke2.sh redhat-ppc
/usr/hdp/current/oozie-client /usr/hdp/current/oozie-client/conf
/usr/hdp/current/oozie-client/bin
http://p6r74ldpkbp-3dn-1.fyre.ibm.com:11000/oozie
/usr/hdp/current/oozie-client/doc /usr/hdp/2.6.5.0-291/hadoop/conf
/usr/hdp/2.6.5.0-291/hadoop/bin ambari-qa no-op False' returned 1. source
/usr/hdp/current/oozie-client/conf/oozie-env.sh ;
/usr/hdp/current/oozie-client/bin/oozie -Doozie.auth.token.cache=false job
-oozie http://p6r74ldpkbp-3dn-1.fyre.ibm.com:11000/oozie -config
/usr/hdp/current/oozie-client/doc/examples/apps/no-op/job.properties -run
Error: E0701 : E0701: XML schema error, Feature
'http://apache.org/xml/features/disallow-doctype-decl' is not recognized.
Invalid sub-command: Missing argument for option: info
use 'help [sub-command]' for help details
Invalid sub-command: Missing argument for option: info
use 'help [sub-command]' for help details
workflow_status=
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)