ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18887) Hive Service Check Fails During Upgrade Due to Missing Imports
Date Mon, 14 Nov 2016 22:05:58 GMT

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

Jonathan Hurley updated AMBARI-18887:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>
>         Attachments: AMBARI-18887.patch
>
>
> - 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)

Mime
View raw message