You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2016/11/14 20:52:58 UTC
[jira] [Updated] (AMBARI-18887) Hive Service Check Fails During
Upgrade Due to Missing Imports
[ https://issues.apache.org/jira/browse/AMBARI-18887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hurley updated AMBARI-18887:
-------------------------------------
Status: Patch Available (was: Open)
> Hive Service Check Fails During Upgrade Due to Missing Imports
> --------------------------------------------------------------
>
> Key: AMBARI-18887
> URL: https://issues.apache.org/jira/browse/AMBARI-18887
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.2
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: 2.4.2
>
>
> - Ambari 2.4.0.0 -> Ambari 2.4.2.0-115
> - HDP 2.5.0 -> HDP 2.5.3.0.-14
> While upgrading HDP from 2.5.0.0 to HDP 2.5.3.0-14, hive service check failed with below error
> {code}
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 191, in <module>
> HiveServiceCheck().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 88, in service_check
> params.hive_http_endpoint)
> File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 173, in check_llap
> exec_path = os.environ['PATH'] + os.pathsep + params.hadoop_bin_dir + os.pathsep + upgrade_hive_bin
> NameError: global name 'os' is not defined
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)