Created 02-15-2016 09:57 PM
I'm trying to install Sqoop and it appears that Ranger is blocking the install. What do I need to do to allow for the install of Sqoop?
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'
Created 02-16-2016 11:07 PM
@Neeraj Sabharwal - We found the issue:
There is a bug in our version of Ambari (which we need to upgrade). It requires the baseDN property set for hive LDAP (which we don’t use since we authenticate in Ranger). It was set to “empty”, restarted, and pushed through the install.
Created 02-15-2016 09:59 PM
I don't think that ranger is blocking it. Sqoop is a client tool.
See this https://cwiki.apache.org/confluence/display/Hive/HCatalog+Authorization
You can disable authorization for the install to test this.
Do you have KMS installed?
Created 02-16-2016 11:07 PM
@Neeraj Sabharwal - We found the issue:
There is a bug in our version of Ambari (which we need to upgrade). It requires the baseDN property set for hive LDAP (which we don’t use since we authenticate in Ranger). It was set to “empty”, restarted, and pushed through the install.
Created 02-16-2016 11:07 PM
That's good to know..I have accepted your answer