ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-18567) Cannot start Oozie if WebHDFS is disabled
Date Fri, 14 Oct 2016 10:17:21 GMT

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

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

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #5799 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5799/])
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=78f43507f883f527f41c6a3ab71ff40bbd433647])
* (edit) ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py
* (edit) ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.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)

Mime
View raw message