<?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: Is it possible to change the default &amp;quot;home&amp;quot; directory (i.e. /user/${USER})? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151922#M48762</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/150/sroberts.html"&gt;Sean Roberts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As per the link: &lt;A href="https://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml" target="_blank"&gt;https://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;dfs.user.home.dir.prefix   =   /user
&lt;/PRE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The directory to prepend to user name to get the user's home direcotry.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 02:10:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-12-14T02:10:27Z</dc:date>
    <item>
      <title>Is it possible to change the default "home" directory (i.e. /user/${USER})?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151921#M48761</link>
      <description />
      <pubDate>Wed, 14 Dec 2016 01:56:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151921#M48761</guid>
      <dc:creator>sroberts</dc:creator>
      <dc:date>2016-12-14T01:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change the default "home" directory (i.e. /user/${USER})?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151922#M48762</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/150/sroberts.html"&gt;Sean Roberts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As per the link: &lt;A href="https://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml" target="_blank"&gt;https://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;dfs.user.home.dir.prefix   =   /user
&lt;/PRE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The directory to prepend to user name to get the user's home direcotry.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 02:10:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151922#M48762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-14T02:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change the default "home" directory (i.e. /user/${USER})?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151923#M48763</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/150/sroberts.html"&gt;Sean Roberts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can try setting that property "dfs.user.home.dir.prefix"  to "hive-site.xml". Is there any specific reason you want to change it? &lt;/P&gt;&lt;P&gt;From command line we can get it's value as &lt;/P&gt;&lt;PRE&gt;$ hdfs getconf -confKey dfs.user.home.dir.prefix&lt;/PRE&gt;&lt;P&gt;. I have not tried changing the default "/user" directory of HDFS though.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 02:29:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151923#M48763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-14T02:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change the default "home" directory (i.e. /user/${USER})?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151924#M48764</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/150/sroberts.html" nodeid="150"&gt;@Sean Roberts&lt;/A&gt; As noted above, this is controlled by the 'dfs.user.home.dir.prefix' parameter in hdfs-site.xml.  However, since this is not a commonly changed parameter, it isn't in the default Ambari configs for HDFS. (It just defaults to the value from hdfs-default.xml.)&lt;/P&gt;&lt;P&gt;To change this value in Ambari, do the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In Ambari, select the HDFS service, then select the "Configs" tab.&lt;/LI&gt;&lt;LI&gt;Within Configs, select the "Advanced" tab&lt;/LI&gt;&lt;LI&gt;Open the "Advanced hdfs-site" section, and confirm that this parameter isn't already present there.&lt;/LI&gt;&lt;LI&gt;Open the "Custom hdfs-site" section, and click the "Add property" link&lt;/LI&gt;&lt;LI&gt;A dialogue pops up, inviting you to type a "key=value" pair in the text field.  Enter:&lt;PRE&gt;dfs.user.home.dir.prefix=/user&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Press the "Add" button, and the new entry will be converted into a standard parameter entry field.&lt;/LI&gt;&lt;LI&gt;Now change the value of the field to whatever you want (no blank spaces in the path, please).&lt;/LI&gt;&lt;LI&gt;Of course after changing configurations, you have to press the "Save" button at the top of the window.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; That should do what you need, I hope.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 02:39:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151924#M48764</guid>
      <dc:creator>mfoley</dc:creator>
      <dc:date>2016-12-14T02:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change the default "home" directory (i.e. /user/${USER})?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151925#M48765</link>
      <description>&lt;P&gt;As usual, parameter changes only affect things going forward.  If users have already been created in the default location, their home directories will not be magically re-created in the new location.  This could cause problems, depending on whether processes use the parameter vs using hardwired "/user" prefix.  For your site-defined users, you can just move their home directories with dfs commands.  For the pre-defined Stack service users, you'll need to experiment to see whether they want their home directories to stay in /user or be moved to value(dfs.user.home.dir.prefix).  I would start by leaving them in place, but that's just a guess.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 02:48:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151925#M48765</guid>
      <dc:creator>mfoley</dc:creator>
      <dc:date>2016-12-14T02:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change the default "home" directory (i.e. /user/${USER})?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151926#M48766</link>
      <description>&lt;P&gt;One way to see whether any Stack services use hardwired "/user" prefix would be to use Ambari to install the whole Stack on a lab machine.  Make a change to "dfs.user.home.dir.prefix", to something other than "/user", during Install Wizard time, BEFORE letting Ambari do the actual installation, thus making sure everything from the beginning sees the non-default value.  Let it install, start all the services and let them run a few minutes, then see if anything got created under /user/* in HDFS.  Sorry I don't have time to do the experiment right now, but if you do please report the results back here as a comment for others to learn from.  If you find services that apparently hardwire the "/user" prefix, I'll enter bugs against those components and try to get them fixed.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 02:19:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151926#M48766</guid>
      <dc:creator>mfoley</dc:creator>
      <dc:date>2016-12-15T02:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change the default "home" directory (i.e. /user/${USER})?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151927#M48767</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/536/mfoley.html" nodeid="536"&gt;@Matt Foley&lt;/A&gt; - Does HDFS have home references such as ~ or ${HOME} ?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 17:39:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-change-the-default-quot-home-quot/m-p/151927#M48767</guid>
      <dc:creator>sroberts</dc:creator>
      <dc:date>2016-12-21T17:39:52Z</dc:date>
    </item>
  </channel>
</rss>

