<?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: Creating new user and allocating space in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115245#M46869</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14440/venkat.html" nodeid="14440"&gt;@Venkat Rangan&lt;/A&gt; - I think I found the documentation you need to become the admin user:&lt;/P&gt;&lt;P&gt;As the default "cloudbreak" user doesn't have certain permissions (for example, it has no write access to HDFS), you must use the "admin" user to perform certain actions. To use the "admin" user instead of the default "cloudbreak" user, run &lt;CODE&gt;sudo su - admin&lt;/CODE&gt;.&lt;/P&gt;&lt;P&gt;(http://docs.hortonworks.com/HDPDocuments/HDCloudAWS/HDCloudAWS-1.8.0/bk_hdcloud-aws/content/using/index.html)&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 09:49:45 GMT</pubDate>
    <dc:creator>james_jones</dc:creator>
    <dc:date>2016-11-22T09:49:45Z</dc:date>
    <item>
      <title>Creating new user and allocating space</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115241#M46865</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I started a Hortonworks Cloud Cluster using the AWS Marketplace and CloudFormation. I logged in as "admin" and created a new account, but that account does not have a /user/&amp;lt;username&amp;gt; in Files View of Ambari. How do I allocate and provision a file folder for that new user?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:48:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115241#M46865</guid>
      <dc:creator>venkat2</dc:creator>
      <dc:date>2022-09-16T10:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user and allocating space</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115242#M46866</link>
      <description>&lt;P&gt;From the command line as the hdfs user:&lt;/P&gt;&lt;P&gt;# Create the directory&lt;/P&gt;&lt;P&gt;$ hdfs dfs -mkdir /user/&amp;lt;username&amp;gt;&lt;/P&gt;&lt;P&gt;# Set permissions and ownership&lt;/P&gt;&lt;P&gt;$ hdfs dfs -chown &amp;lt;username&amp;gt;  /user/&amp;lt;username&amp;gt;&lt;/P&gt;&lt;P&gt;$ hdfs dfs -chmod 700 /user/&amp;lt;username&amp;gt;&lt;/P&gt;&lt;P&gt;##Optionally set &lt;/P&gt;&lt;P&gt;$ hdfs dfsadmin -setSpaceQuota &amp;lt;bytes_allocated&amp;gt; /user/&amp;lt;username&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;## Where bytes_allocated is bytes allowed for this directory (counting replication). This is allocating space for the directory, not by username.  So if the user created files in other HDFS directories, this doesn't control that.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 05:10:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115242#M46866</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-11-22T05:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user and allocating space</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115243#M46867</link>
      <description>&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;Thanks very much for your response. Now, when I ssh, I can only enter as "cloudbreak" user. After getting to the box, I tried:&lt;/P&gt;&lt;P&gt;su hdfs&lt;/P&gt;&lt;P&gt;and that failed to login with "su: Authentication failure". So, how do I first setup the hdfs user?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 07:01:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115243#M46867</guid>
      <dc:creator>venkat2</dc:creator>
      <dc:date>2016-11-22T07:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user and allocating space</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115244#M46868</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14440/venkat.html" nodeid="14440"&gt;@Venkat Rangan&lt;/A&gt;&lt;P&gt;I'm sorry, but at the moment I don't know how to execute commands as hdfs in cloudbreak, but maybe - the cloudbreak user *may* be able to sudo (sudo -u hdfs &amp;lt;COMMAND&amp;gt;). If you are not familiar with sudo, do it something like this:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;sudo -u hdfs hdfs dfs -mkdir /user/&amp;lt;username&amp;gt;&lt;/P&gt;&lt;P&gt;Don't let the "hdfs hdfs" together confuse you. The first one is the username and the second one is the command.&lt;/P&gt;&lt;P&gt;Give that a shot and let me know.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 09:45:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115244#M46868</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-11-22T09:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user and allocating space</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115245#M46869</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14440/venkat.html" nodeid="14440"&gt;@Venkat Rangan&lt;/A&gt; - I think I found the documentation you need to become the admin user:&lt;/P&gt;&lt;P&gt;As the default "cloudbreak" user doesn't have certain permissions (for example, it has no write access to HDFS), you must use the "admin" user to perform certain actions. To use the "admin" user instead of the default "cloudbreak" user, run &lt;CODE&gt;sudo su - admin&lt;/CODE&gt;.&lt;/P&gt;&lt;P&gt;(http://docs.hortonworks.com/HDPDocuments/HDCloudAWS/HDCloudAWS-1.8.0/bk_hdcloud-aws/content/using/index.html)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 09:49:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115245#M46869</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-11-22T09:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user and allocating space</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115246#M46870</link>
      <description>&lt;P&gt;Yes - adding a "sudo -u hdfs" to all the commands worked. Accepting your answer. Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 09:53:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115246#M46870</guid>
      <dc:creator>venkat2</dc:creator>
      <dc:date>2016-11-22T09:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user and allocating space</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115247#M46871</link>
      <description>&lt;P&gt;Awesome. Good luck.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 09:54:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-new-user-and-allocating-space/m-p/115247#M46871</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-11-22T09:54:09Z</dc:date>
    </item>
  </channel>
</rss>

