ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21480) NPE during "Update Kerberos Descriptor"
Date Fri, 14 Jul 2017 20:47:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Levas updated AMBARI-21480:
----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk
{noformat}
commit 0a8c397bd1944b8787befdff08bf6b95b9afb225
Author: Robert Levas <rlevas@hortonworks.com>
Date:   Fri Jul 14 16:42:16 2017 -0400
{noformat}

Committed to branch-2.5
{noformat}
commit 48bc7635e5be563210a69d7342d3d9b957075864
Author: Robert Levas <rlevas@hortonworks.com>
Date:   Fri Jul 14 16:43:25 2017 -0400
{noformat}


> NPE during "Update Kerberos Descriptor"
> ---------------------------------------
>
>                 Key: AMBARI-21480
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21480
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.1
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Critical
>              Labels: express_upgrade, rolling_upgrade, upgrade
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21480_branch-2.5_01.patch, AMBARI-21480_branch-2.5_02.patch,
AMBARI-21480_trunk_01.patch, AMBARI-21480_trunk_02.patch
>
>
> Ambari-server.log:- 
> {code}
> java.lang.NullPointerException
> 	at org.apache.ambari.server.state.kerberos.KerberosDescriptorUpdateHelper.processIdentity(KerberosDescriptorUpdateHelper.java:360)
> 	at org.apache.ambari.server.state.kerberos.KerberosDescriptorUpdateHelper.processIdentities(KerberosDescriptorUpdateHelper.java:321)
> 	at org.apache.ambari.server.state.kerberos.KerberosDescriptorUpdateHelper.processComponent(KerberosDescriptorUpdateHelper.java:230)
> 	at org.apache.ambari.server.state.kerberos.KerberosDescriptorUpdateHelper.processService(KerberosDescriptorUpdateHelper.java:195)
> 	at org.apache.ambari.server.state.kerberos.KerberosDescriptorUpdateHelper.processServices(KerberosDescriptorUpdateHelper.java:122)
> 	at org.apache.ambari.server.state.kerberos.KerberosDescriptorUpdateHelper.updateUserKerberosDescriptor(KerberosDescriptorUpdateHelper.java:78)
> 	at org.apache.ambari.server.serveraction.upgrades.UpgradeUserKerberosDescriptor.execute(UpgradeUserKerberosDescriptor.java:139)
> 	at org.apache.ambari.server.serveraction.ServerActionExecutor$Worker.execute(ServerActionExecutor.java:517)
> 	at org.apache.ambari.server.serveraction.ServerActionExecutor$Worker.run(ServerActionExecutor.java:454)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}
> *Cause*
> This is caused by having a _custom/unexpected_ identity in the user-supplied Kerberos
descriptor that is not in the Kerberos descriptor from the initial stack.  
> *Solution*
> Ignore the _custom/unexpected_ identity since the user must have added that manually
and it is expected that it should remain untouched after the upgrade process. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message