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

Hudson commented on AMBARI-23851:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9287 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/9287/])
AMBARI-23851. No relationship between generic parameter and method (github: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=a1bc9ca09cfd835bda9d288191ce34cc6a88a3d4])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/AgentHostDataHolder.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/events/listeners/upgrade/HostVersionOutOfSyncListenerTest.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/events/HostsRemovedEvent.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/Clusters.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertGroupsUpdateListener.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/AlertDefinitionsHolder.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostConfigMappingDAO.java


> No relationship between generic parameter and method argument
> -------------------------------------------------------------
>
>                 Key: AMBARI-23851
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23851
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: trunk
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Call to a generic collection method contains an argument with an incompatible 
> class from that of the collection's parameter (i.e., the type of the argument 
> is neither a supertype nor a subtype of the corresponding generic type 
> argument). Therefore, it is unlikely that the collection contains any objects 
> that are equal to the method argument used here. Most likely, the wrong value 
> is being passed to the method.
> * {{String}} is incompatible with expected argument type {{Long}} in 
> {{onHostRemoved(String)}}
> * {{Long}} is incompatible with expected argument type 
> {{AlertDefinitionEntity}} in 
> {{AlertGroupsUpdateListener.onAlertDefinitionDeleted(AlertDefinitionDeleteEvent)}}
> * {{String}} is incompatible with expected argument type {{Long}} in 
> {{HostConfigMappingDAO.removeByClusterAndHostName(long, String)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to