ambari-issues mailing list archives

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


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:

Exception in thread "main" org.apache.ambari.server.AmbariException
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(
Caused by: java.lang.NullPointerException
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider$ClusterTypeRegistration.instanceExists(
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider.validateParent(
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider.access$200(
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider$2.invoke(
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider$2.invoke(
	at org.apache.ambari.server.controller.internal.AbstractResourceProvider.getResources(
	at org.apache.ambari.server.controller.internal.ArtifactResourceProvider.getResources(
	at org.apache.ambari.server.controller.KerberosHelperImpl.getKerberosDescriptor(
	at org.apache.ambari.server.upgrade.UpgradeCatalog240.updatePhoenixConfigs(
	at org.apache.ambari.server.upgrade.UpgradeCatalog240.executeDMLUpdates(
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(
	... 1 more

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

    final ViewRegistry viewRegistry = injector.getInstance(ViewRegistry.class);

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:
>             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

View raw message