Support Questions

Find answers, ask questions, and share your expertise

Sqoop - Ranger blocking install

avatar
Contributor

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'
1 ACCEPTED SOLUTION

avatar
Contributor

@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.

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@Jesse Passwaters

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?

avatar
Contributor

@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.

avatar
Master Mentor

That's good to know..I have accepted your answer