[
https://issues.apache.org/jira/browse/AMBARI-24982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778307#comment-16778307
]
Hudson commented on AMBARI-24982:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10471 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/10471/])
AMBARI-24982. APT/DPKG existence check broken for packages with long
(vishalsuvagia:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=ebeb464e6a236981b0cbf2cee7d988961ed077b8])
* (edit)
ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
> APT/DPKG existence check broken for packages with long names
> ------------------------------------------------------------
>
> Key: AMBARI-24982
> URL: https://issues.apache.org/jira/browse/AMBARI-24982
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.8.0
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.8.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> AMBARI-24632 addressed package existence check for system packages. However,
> it may still not work correctly for packages with longer names, depending on
> the environment:
> {noformat}
> output-2.txt:2018-12-01 19:33:54,576 - Installing package unzip
> ('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated
> --assume-yes install unzip')
> output-2.txt:2018-12-01 19:34:02,873 - Installing package hdp-select
> ('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated
> --assume-yes install hdp-select')
> output-2.txt:2018-12-01 19:34:05,443 - Installing package
> zookeeper-3-0-1-0-187 ('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef
> --allow-unauthenticated --assume-yes install zookeeper-3-0-1-0-187')
> output-2.txt:2018-12-01 19:34:08,832 - Installing package
> zookeeper-3-0-1-0-187-server ('/usr/bin/apt-get -o
> Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install
> zookeeper-3-0-1-0-187-server')
> output-3.txt:2018-12-01 19:34:14,450 - Installing package
> zookeeper-3-0-1-0-187 ('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef
> --allow-unauthenticated --assume-yes install zookeeper-3-0-1-0-187')
> output-3.txt:2018-12-01 19:34:16,253 - Installing package
> zookeeper-3-0-1-0-187-server ('/usr/bin/apt-get -o
> Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install
> zookeeper-3-0-1-0-187-server')
> {noformat}
> This was reproduced with non-root agent user.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)