You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2019/01/22 15:45:00 UTC
[jira] [Resolved] (AMBARI-25116) Bug at AbstractProviderModule
class
[ https://issues.apache.org/jira/browse/AMBARI-25116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lysnichenko resolved AMBARI-25116.
-----------------------------------------
Resolution: Fixed
> Bug at AbstractProviderModule class
> -----------------------------------
>
> Key: AMBARI-25116
> URL: https://issues.apache.org/jira/browse/AMBARI-25116
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Here org/apache/ambari/server/controller/internal/AbstractProviderModule.java:974
> there is a return statement within a loop without any condition. It is a definite bug
> {code}
> for (Resource res : configResources) {
> return res.getPropertiesMap().get(PROPERTIES_CATEGORY);
> }
> return Collections.emptyMap();
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)