[ 
https://issues.apache.org/jira/browse/AMBARI-10661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507204#comment-14507204
 ] 

Aleksandr Kovalenko commented on AMBARI-10661:
----------------------------------------------

+1 for the patch

> Oozie service check fails after Moving Oozie server
> ---------------------------------------------------
>
>                 Key: AMBARI-10661
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10661
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.0.0
>            Reporter: Antonenko Alexander
>            Assignee: Antonenko Alexander
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10661.patch
>
>
> CentOS6
> HDP-2.2.4.0-2614
> Deployed a cluster with default configs for stack2.2. After deployment 
> started moving oozie server from one node to another. 
> Start services fails at oozie service check with the below error:
> {code}
> 2015-03-20 20:59:29,973 - 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 214, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py",
>  line 35, 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 58, 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 274, in action_run
>     raise ex
> Fail: Execution of '/var/lib/ambari-agent/data/tmp/oozieSmoke2.sh redhat 
> /usr/hdp/current/oozie-client /etc/oozie/conf 
> /usr/hdp/current/oozie-client/bin /etc/hadoop/conf 
> /usr/hdp/current/hadoop-client/bin ambari-qa False' returned 1. Located Oozie 
> examples JAR at /usr/hdp/current/oozie-client/doc
> 15/03/20 20:59:01 INFO fs.TrashPolicyDefault: Namenode trash configuration: 
> Deletion interval = 360 minutes, Emptier interval = 0 minutes.
> Moved: 
> 'hdfs://hea-testmovemasters-rhe6-0816-5.cs1cloud.internal:8020/user/ambari-qa/examples'
>  to trash at: 
> hdfs://hea-testmovemasters-rhe6-0816-5.cs1cloud.internal:8020/user/ambari-qa/.Trash/Current
> 15/03/20 20:59:04 INFO fs.TrashPolicyDefault: Namenode trash configuration: 
> Deletion interval = 360 minutes, Emptier interval = 0 minutes.
> Moved: 
> 'hdfs://hea-testmovemasters-rhe6-0816-5.cs1cloud.internal:8020/user/ambari-qa/input-data'
>  to trash at: 
> hdfs://hea-testmovemasters-rhe6-0816-5.cs1cloud.internal: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://hea-testmovemasters-rhe6-0816-9.cs1cloud.internal: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 172.18.145.163
> 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)

Reply via email to