[
https://issues.apache.org/jira/browse/AMBARI-18567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doroszlai, Attila updated AMBARI-18567:
---------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed.
trunk: 78f43507f883f527f41c6a3ab71ff40bbd433647
branch-2.5: 827fc5bc2c4e7d0b56ed9b493d0a88cde9f7c7a9
branch-2.4: 559a12030ff41ee3f14b929a7e230994d2c6bcad
> 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)