[
https://issues.apache.org/jira/browse/AMBARI-13167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hari Sekhon updated AMBARI-13167:
---------------------------------
Attachment: Screen Shot 2015-09-21 at 13.51.37.png
Screen Shot 2015-09-21 at 13.51.47.png
> Ambari fails to install Ranger KMS, "config validation failed" python key
> traceback
> -----------------------------------------------------------------------------------
>
> Key: AMBARI-13167
> URL: https://issues.apache.org/jira/browse/AMBARI-13167
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Environment: HDP 2.3 + Kerberos + Ranger installed
> Reporter: Hari Sekhon
> Attachments: Screen Shot 2015-09-21 at 13.51.37.png, Screen Shot
> 2015-09-21 at 13.51.47.png
>
>
> When trying to install Ranger KMS via Ambari I get an error pop up that
> config validation failed and the following error:
> {code}Error occured in stack advisor.
> Error details: 'hive.security.authorization.manager'
> 21 Sep 2015 08:52:28,873 INFO [qtp-client-2798] StackAdvisorRunner:71 -
> advisor script stderr: Traceback (most recent call last):
> File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 154,
> in <module>
> main(sys.argv)
> File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 113,
> in main
> result = stackAdvisor.validateConfigurations(services, hosts)
> File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py",
> line 463, in validateConfigurations
> validationItems = self.getConfigurationsValidationItems(services, hosts)
> File
> "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
> line 348, in getConfigurationsValidationItems
> resultItems = method(siteProperties, siteRecommendations, configurations,
> services, hosts)
> File
> "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.3/services/stack_advisor.py",
> line 231, in validateHiveServer2Configurations
> super(HDP23StackAdvisor,
> self).validateHiveServer2Configurations(properties, recommendedDefaults,
> configurations, services, hosts)
> File
> "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.2/services/stack_advisor.py",
> line 906, in validateHiveServer2Configurations
> if hive_server2[prop_name] != prop_val:
> KeyError: 'hive.security.authorization.manager'
> 21 Sep 2015 08:52:28,874 WARN [qtp-client-2798] AbstractResourceProvider:90
> - Error occurred during validation
> org.apache.ambari.server.api.services.stackadvisor.StackAdvisorException:
> Stack Advisor reported an error: KeyError:
> 'hive.security.authorization.manager'{code}
> I've attached a couple of screen shots and the full Ambari log.
> Ambari does actually progress to the next Configure Identities screen
> regardless however.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)