[
https://issues.apache.org/jira/browse/AMBARI-16100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15258629#comment-15258629
]
Hudson commented on AMBARI-16100:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4741 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4741/])
AMBARI-16100 Upgrade catalog 220 in not idempotent again (dsen) (dsen:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4c4879e439a953fd7556fffa81704eae5e0bb048])
*
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog220.java
*
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog220Test.java
> Upgrade catalog 220 in not idempotent again
> -------------------------------------------
>
> Key: AMBARI-16100
> URL: https://issues.apache.org/jira/browse/AMBARI-16100
> Project: Ambari
> Issue Type: Task
> Components: ambari-upgrade
> Affects Versions: 2.4.0
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-16100.patch
>
>
> UpgradeCatalog220#updateKerberosDescriptorArtifact
> {code}
> KerberosIdentityDescriptor hdfsIdentity =
> hdfsService.getIdentity("hdfs");
> KerberosComponentDescriptor namenodeComponent =
> hdfsService.getComponent("NAMENODE");
> hdfsIdentity.setName("hdfs");
> hdfsService.removeIdentity("hdfs");
> {code}
> in case of second run on same database we will have here NPE, coz that
> descriptor was already removed. Before using him, we need check that
> descriptor is present and is not null
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)