[
https://issues.apache.org/jira/browse/AMBARI-22944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16371437#comment-16371437
]
Hudson commented on AMBARI-22944:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8763 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8763/])
AMBARI-22944. Using the proper variable when checking emptiness (smolnar:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=eebcfed45af037df7223945909b115737cd722da])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosKeytabDescriptor.java
> Wrong variable in KerberosKeytabDescriptor#toMap()
> --------------------------------------------------
>
> Key: AMBARI-22944
> URL: https://issues.apache.org/jira/browse/AMBARI-22944
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.7.0
> Reporter: Ted Yu
> Assignee: Sandor Molnar
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.0
>
> Time Spent: 3h
> Remaining Estimate: 0h
>
> {code:title=org/apache/ambari/server/state/kerberos/KerberosKeytabDescriptor.java:466}
> if (!owner.isEmpty()) {
> map.put(KEY_GROUP, group);
> }
> {code}
> The if statement checks wrong variable.
> Should read
> {code}
> if (!group.isEmpty()) {
> map.put(KEY_GROUP, group);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)