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

Sriharsha Chintalapani commented on AMBARI-17861:
-------------------------------------------------

[~sumitmohanty] [~afernandez] when the user upgrade from HDP 2.4 to 2.5 we 
don't get ambari_server_principal in cluster configs here is the output of 
println(config['configurations']['cluster-env'])
{code}
{'security_enabled': 'true', 'stack_root': '/usr/hdp', 'ignore_bad_mounts': 
'false', 'override_uid': 'true', 'recovery_window_in_minutes': '60', 
'fetch_nonlocal_groups': 'true', 'managed_hdfs_resource_property_names': '', 
'one_dir_per_partition': 'false', 'user_group': 'hadoop', 'stack_tools': '{\n  
"stack_selector": ["hdp-select", "/usr/bin/hdp-select", "hdp-select"],\n  
"conf_selector": ["conf-select", "/usr/bin/conf-select", "conf-select"]\n}', 
'recovery_retry_interval': '5', 'repo_ubuntu_template': '{{package_type}} 
{{base_url}} {{components}}', 'stack_features': '{\n  "stack_features": [\n    
{\n      "name": "snappy",\n      "description": "Snappy 
compressor/decompressor support",\n      "min_version": "2.0.0.0",\n      
"max_version": "2.2.0.0"\n    },\n    {\n      "name": "lzo",\n      
"description": "LZO libraries support",\n      "min_version": "2.2.1.0"\n    
},\n    {\n      "name": "express_upgrade",\n      "description": "Express 
upgrade support",\n      "min_version": "2.1.0.0"\n    },\n    {\n      "name": 
"rolling_upgrade",\n      "description": "Rolling upgrade support",\n      
"min_version": "2.2.0.0"\n    },\n    {\n      "name": "config_versioning",\n   
   "description": "Configurable versions support",\n      "min_version": 
"2.3.0.0"\n    },\n    {\n      "name": "datanode_non_root",\n      
"description": "DataNode running as non-root support (AMBARI-7615)",\n      
"min_version": "2.2.0.0"\n    },\n    {\n      "name": 
"remove_ranger_hdfs_plugin_env",\n      "description": "HDFS removes Ranger env 
files (AMBARI-14299)",\n      "min_version": "2.3.0.0"\n    },\n    {\n      
"name": "ranger",\n      "description": "Ranger Service support",\n      
"min_version": "2.2.0.0"\n    },\n    {\n      "name": 
"ranger_tagsync_component",\n      "description": "Ranger Tagsync component 
support (AMBARI-14383)",\n      "min_version": "2.5.0.0"\n    },\n    {\n      
"name": "phoenix",\n      "description": "Phoenix Service support",\n      
"min_version": "2.3.0.0"\n    },\n    {\n      "name": "nfs",\n      
"description": "NFS support",\n      "min_version": "2.3.0.0"\n    },\n    {\n  
    "name": "tez_for_spark",\n      "description": "Tez dependency for 
Spark",\n      "min_version": "2.2.0.0",\n      "max_version": "2.3.0.0"\n    
},\n    {\n      "name": "timeline_state_store",\n      "description": "Yarn 
application timeline-service supports state store property (AMBARI-11442)",\n   
   "min_version": "2.2.0.0"\n    },\n    {\n      "name": 
"copy_tarball_to_hdfs",\n      "description": "Copy tarball to HDFS support 
(AMBARI-12113)",\n      "min_version": "2.2.0.0"\n    },\n    {\n      "name": 
"spark_16plus",\n      "description": "Spark 1.6+",\n      "min_version": 
"2.4.0.0"\n    },\n    {\n      "name": "spark_thriftserver",\n      
"description": "Spark Thrift Server",\n      "min_version": "2.3.2.0"\n    },\n 
   {\n      "name": "storm_kerberos",\n      "description": "Storm Kerberos 
support (AMBARI-7570)",\n      "min_version": "2.2.0.0"\n    },\n    {\n      
"name": "storm_ams",\n      "description": "Storm AMS integration 
(AMBARI-10710)",\n      "min_version": "2.2.0.0"\n    },\n    {\n      "name": 
"create_kafka_broker_id",\n      "description": "Ambari should create Kafka 
Broker Id (AMBARI-12678)",\n      "min_version": "2.2.0.0",\n      
"max_version": "2.3.0.0"\n    },\n    {\n      "name": "kafka_listeners",\n     
 "description": "Kafka listeners (AMBARI-10984)",\n      "min_version": 
"2.3.0.0"\n    },\n    {\n      "name": "kafka_kerberos",\n      "description": 
"Kafka Kerberos support (AMBARI-10984)",\n      "min_version": "2.3.0.0"\n    
},\n    {\n      "name": "pig_on_tez",\n      "description": "Pig on Tez 
support (AMBARI-7863)",\n      "min_version": "2.2.0.0"\n    },\n    {\n      
"name": "ranger_usersync_non_root",\n      "description": "Ranger Usersync as 
non-root user (AMBARI-10416)",\n      "min_version": "2.3.0.0"\n    },\n    {\n 
     "name": "ranger_audit_db_support",\n      "description": "Ranger Audit to 
DB support",\n      "min_version": "2.2.0.0",\n      "max_version": "2.5.0.0"\n 
   },\n    {\n      "name": "accumulo_kerberos_user_auth",\n      
"description": "Accumulo Kerberos User Auth (AMBARI-10163)",\n      
"min_version": "2.3.0.0"\n    },\n    {\n      "name": 
"knox_versioned_data_dir",\n      "description": "Use versioned data dir for 
Knox (AMBARI-13164)",\n      "min_version": "2.3.2.0"\n    },\n    {\n      
"name": "knox_sso_topology",\n      "description": "Knox SSO Topology support 
(AMBARI-13975)",\n      "min_version": "2.3.8.0"\n    },\n    {\n      "name": 
"atlas_rolling_upgrade",\n      "description": "Rolling upgrade support for 
Atlas",\n      "min_version": "2.3.0.0"\n    },\n    {\n      "name": 
"oozie_admin_user",\n      "description": "Oozie install user as an Oozie admin 
user (AMBARI-7976)",\n      "min_version": "2.2.0.0"\n    },\n    {\n      
"name": "oozie_create_hive_tez_configs",\n      "description": "Oozie create 
configs for Ambari Hive and Tez deployments (AMBARI-8074)",\n      
"min_version": "2.2.0.0"\n    },\n    {\n      "name": 
"oozie_setup_shared_lib",\n      "description": "Oozie setup tools used to 
shared Oozie lib to HDFS (AMBARI-7240)",\n      "min_version": "2.2.0.0"\n    
},\n    {\n      "name": "oozie_host_kerberos",\n      "description": "Oozie in 
secured clusters uses _HOST in Kerberos principal (AMBARI-9775)",\n      
"min_version": "2.0.0.0",\n      "max_version": "2.2.0.0"\n    },\n    {\n      
"name": "falcon_extensions",\n      "description": "Falcon Extension",\n      
"min_version": "2.5.0.0"\n    },\n    {\n      "name": 
"hive_metastore_upgrade_schema",\n      "description": "Hive metastore upgrade 
schema support (AMBARI-11176)",\n      "min_version": "2.3.0.0"\n     },\n    
{\n      "name": "hive_server_interactive",\n      "description": "Hive server 
interactive support (AMBARI-15573)",\n      "min_version": "2.5.0.0"\n     },\n 
   {\n      "name": "hive_webhcat_specific_configs",\n      "description": 
"Hive webhcat specific configurations support (AMBARI-12364)",\n      
"min_version": "2.3.0.0"\n     },\n    {\n      "name": "hive_purge_table",\n   
   "description": "Hive purge table support (AMBARI-12260)",\n      
"min_version": "2.3.0.0"\n     },\n    {\n      "name": 
"hive_server2_kerberized_env",\n      "description": "Hive server2 working on 
kerberized environment (AMBARI-13749)",\n      "min_version": "2.2.3.0",\n      
"max_version": "2.2.5.0"\n     },\n    {\n      "name": "hive_env_heapsize",\n  
    "description": "Hive heapsize property defined in hive-env 
(AMBARI-12801)",\n      "min_version": "2.2.0.0"\n    },\n    {\n      "name": 
"ranger_kms_hsm_support",\n      "description": "Ranger KMS HSM support 
(AMBARI-15752)",\n      "min_version": "2.5.0.0"\n    },\n    {\n      "name": 
"ranger_log4j_support",\n      "description": "Ranger supporting log-4j 
properties (AMBARI-15681)",\n      "min_version": "2.5.0.0"\n    },\n    {\n    
  "name": "ranger_kerberos_support",\n      "description": "Ranger Kerberos 
support",\n      "min_version": "2.5.0.0"\n    },\n    {\n      "name": 
"hive_metastore_site_support",\n      "description": "Hive Metastore site 
support",\n      "min_version": "2.5.0.0"\n    },\n    {\n      "name": 
"ranger_usersync_password_jceks",\n      "description": "Saving Ranger Usersync 
credentials in jceks",\n      "min_version": "2.5.0.0"\n    },\n    {\n      
"name": "ranger_install_logsearch_client",\n      "description": "LogSearch 
Service support",\n      "min_version": "2.5.0.0"\n    },\n    {\n      "name": 
"hbase_home_directory",\n      "description": "Hbase home directory in HDFS 
needed for HBASE backup",\n      "min_version": "2.5.0.0"\n    },\n    {\n      
"name": "spark_livy",\n      "description": "Livy as slave component of 
spark",\n      "min_version": "2.5.0.0"\n    },\n    {\n      "name": 
"atlas_ranger_plugin_support",\n      "description": "Atlas Ranger plugin 
support",\n      "min_version": "2.5.0.0"\n    },\n    {\n      "name": 
"atlas_conf_dir_in_path",\n      "description": "Prepend the Atlas conf dir 
(/etc/atlas/conf) to the classpath of Storm and Falcon",\n      "min_version": 
"2.3.0.0",\n      "max_version": "2.4.99.99"\n    },\n    {\n      "name": 
"atlas_upgrade_support",\n      "description": "Atlas supports express and 
rolling upgrades",\n      "min_version": "2.5.0.0"\n    },\n    {\n      
"name": "ranger_pid_support",\n      "description": "Ranger Service support pid 
generation AMBARI-16756",\n      "min_version": "2.5.0.0"\n    },\n    {\n      
"name": "ranger_kms_pid_support",\n      "description": "Ranger KMS Service 
support pid generation",\n      "min_version": "2.5.0.0"\n    },\n    {\n      
"name": "ranger_admin_password_change",\n      "description": "Allow ranger 
admin credentials to be specified during cluster creation (AMBARI-17000)",\n    
  "min_version": "2.5.0.0"\n    },\n    {\n      "name": 
"storm_metrics_apache_classes",\n      "description": "Metrics sink for Storm 
that uses Apache class names",\n      "min_version": "2.5.0.0"\n    }\n  
]\n}\n', 'recovery_enabled': 'true', 'ignore_groupsusers_create': 'false', 
'smokeuser_principal_name': '[email protected]', 'alerts_repeat_tolerance': 
'1', 'smokeuser_keytab': '/etc/security/keytabs/smokeuser.headless.keytab', 
'recovery_max_count': '6', 'kerberos_domain': 'EXAMPLE.COM', 
'repo_suse_rhel_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list 
%}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif 
%}\n\npath=/\nenabled=1\ngpgcheck=0', 'create_dirs_on_root': 'true', 
'recovery_lifetime_max_count': '1024', 'smokeuser': 'ambari-qa', 
'recovery_type': 'AUTO_START'}
{code}


> Ambari principal should be part of nimbus.admins for Storm View
> ---------------------------------------------------------------
>
>                 Key: AMBARI-17861
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17861
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Sriharsha Chintalapani
>            Assignee: Sriharsha Chintalapani
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17861-II.patch, AMBARI-17861.patch, 
> AMBARI-17861.patch
>
>




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

Reply via email to