<?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: Name node logs are spammed with &amp;quot;No groups available for user hdfs&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151425#M44558</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1897/ashneesharma88.html" nodeid="1897"&gt;@Ashnee Sharma&lt;/A&gt; No one deleted the groups. Well digging further found this issue is different from deletion of the groups. Its something related with infra initial setup &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Anyway accepting the answer as it can help with normal scenarios. &lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2016 15:23:50 GMT</pubDate>
    <dc:creator>smartninja723</dc:creator>
    <dc:date>2016-10-27T15:23:50Z</dc:date>
    <item>
      <title>Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151419#M44552</link>
      <description>&lt;P&gt;When I see the Name Node logs, I continuously see the message going on in the logs. &lt;/P&gt;&lt;P&gt;hadoop-hdfs-namenode-&amp;lt;HOST_NAME&amp;gt;.log&lt;/P&gt;&lt;P&gt; WARN  security.UserGroupInformation (UserGroupInformation.java:getGroupNames(1573)) - No groups available for user hdfs&lt;/P&gt;&lt;P&gt;I checked on the Name node the user hdfs does exist on the host and it is member of the gorup hadoop.&lt;/P&gt;&lt;P&gt;$id hdfs &lt;/P&gt;&lt;P&gt;uid=123(hdfs) gid=663(hadoop) groups=993(hadoop)&lt;/P&gt;&lt;P&gt;I am concerned because of three things.&lt;/P&gt;&lt;P&gt;1) Lack of useful information is hidden under spams&lt;/P&gt;&lt;P&gt;2) Possible performance hit due to I/O&lt;/P&gt;&lt;P&gt;3) Unnecessarily logs are getting bigger and occupying disk space.&lt;/P&gt;&lt;P&gt;What configuration do you think are we missing here?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:56:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151419#M44552</guid>
      <dc:creator>smartninja723</dc:creator>
      <dc:date>2016-10-26T16:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151420#M44553</link>
      <description>&lt;P&gt;@Smart Soultions&lt;/P&gt;&lt;P&gt;output of id hdfs should be&lt;/P&gt;&lt;P&gt;[root@hdp-2 ~]# id hdfs&lt;/P&gt;&lt;P&gt;uid=9022(hdfs) gid=501(hadoop) groups=501(hadoop),9014(hdfs)&lt;/P&gt;&lt;P&gt;In your output there is no group like hdfs&lt;/P&gt;&lt;P&gt;Create hdfs goup and add hdfs user in hdfs group. And try to restart namenode.&lt;/P&gt;&lt;P&gt;groupadd group1&lt;/P&gt;&lt;P&gt;usermod -a -G grpup1 abc&lt;/P&gt;&lt;P&gt;In this example I created group group1 adn addedd the user abc to group1.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 17:18:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151420#M44553</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2016-10-26T17:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151421#M44554</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/1897/ashneesharma88.html" nodeid="1897"&gt;@Ashnee Sharma&lt;/A&gt; Is it a work around or hdfs user needs to be in the hdfs group?&lt;/P&gt;&lt;P&gt;I also checked in the log, for the spark user it says no groups found for user spark, for user yarn same is the case. &lt;/P&gt;&lt;P&gt;Do you think we need to create groups for each user?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 17:52:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151421#M44554</guid>
      <dc:creator>smartninja723</dc:creator>
      <dc:date>2016-10-26T17:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151422#M44555</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3021/smartninja723.html" nodeid="3021"&gt;@Smart Solutions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;yes you need to create group of each user.  If groups are not there. &lt;/P&gt;&lt;P&gt;Please accept the ans so it will helps to others.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 18:33:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151422#M44555</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2016-10-26T18:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151423#M44556</link>
      <description>&lt;P&gt;Before accepting I am trying to understand the root cause, why I do not have groups for the users on my cluster.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 19:50:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151423#M44556</guid>
      <dc:creator>smartninja723</dc:creator>
      <dc:date>2016-10-26T19:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151424#M44557</link>
      <description>&lt;P&gt;@Smart Solutions&lt;/P&gt;&lt;P&gt;May be some one deleted the group or not installed the properly. Because while installing HDP . Ambari creates user and group itself.
&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 22:16:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151424#M44557</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2016-10-26T22:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151425#M44558</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1897/ashneesharma88.html" nodeid="1897"&gt;@Ashnee Sharma&lt;/A&gt; No one deleted the groups. Well digging further found this issue is different from deletion of the groups. Its something related with infra initial setup &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Anyway accepting the answer as it can help with normal scenarios. &lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 15:23:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151425#M44558</guid>
      <dc:creator>smartninja723</dc:creator>
      <dc:date>2016-10-27T15:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151426#M44559</link>
      <description>&lt;P&gt;This error has nothing to do with the missing user-specific group. The NameNode has no requirement that the group name match the user name. As long as the id command succeeded and returned any groups the NameNode would not have logged the error.&lt;/P&gt;&lt;P&gt;This error was likely due to a temporary infrastructure issue as pointed out by &lt;A rel="user" href="https://community.cloudera.com/users/3021/smartninja723.html" nodeid="3021"&gt;@Smart Solutions&lt;/A&gt; in a later comment. The following article is a good starting point for any issues related to groups lookups.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/38591/hadoop-and-ldap-usage-load-patterns-and-tuning.html" target="_blank"&gt;https://community.hortonworks.com/articles/38591/hadoop-and-ldap-usage-load-patterns-and-tuning.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 05:28:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151426#M44559</guid>
      <dc:creator>ArpitAgarwal</dc:creator>
      <dc:date>2016-11-02T05:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Name node logs are spammed with "No groups available for user hdfs"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151427#M44560</link>
      <description>&lt;P&gt;You are right Arpit. It is a deeper issue, related to groups in LDAP. &lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 19:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Name-node-logs-are-spammed-with-quot-No-groups-available-for/m-p/151427#M44560</guid>
      <dc:creator>smartninja723</dc:creator>
      <dc:date>2016-11-03T19:02:59Z</dc:date>
    </item>
  </channel>
</rss>

