ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Toader (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18567) Cannot start Oozie if WebHDFS is disabled
Date Tue, 11 Oct 2016 11:35:20 GMT

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

Sebastian Toader updated AMBARI-18567:
--------------------------------------
    Fix Version/s: 2.4.2

> 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: 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)

Mime
View raw message