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

Hudson commented on AMBARI-18887:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #321 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/321/])
AMBARI-18887 - Hive Service Check Fails During Upgrade Due to Missing (jhurley: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c2a88f29477bbe5ee59d50c5d5bc46c51f5068d4])
* (edit) 
ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_service_check.py
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py


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

Reply via email to