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

Hudson commented on AMBARI-18567:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #146 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/146/])
AMBARI-18567. Cannot start Oozie if WebHDFS is disabled. (Attila (stoader: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=827fc5bc2c4e7d0b56ed9b493d0a88cde9f7c7a9])
* (edit) 
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py
* (edit) ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py


> Cannot start Oozie if WebHDFS is disabled
> -----------------------------------------
>
>                 Key: AMBARI-18567
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18567
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>             Fix For: 3.0.0, 2.5.0, 2.4.2
>
>         Attachments: AMBARI-18567.patch
>
>
> If WebHDFS is disabled, Oozie cannot be started due to missing import in 
> service script.
> {noformat}
>   File 
> "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py",
>  line 145, in oozie_service
>     hdfs_share_dir_exists = shell.call(format("{kinit_if_needed} hadoop 
> --config {hadoop_conf_dir} dfs -ls {hdfs_share_dir} | awk 'BEGIN {{count=0;}} 
> /share/ {{count++}} END {{if (count > 0) {{exit 0}} else {{exit 1}}}}'"),
> NameError: global name 'shell' is not defined
> {noformat}



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

Reply via email to