[
https://issues.apache.org/jira/browse/AMBARI-22857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16341611#comment-16341611
]
Hudson commented on AMBARI-22857:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #584 (See
[https://builds.apache.org/job/Ambari-branch-2.6/584/])
[AMBARI-22857] Fix the if statement where & is used instead of &&
(jonathanhurley:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=9e6eaae572cf0779d31ef5a1f5d51e0cc3dff80f])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/state/DefaultServiceCalculatedState.java
> missing && operator while checking the state inmaintainence in ambari-server
> ----------------------------------------------------------------------------
>
> Key: AMBARI-22857
> URL: https://issues.apache.org/jira/browse/AMBARI-22857
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.6.1
> Reporter: Aman Poonia
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> **missing && operator while checking the state inmaintainence in ambari-server
> _if (isInMaintenance & !componentInfo.isClient()) {_
> _hasMM = true;_
> _if ( maxMMState == null || state.ordinal() > maxMMState.ordinal()) {_
> _maxMMState = state;_
> _}_
> _}_
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)