Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari Hive view : check failed: File does not exist /home/ldapuser

Ambari Hive view : check failed: File does not exist /home/ldapuser

New Contributor

I use my LDAP user logon to Ambari when I open HIVE VIEW ,it throw error file does not exist ‘/home/ldapuser’ .

I run command create folder .It can solved. But I want to know the home user can be created automatically when we log on. Because we have many user on LDAP that want to use HIVE VIEW .

3 REPLIES 3

Re: Ambari Hive view : check failed: File does not exist /home/ldapuser

Super Mentor

@Wil Don

Ambari provides an option to have the users created automatically post user creation as mentioned in the following doc

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/create_use...

It can be done by enabling the following property inside the "/etc/ambari-server/conf/ambari.properties"

ambari.post.user.creation.hook.enabled=true

.

Add the script path to the ambari properties file:

ambari.post.user.creation.hook=/var/lib/ambari-server/resources/scripts/post-user-creation-hook.sh

Followed by Ambari Server Restart.

# ambari-server restart

.

Re: Ambari Hive view : check failed: File does not exist /home/ldapuser

New Contributor

@Jay Kumar SenSharma thank you so much for your recommendation. i will try as you recommend.

Re: Ambari Hive view : check failed: File does not exist /home/ldapuser

New Contributor

I try as you recommend . It don’t stiill automate. Please advise me how to modified kerborize file that I don’t modify. Thank you in advance.

Don't have an account?
Coming from Hortonworks? Activate your account here