<?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 find the name of supergroup in hadoop and list all the members of the group? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172651#M57980</link>
    <description>&lt;P&gt;Hi Maheshwari,&lt;/P&gt;&lt;P&gt;Our superusergroup is hdfs&lt;/P&gt;&lt;P&gt;That's what i did. He asked me  where i got these members from and i told from /etc/group file. But, Technical Lead said something different. Here is the conversation we had  below.&lt;/P&gt;&lt;P&gt; Jeeva:I got it from /etc/group
file&lt;/P&gt;&lt;P&gt; Fred: that is correct for this
particular server&lt;/P&gt;&lt;P&gt;how about what namenode?&lt;/P&gt;&lt;P&gt;that's where 'hdfs
groups' tell you&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2017 00:23:38 GMT</pubDate>
    <dc:creator>JeevaKrish</dc:creator>
    <dc:date>2017-03-24T00:23:38Z</dc:date>
    <item>
      <title>How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172646#M57975</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;How to find the name of supergroup in hadoop and list all the members of the group?&lt;/P&gt;&lt;P&gt;I know hdfs is the super user in hadoop, but SuperGroup name&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 22:56:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172646#M57975</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2017-03-23T22:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172647#M57976</link>
      <description>&lt;P&gt;Is dfs.permissions.superusergroup in hdfs-site.xml what you are looking for?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 23:10:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172647#M57976</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2017-03-23T23:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172648#M57977</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2270/jeevakrishnarg.html" nodeid="2270"&gt;@Jeeva Jeeva&lt;/A&gt; -  There is a property "dfs.permissions.superusergroup" in hdfs-site.xml which specifies the superusergroup.&lt;/P&gt;&lt;P&gt;Please see below apache guide for HDFS Permissions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html" target="_blank"&gt;https://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To list all the users belonging to the supergroup, its just like getting users belonging to a group in linux. Below is good article on that:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cyberciti.biz/faq/linux-list-all-members-of-a-group/" target="_blank"&gt;https://www.cyberciti.biz/faq/linux-list-all-members-of-a-group/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 23:18:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172648#M57977</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-23T23:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172649#M57978</link>
      <description>&lt;P&gt;Hi Namit Maheshwari,&lt;/P&gt;&lt;P&gt; Thanks for your time to reply. Your answer saved my life and one more question &lt;/P&gt;&lt;P&gt;How to see the members of the superusergroup for a namenode?&lt;/P&gt;&lt;P&gt;In my case, the super user is "hdfs".&lt;/P&gt;&lt;P&gt;I have been asked to find all the members of the superuser group.&lt;/P&gt;&lt;P&gt;/etc/group file is not for the namenode. So, there should be some other way.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 00:01:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172649#M57978</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2017-03-24T00:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172650#M57979</link>
      <description>&lt;P&gt;Hi Jeeva,&lt;/P&gt;&lt;P&gt;Find the superusergroup value in hdfs-site.xml. Lets say for instance this value is 'hadoop'&lt;/P&gt;&lt;P&gt;Once you find that value, you need to do is "grep 'superusergroup:' /etc/group" &lt;/P&gt;&lt;P&gt;i.e if that value is hadoop, it will be:&lt;/P&gt;&lt;PRE&gt;grep 'hadoop:' /etc/group
&lt;/PRE&gt;&lt;P&gt;This should return you the list of all users belonging to the supergroup.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 00:15:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172650#M57979</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-24T00:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172651#M57980</link>
      <description>&lt;P&gt;Hi Maheshwari,&lt;/P&gt;&lt;P&gt;Our superusergroup is hdfs&lt;/P&gt;&lt;P&gt;That's what i did. He asked me  where i got these members from and i told from /etc/group file. But, Technical Lead said something different. Here is the conversation we had  below.&lt;/P&gt;&lt;P&gt; Jeeva:I got it from /etc/group
file&lt;/P&gt;&lt;P&gt; Fred: that is correct for this
particular server&lt;/P&gt;&lt;P&gt;how about what namenode?&lt;/P&gt;&lt;P&gt;that's where 'hdfs
groups' tell you&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 00:23:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172651#M57980</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2017-03-24T00:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172652#M57981</link>
      <description>&lt;P&gt;I think what he means is to check the same on the namenode hosts. &lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 00:27:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172652#M57981</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-24T00:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172653#M57982</link>
      <description>&lt;P&gt;Could you suggest me how to check on the namenode?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 00:37:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172653#M57982</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2017-03-24T00:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172654#M57983</link>
      <description>&lt;P&gt;yes. But, how to list all the users in the superusergroup?&lt;/P&gt;&lt;P&gt;I found superusergroup : hdfs in hdfs-site.xml. But, how to find the users in the group hdfs.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 00:41:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172654#M57983</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2017-03-24T00:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172655#M57984</link>
      <description>&lt;P&gt;You just need to logon to the namenode hosts and run the same grep command on the /etc/group file&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 00:58:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172655#M57984</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-24T00:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172656#M57985</link>
      <description>&lt;P&gt;Also to find the namenode hosts, just look at the property value for dfs.namenode.rpc-address in hdfs-site.xml&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 01:01:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172656#M57985</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-24T01:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172657#M57986</link>
      <description>&lt;P&gt;Is there any way to find it from ambari without logging to NameNode?&lt;/P&gt;&lt;P&gt;If it is not,  how to log on to the namenode from linux(edge node)? sorry for the trivial questiion.&lt;/P&gt;&lt;P&gt;I tried to login from putty, i got exception.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 01:14:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172657#M57986</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2017-03-24T01:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172658#M57987</link>
      <description>&lt;P&gt;I dont think we can get this from Ambari as this is a Linux file, and Ambari is not involved in maintaining that.&lt;/P&gt;&lt;P&gt;As far as logging on to the Namenode, it should be the similar as how you logged on to any other host on the cluster.&lt;/P&gt;&lt;P&gt;We use ssh with a keypair to logon, but thats your environment specific. So, if you have the IP, you should be able to logon to the Namenode host.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 01:25:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172658#M57987</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-24T01:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172659#M57988</link>
      <description>&lt;P&gt;Anyway.. Thanks for your involvement on this issue. Once i resolved it, I will let you know. I used putty to login but got exception. &lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 01:43:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172659#M57988</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2017-03-24T01:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172660#M57989</link>
      <description>&lt;P&gt;Ok sure. Yeah I cant say how to logon to your Namenode linux machine. Someone, in your team over there might help.&lt;/P&gt;&lt;P&gt;Also, can you please accept the answer for how to find the supergroup in Hdfs. As, I think you found that information. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 01:53:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172660#M57989</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-24T01:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the name of supergroup in hadoop and list all the members of the group?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172661#M57990</link>
      <description>&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;There is no way to list all members of supergroup. But, we can run for individual user to see if they are belong to the group by using the below command.&lt;/P&gt;&lt;P&gt;hdfs groups &amp;lt;username&amp;gt;&lt;/P&gt;&lt;P&gt;Once again,  thanks for time .&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 02:31:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-name-of-supergroup-in-hadoop-and-list-all/m-p/172661#M57990</guid>
      <dc:creator>JeevaKrish</dc:creator>
      <dc:date>2017-03-24T02:31:22Z</dc:date>
    </item>
  </channel>
</rss>

