Dmytro Sen created AMBARI-17764:
-----------------------------------
Summary: Oozie service check failed after deployment
Key: AMBARI-17764
URL: https://issues.apache.org/jira/browse/AMBARI-17764
Project: Ambari
Issue Type: Bug
Components: stacks
Affects Versions: 2.4.0
Reporter: Dmytro Sen
Assignee: Dmytro Sen
Priority: Critical
Fix For: 2.4.0
After deployment Oozie service check is failing with the below error
{code}
"stderr" : "Traceback (most recent call last):\n File
\"/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py\",
line 145, in <module>\n OozieServiceCheck().execute()\n File
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 280, in execute\n method(env)\n File
\"/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py\",
line 61, in service_check\n
OozieServiceCheckDefault.oozie_smoke_shell_file(smoke_test_file_name,
prepare_hdfs_file_name)\n File
\"/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py\",
line 130, in oozie_smoke_shell_file\n logoutput=True\n File
\"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line
155, in __init__\n self.env.run()\n File
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\",
line 160, in run\n self.run_action(resource, action)\n File
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\",
line 124, in run_action\n provider_action()\n File
\"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
line 273, in action_run\n tries=self.resource.tries,
try_sleep=self.resource.try_sleep)\n File
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line
71, in inner\n result = function(command, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line
93, in checked_call\n tries=tries, try_sleep=try_sleep)\n File
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line
141, in _call_wrapper\n result = _call(command, **kwargs_copy)\n File
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line
294, in _call\n raise
Fail(err_msg)\nresource_management.core.exceptions.Fail: Execution of
'/var/lib/ambari-agent/tmp/oozieSmoke2.sh suse /usr/hdp/current/oozie-client
/usr/hdp/current/oozie-client/conf /usr/hdp/current/oozie-client/bin
http://nat-s11-3-chqs-ambari-config-5-2.openstacklocal:11000/oozie
/usr/hdp/current/oozie-client/doc /usr/hdp/current/hadoop-client/conf
/usr/hdp/current/hadoop-client/bin ambari-qa True
/etc/security/keytabs/smokeuser.headless.keytab /usr/bin/kinit
[email protected]' returned 1. /usr/bin/kinit
-kt /etc/security/keytabs/smokeuser.headless.keytab
[email protected]; 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://nat-s11-3-chqs-ambari-config-5-2.openstacklocal:11000/oozie
-config
/usr/hdp/current/oozie-client/doc/examples/apps/map-reduce/job.properties
-run\nJob ID :
0000002-160715004729968-oozie-oozi-W\n------------------------------------------------------------------------------------------------------------------------------------\nWorkflow
Name : map-reduce-wf\nApp Path :
hdfs://nat-s11-3-chqs-ambari-config-5-5.openstacklocal:8020/user/ambari-qa/examples/apps/map-reduce/workflow.xml\nStatus
: FAILED\nRun : 0\nUser : ambari-qa\nGroup :
-\nCreated : 2016-07-15 01:08 GMT\nStarted : 2016-07-15 01:08
GMT\nLast Modified : 2016-07-15 01:08 GMT\nEnded : 2016-07-15 01:08
GMT\nCoordAction ID:
-\n\nActions\n------------------------------------------------------------------------------------------------------------------------------------\nID
Status Ext ID Ext Status Err Code
\n------------------------------------------------------------------------------------------------------------------------------------\n0000002-160715004729968-oozie-oozi-W@:start:
OK - OK -
\n------------------------------------------------------------------------------------------------------------------------------------\n0000002-160715004729968-oozie-oozi-W@mr-node
FAILED - -
EJ001
\n------------------------------------------------------------------------------------------------------------------------------------\n\nJob
ID :
0000002-160715004729968-oozie-oozi-W\n------------------------------------------------------------------------------------------------------------------------------------\nWorkflow
Name : map-reduce-wf\nApp Path :
hdfs://nat-s11-3-chqs-ambari-config-5-5.openstacklocal:8020/user/ambari-qa/examples/apps/map-reduce/workflow.xml\nStatus
: FAILED\nRun : 0\nUser : ambari-qa\nGroup :
-\nCreated : 2016-07-15 01:08 GMT\nStarted : 2016-07-15 01:08
GMT\nLast Modified : 2016-07-15 01:08 GMT\nEnded : 2016-07-15 01:08
GMT\nCoordAction ID:
-\n\nActions\n------------------------------------------------------------------------------------------------------------------------------------\nID
Status Ext ID Ext Status Err Code
\n------------------------------------------------------------------------------------------------------------------------------------\n0000002-160715004729968-oozie-oozi-W@:start:
OK - OK -
\n------------------------------------------------------------------------------------------------------------------------------------\n0000002-160715004729968-oozie-oozi-W@mr-node
FAILED - -
EJ001
\n------------------------------------------------------------------------------------------------------------------------------------\nworkflow_status=FAILED",
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)