Impala配置LDAP问题,和hue连接impala

问题:LDAP authentication specified, but without TLS. Passwords would go over the network in the clear

解决办法:

对于非SSL的LDAP,需要配置如下项

--ldap_passwords_in_clear_ok=true

image

问题:User 'yarn' is not authorized to delegate to 'yarn'. User delegation is disabled.

解决办法:

<property>

<name>hadoop.proxyuser.<HUE_LDAP_USERNAME>.hosts</name>

<value>*</value>

</property>

<property>

<name>hadoop.proxyuser.<HUE_LDAP_USERNAME>.groups</name>

<value>*</value>

</property>




配置proxy user

在Impala Dameon的启动参数中添加

--authorized_proxy_user_config=hue=*

core-site.xml

<property>

<name>hadoop.proxyuser.hue.hosts</name>

<value>*</value>

</property>

<property>

<name>hadoop.proxyuser.hue.groups</name>

<value>*</value>

</property>


注意:ldap连接用哪个用户,就配置哪个用户




参考 :http://cxy7.com/articles/2018/07/17/1531827540376.html#b3_solo_h2_5


问题:hue不能连接ldap的impala


解决方法:



Enabling LDAP for Impala in Hue


Enabling LDAP for Impala in Hue Using Cloudera Manager
  1. Go to the Hue service.
  2. Click the Configuration tab.
  3. Select Scope > Hue.
  4. Select Category > Advanced.
  5. Add the following properties to the Hue Server Advanced Configuration Snippet (Safety Valve) for hue_safety_valve_server.ini property.
    [desktop]
    ldap_username=<LDAP username of Hue user to be authenticated>
    ldap_password=<LDAP password of Hue user to be authenticated>
  6. Click Save Changes.

您可以选择一种方式赞助本站