[
https://issues.apache.org/jira/browse/AMBARI-25162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779164#comment-16779164
]
Hudson commented on AMBARI-25162:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #433 (See
[https://builds.apache.org/job/Ambari-branch-2.7/433/])
AMBARI-25162. Fix Oozie Service Check (#2827) (6454655+adoroszlai:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=853d753eac97c4b8de155dacde2019d4af53d7d2])
* (edit)
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py
> Oozie Service Check fails with : "NameError: global name 'Fail' is not
> defined"
> -------------------------------------------------------------------------------
>
> Key: AMBARI-25162
> URL: https://issues.apache.org/jira/browse/AMBARI-25162
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.0
> Reporter: Dinesh Chitlangia
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.4
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> STDERROR:
> {noformat}
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py",
> line 139, in <module>
> OozieServiceCheck().execute()
> File
> "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py",
> line 352, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py",
> line 52, in service_check
> OozieServiceCheckDefault.oozie_smoke_shell_file(smoke_test_file_name,
> prepare_hdfs_file_name)
> File
> "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py",
> line 70, in oozie_smoke_shell_file
> raise Fail(format(NO_DOCS_FOLDER_MESSAGE))
> NameError: global name 'Fail' is not defined{noformat}
> STDOUT
> {noformat}
> 2019-02-15 19:02:10,245 - Stack Feature Version Info: Cluster Stack=2.6,
> Command Stack=None, Command Version=2.6.5.74-2 -> 2.6.5.74-2
> 2019-02-15 19:02:10,250 - Using hadoop conf dir:
> /usr/hdp/2.6.5.74-2/hadoop/conf
> 2019-02-15 19:02:10,275 -
> File['/var/lib/ambari-agent/cred/lib/CredentialUtil.jar'] {'content':
> DownloadSource('http://ambariServer.com:8080/resources/CredentialUtil.jar'),
> 'mode': 0755}
> 2019-02-15 19:02:10,277 - Not downloading the file from
> http://ambariServer:8080/resources/CredentialUtil.jar, because
> /var/lib/ambari-agent/tmp/CredentialUtil.jar already exists
> 2019-02-15 19:02:11,274 - File['/var/lib/ambari-agent/tmp/oozieSmoke2.sh']
> {'content': StaticFile('oozieSmoke2.sh'), 'mode': 0755}
> 2019-02-15 19:02:11,277 -
> File['/var/lib/ambari-agent/tmp/prepareOozieHdfsDirectories.sh'] {'content':
> StaticFile('prepareOozieHdfsDirectories.sh'), 'mode': 0755}
>
> Command failed after 1 tries{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)