[
https://issues.apache.org/jira/browse/AMBARI-21611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107780#comment-16107780
]
Hadoop QA commented on AMBARI-21611:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12879472/ppc_install_packages_error_UI.png
against trunk revision .
{color:red}-1 patch{color}. The patch command could not apply the patch.
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/11902//console
This message is automatically generated.
> Failed to install packages before EU on powerpc
> -----------------------------------------------
>
> Key: AMBARI-21611
> URL: https://issues.apache.org/jira/browse/AMBARI-21611
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.2
> Reporter: Di Li
> Assignee: Di Li
> Priority: Critical
> Fix For: 2.5.2
>
> Attachments: AMBARI-21611.patch, ppc_install_packages_error_UI.png
>
>
> Error message: Repositories for os type redhat-ppc7 are not defined.
> This is because:
> AmbariAgent reports os type (to be stored in the Hosts table) as
> redhat-ppc7. "-ppc" is a hardcoded post fix attached to the os type in
> os_check.py
> """
> os_check.py (AMBARI-21054)
> if _is_powerpc():
> operatingSystem += '-ppc'
> """
> When Ambari server backend generates the {os, repo} map, it uses os
> information from repo_versoin as the key . But later on uses os info from the
> Hosts table to query the map, thus the mismatch (redhat-ppc7 vs redhat7).
> The repo_version table repository column however only uses redhat6/7 and does
> not distinguish ppc vs x86 ( nor it should ))
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)