You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2015/02/28 17:08:04 UTC

[jira] [Updated] (AMBARI-9846) Oozie Service Check Fails after Moving Oozie Server

     [ https://issues.apache.org/jira/browse/AMBARI-9846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonenko Alexander updated AMBARI-9846:
----------------------------------------
    Attachment: AMBARI-9846.patch

> Oozie Service Check Fails after Moving Oozie Server
> ---------------------------------------------------
>
>                 Key: AMBARI-9846
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9846
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.0.0
>            Reporter: Antonenko Alexander
>            Assignee: Antonenko Alexander
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9846.patch
>
>
> Deployed a 3 node cluster with stack2.2. After successful deployment, did an Oozie service check and it passed. Moved Oozie server from one node to another. After moving, ooze service check fails with the error mentioned below. From the attached screenshot, we can see that service check before the move operation has passed.
> {code}
> 2015-02-24 19:43:31,564 - Error while executing command 'service_check':
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 208, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py", line 31, in service_check
>     oozie_smoke_shell_file( smoke_test_file_name)
>   File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py", line 55, in oozie_smoke_shell_file
>     logoutput = True
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 276, in action_run
>     raise ex
> Fail: Execution of '/var/lib/ambari-agent/data/tmp/oozieSmoke2.sh redhat /etc/oozie/conf /usr/hdp/current/oozie-client/bin /etc/hadoop/conf /usr/hdp/current/hadoop-client/bin ambari-qa False' returned 1. dirname: missing operand
> Try `dirname --help' for more information.
> 15/02/24 19:43:14 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 360 minutes, Emptier interval = 0 minutes.
> Moved: 'hdfs://c6401.ambari.apache.org:8020/user/ambari-qa/examples' to trash at: hdfs://c6401.ambari.apache.org:8020/user/ambari-qa/.Trash/Current
> 15/02/24 19:43:17 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 360 minutes, Emptier interval = 0 minutes.
> Moved: 'hdfs://c6401.ambari.apache.org:8020/user/ambari-qa/input-data' to trash at: hdfs://c6401.ambari.apache.org:8020/user/ambari-qa/.Trash/Current
> source /etc/oozie/conf/oozie-env.sh ; /usr/hdp/current/oozie-client/bin/oozie -Doozie.auth.token.cache=false job -oozie http://c6401.ambari.apache.org:11000/oozie -config /usr/hdp/current/oozie-client/doc//examples/apps/map-reduce/job.properties -run
> Error: E0501 : E0501: Could not perform authorization operation, Unauthorized connection for super-user: oozie from IP 192.168.64.101
> 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=
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)