<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228296#M190156</link>
    <description>&lt;P&gt;and don't forget to add:&lt;/P&gt;&lt;PRE&gt;ambari.post.user.creation.hook.enabled=true&lt;/PRE&gt;&lt;P&gt;to "/etc/ambari-server/conf/ambari-properties" as well !! &lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2017 21:13:13 GMT</pubDate>
    <dc:creator>jknulst</dc:creator>
    <dc:date>2017-11-23T21:13:13Z</dc:date>
    <item>
      <title>How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228293#M190153</link>
      <description />
      <pubDate>Thu, 29 Jun 2017 16:36:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228293#M190153</guid>
      <dc:creator>dgiri_india1989</dc:creator>
      <dc:date>2017-06-29T16:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228294#M190154</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/20260/dgiriindia1989.html" nodeid="20260"&gt;@D Giri&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please refer to the following doc:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Enable User Home Directory Creation:   
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-administration/content/create_user_home_directory.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-administration/content/create_user_home_directory.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;By editing the "/etc/ambari-server/conf/ambari-properties" and adding the following:&lt;/P&gt;&lt;PRE&gt;ambari.post.user.creation.hook=/var/lib/ambari-server/resources/scripts/post-user-creation-hook.sh
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For kerberized environment you must modify the kinit file path in the default user creation hook script.&lt;/P&gt;&lt;PRE&gt;/var/lib/ambari-server/resources/scripts/post-user-creation-hook.sh&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 17:27:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228294#M190154</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-29T17:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228295#M190155</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay SenSharma&lt;/A&gt; for sharing the link.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 22:05:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228295#M190155</guid>
      <dc:creator>dgiri_india1989</dc:creator>
      <dc:date>2017-06-29T22:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228296#M190156</link>
      <description>&lt;P&gt;and don't forget to add:&lt;/P&gt;&lt;PRE&gt;ambari.post.user.creation.hook.enabled=true&lt;/PRE&gt;&lt;P&gt;to "/etc/ambari-server/conf/ambari-properties" as well !! &lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 21:13:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228296#M190156</guid>
      <dc:creator>jknulst</dc:creator>
      <dc:date>2017-11-23T21:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228297#M190157</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay Kumar SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi Jay ,&lt;/P&gt;&lt;P&gt;if group is being sync with ambari from ldap in this case will the directory be created for the all the members in the group ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 13:55:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228297#M190157</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2018-07-31T13:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228298#M190158</link>
      <description>&lt;P&gt;Hello jay,&lt;/P&gt;&lt;P&gt;May i know how to know default kinit file location?&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;my cluster is kerberized can you tell me what was the parameter in the post-user-creation-hook.sh script specifies the kinit file path? &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 23:18:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228298#M190158</guid>
      <dc:creator>venkatesh_ramis</dc:creator>
      <dc:date>2018-12-05T23:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228299#M190159</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/99576/venkateshramisetty.html" nodeid="99576"&gt;@Ramisetty  Venkatesh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;its easy, just execute&lt;/P&gt;&lt;PRE&gt;which kinit
&lt;/PRE&gt;&lt;P&gt;on Nix and the output is what should go into the hook script part at:&lt;/P&gt;&lt;PRE&gt;echo "The cluster is secure, calling kinit ..."
  kinit_cmd="/usr/bin/kinit -kt $HDFS_KEYTAB $HDFS_PRINCIPAL"&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;But 9 times ou of 10 /usr/bin/kinit will be just fine&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 00:14:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228299#M190159</guid>
      <dc:creator>jknulst</dc:creator>
      <dc:date>2018-12-06T00:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create user home directory [/user/${user_name}/] automatically in HDFS after user logs in to the cluster using AD/Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228300#M190160</link>
      <description>&lt;P&gt;Hello Jasper/Jay,&lt;/P&gt;&lt;P&gt;I have tried all the steps mentioned above. But user home directory was not getting created when user logs on to HDFS for first time. &lt;/P&gt;&lt;P&gt;The newly created user directories are getting created only after running LDAP Sync Script and followed by ambari server service restart.&lt;/P&gt;&lt;P&gt;We cannot perform Ambari server service restart every time when user gets created in environment. So please suggest  When this hook script is getting called and executed? &lt;/P&gt;&lt;P&gt;and remedy for this issue.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;venkatesh.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 10:53:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-user-home-directory-user-user-name/m-p/228300#M190160</guid>
      <dc:creator>venkatesh_ramis</dc:creator>
      <dc:date>2018-12-13T10:53:30Z</dc:date>
    </item>
  </channel>
</rss>

