ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-16171) Changes to Phoenix QueryServer Kerberos configuration
Date Tue, 17 May 2016 03:38:12 GMT

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

Josh Elser commented on AMBARI-16171:
-------------------------------------

Reviewboard is linked (if you didn't see the email about it already).

Also, trying again with the upgrade testing locally:

{noformat}
Exception in thread "main" org.apache.ambari.server.AmbariException
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:234)
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:308)
Caused by: java.lang.NullPointerException
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider$ClusterTypeRegistration.instanceExists(ArtifactResourceProvider.java:711)
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider.validateParent(ArtifactResourceProvider.java:403)
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider.access$200(ArtifactResourceProvider.java:62)
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider$2.invoke(ArtifactResourceProvider.java:301)
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider$2.invoke(ArtifactResourceProvider.java:297)
	at org.apache.ambari.server.controller.internal.AbstractResourceProvider.getResources(AbstractResourceProvider.java:307)
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider.getResources(ArtifactResourceProvider.java:208)
	at org.apache.ambari.server.controller.KerberosHelperImpl.getKerberosDescriptor(KerberosHelperImpl.java:1068)
	at org.apache.ambari.server.upgrade.UpgradeCatalog240.updatePhoenixConfigs(UpgradeCatalog240.java:2081)
	at org.apache.ambari.server.upgrade.UpgradeCatalog240.executeDMLUpdates(UpgradeCatalog240.java:337)
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:666)
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:231)
	... 1 more
{noformat}

I got past one exception already -- had to add the following to the {{updatePhoenixConfigs()}}
method:

{code}
    final ViewRegistry viewRegistry = injector.getInstance(ViewRegistry.class);
    ViewRegistry.initInstance(viewRegistry);
{code}

But, to be quite honest, I'm really not sure where to start with this exception. Some direction
would be great :)

> Changes to Phoenix QueryServer Kerberos configuration
> -----------------------------------------------------
>
>                 Key: AMBARI-16171
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16171
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>         Attachments: AMBARI-16171.001.patch, AMBARI-16171.002.patch, AMBARI-16171.003.patch
>
>
> The up-coming version of Phoenix will contain some new functionality to support Kerberos
authentication of clients via SPNEGO with the Phoenix Query Server (PQS).
> Presently, Ambari will configure PQS to use the hbase service keytab which will result
in the SPNEGO authentication failing as the RFC requires that the "primary" component of the
Kerberos principal for the server is "HTTP". Thus, we need to ensure that we switch PQS over
to use the spnego.service.keytab as the keytab and "HTTP/_HOST@REALM" as the principal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message