You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/07/26 17:08:20 UTC

[jira] [Commented] (AMBARI-17883) Installing Components After Registering A New Repository Uses The Wrong Version

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

Hudson commented on AMBARI-17883:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #5390 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5390/])
AMBARI-17883. Installing Components After Registering A New Repository (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0fb78858004e62f85694b8f0f68ede511c4c2026])
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py
* ambari-common/src/main/python/resource_management/libraries/script/script.py


> Installing Components After Registering A New Repository Uses The Wrong Version
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-17883
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17883
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17883.patch
>
>
> STR:
> - Install HDP 2.4 with ZooKeeper
> - Register HDP 2.5 and distribute the stack to the hosts
> - Attempt to install another service, such as HDFS
> The version installed is 2.5, not 2.4:
> {code}
> 2016-07-20 14:13:10,155 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
> 2016-07-20 14:13:10,270 - Skipping installation of existing package unzip
> 2016-07-20 14:13:10,271 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
> 2016-07-20 14:13:10,322 - Skipping installation of existing package curl
> 2016-07-20 14:13:10,323 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
> 2016-07-20 14:13:10,374 - Skipping installation of existing package hdp-select
> 2016-07-20 14:13:10,520 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
> 2016-07-20 14:13:10,523 - Stack Feature Version Info: stack_version=2.4, version=2.4.2.0-236, current_cluster_version=2.4.2.0-236 -> 2.4.2.0-236
> 2016-07-20 14:13:10,525 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
> 2016-07-20 14:13:10,531 - checked_call['rpm -q --queryformat '%{version}-%{release}' hdp-select | sed -e 's/\.el[0-9]//g''] {'stderr': -1}
> 2016-07-20 14:13:10,547 - checked_call returned (0, '2.5.0.0-965', '')
> 2016-07-20 14:13:10,554 - Package['hadoop_2_5_0_0_965'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
> {code}
> Taking a look at my hosts:
> {code}
> [root@c6401 ~]# ll /usr/hdp/
> total 12
> drwxr-xr-x  6 root root 4096 Jul 19 19:48 2.4.2.0-236
> drwxr-xr-x 13 root root 4096 Jul 20 14:13 2.5.0.0-965
> drwxr-xr-x  2 root root 4096 Jul 20 14:13 current
> {code}
> {code}
> [root@c6401 ~]# ll /usr/hdp/current/ | grep zookeeper
> lrwxrwxrwx 1 root root 30 Jul 20 14:15 zookeeper-client -> /usr/hdp/2.4.2.0-236/zookeeper
> lrwxrwxrwx 1 root root 30 Jul 20 14:15 zookeeper-server -> /usr/hdp/2.4.2.0-236/zookeeper
> {code}
> {code}
> [root@c6401 ~]# rpm -q --queryformat '%{version}-%{release}' hdp-select | sed -e 's/\.el[0-9]//g'
> 2.5.0.0-965
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)