[ https://issues.apache.org/jira/browse/AMBARI-18567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doroszlai, Attila updated AMBARI-18567: --------------------------------------- Fix Version/s: 2.5.0 3.0.0 > 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)