ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9106) RMF checks existence of hbase_2_2_* packages incorrectly
Date Tue, 13 Jan 2015 16:09:35 GMT

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

Hadoop QA commented on AMBARI-9106:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12691960/AMBARI-9106.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/1295//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1295//console

This message is automatically generated.

> RMF checks existence of hbase_2_2_* packages incorrectly
> --------------------------------------------------------
>
>                 Key: AMBARI-9106
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9106
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9106.patch
>
>
> STR:
> 1) Install multinode cluster
> 2) Imagine that cluster deployment fails on  node host1 (strictly at the same time when
some package like hbase_2_2_* is installed on any other node host2)
> 3) Now  ambari-server sends CANCEL commands to all hosts, and agent on host2 kills yum
process during installation. As a result, some hbase_2_2_* packages are installed and some
are not.
> 3) Retry cluster installation once more.
> 4) On host2, full package set for hbase_2_2_* is never installed:
> {code}
> [root@112 data]# grep -ri hbase_2_2 output-* 
> output-25.txt:2014-12-22 17:49:04,598 - Package['hbase_2_2_*'] {}
> output-25.txt:2014-12-22 17:49:05,137 - Skipping installing existent package hbase_2_2_*
> output-26.txt:2014-12-22 17:49:09,322 - Package['hbase_2_2_*'] {}
> output-26.txt:2014-12-22 17:49:09,816 - Skipping installing existent package hbase_2_2_*
> output-98.txt:2014-12-22 17:56:07,910 - Package['hbase_2_2_*'] {}
> output-98.txt:2014-12-22 17:56:08,419 - Skipping installing existent package hbase_2_2_*
> [root@112 data]# rpm -qa hbase_2_2_*
> hbase_2_2_0_0_2041-doc-0.98.4.2.2.0.0-2041.el6.noarch
> {code}
> while full package set for hbase_2_2_* is
> {code}
> [root@111 ~]# rpm -qa |grep hbase
> ranger_2_2_0_0_2041-hbase-plugin-0.4.0.2.2.0.0-2041.el6.x86_64
> hbase_2_2_0_0_2041-regionserver-0.98.4.2.2.0.0-2041.el6.noarch
> hbase_2_2_0_0_2041-0.98.4.2.2.0.0-2041.el6.noarch
> hbase_2_2_0_0_2041-thrift-0.98.4.2.2.0.0-2041.el6.noarch
> hbase_2_2_0_0_2041-rest-0.98.4.2.2.0.0-2041.el6.noarch
> hbase_2_2_0_0_2041-doc-0.98.4.2.2.0.0-2041.el6.noarch
> hbase_2_2_0_0_2041-thrift2-0.98.4.2.2.0.0-2041.el6.noarch
> hbase_2_2_0_0_2041-master-0.98.4.2.2.0.0-2041.el6.noarch
> {code}
> The issue here is that RMF implementation of  package  existence checks does not work
correctly with globs like "hbase_2_2_*". If at least one package that matches glob is installed,
it believes that all packages are installed. 
> Probably the same issue with Ubuntu (did not check)
> I've assigned this jira to myself since my patch will simplify fixing this issue.



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

Mime
View raw message