You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Robert Nettleton (JIRA)" <ji...@apache.org> on 2015/06/18 16:36:01 UTC

[jira] [Created] (AMBARI-12000) Blueprint export incorrectly includes Kerberos host information

Robert Nettleton created AMBARI-12000:
-----------------------------------------

             Summary: Blueprint export incorrectly includes Kerberos host information
                 Key: AMBARI-12000
                 URL: https://issues.apache.org/jira/browse/AMBARI-12000
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Robert Nettleton
            Assignee: Robert Nettleton
            Priority: Critical
             Fix For: 2.1.0


The Blueprint processor incorrectly includes some Kerberos-related hostname properties in an exported Blueprint.  Since there is no support yet for starting a Kerberized cluster directly with a Blueprint, these properties are confusing to users, and also include hostname information, which makes the Blueprint less portable across different cluster types.  

Steps to reproduce:

1. Setup a single-node cluster (HDFS/Yarn/Zookeeper/Metrics) with the Ambari UI.
2. Enable Kerberos using the Kerberos Wizard in the Ambari UI.
3. Export a Blueprint from the running cluster using the following REST URL:

http://host:port/api/v1/clusters/cluster_name?format=blueprint

This Blueprint will include the following Kerberos hostname properties:

"admin_server_host" in "kerberos-env"
"kdc_host" in "kerberos-env"
"hadoop.proxyuser.yarn.hosts" in "core-site"

The Blueprints configuration processor needs to updated to filter out these properties, or export them without the hostname information. 

I'm working on a fix for this, and will submit a patch shortly. 



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