<?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: Not Able to start hive metastore in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128822#M34711</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2403/chennurigourishankar.html" nodeid="2403"&gt;@chennuri gouri shankar&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;Main issue could be : &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The system was not able to create new process(es), because of the limits set for &lt;EM&gt;nproc&lt;/EM&gt; in /etc/security/limits.conf file.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;Increase the value of "nproc" parameter for user or all user's in &lt;CODE&gt;/etc/security/limits.d/90-nproc.conf&lt;/CODE&gt;
example of &lt;CODE&gt;/etc/security/limits.d/90-nproc.conf&lt;/CODE&gt; file.&lt;/LI&gt;
&lt;LI&gt;&lt;PRE&gt;&amp;lt;code&amp;gt;&amp;lt;user&amp;gt;       -          nproc     2048      &amp;lt;&amp;lt;&amp;lt;----[ Only for "&amp;lt;user&amp;gt;" user ]&lt;/PRE&gt;
&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please use this link to debug for redhat linux flavours:&lt;/P&gt;&lt;P&gt;&lt;A href="https://access.redhat.com/solutions/543503" target="_blank"&gt;https://access.redhat.com/solutions/543503&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Other thing you can check is the user limit in creating processes.&lt;/P&gt;&lt;P&gt;Check with : ulimit -a.  (TO check Limits in your shell)&lt;/P&gt;&lt;P&gt; Esp check for 'ulimit -u' max user processes,&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2016 15:53:24 GMT</pubDate>
    <dc:creator>dchiguruvad</dc:creator>
    <dc:date>2016-07-14T15:53:24Z</dc:date>
    <item>
      <title>Not Able to start hive metastore</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128819#M34708</link>
      <description>&lt;PRE&gt;Resource_management.core.exceptions.Fail: Execution of 'export HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ; /usr/hdp/current/hive-metastore/bin/schematool -initSchema -dbType postgres -userName hive -passWord [PROTECTED]' returned 254. /etc/profile: fork: retry: Resource temporarily unavailable
/etc/profile: fork: retry: Resource temporarily unavailable
/etc/profile: fork: retry: Resource temporarily unavailable
/etc/profile: fork: retry: Resource temporarily unavailable
/etc/profile: fork: Resource temporarily unavailable
/etc/profile: fork: retry: Resource temporarily unavailable &lt;/PRE&gt;&lt;P&gt;/etc/profile: fork: retry: Resource temporarily unavailable&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 14:37:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128819#M34708</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-07-14T14:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to start hive metastore</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128820#M34709</link>
      <description>&lt;P&gt;you're apparently running out of file descriptors, try to adjust your ulimit accordingly&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 14:46:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128820#M34709</guid>
      <dc:creator>ledel</dc:creator>
      <dc:date>2016-07-14T14:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to start hive metastore</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128821#M34710</link>
      <description>&lt;P&gt; su hive
su: cannot set user id: Resource temporarily unavailable&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 14:53:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128821#M34710</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-07-14T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to start hive metastore</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128822#M34711</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2403/chennurigourishankar.html" nodeid="2403"&gt;@chennuri gouri shankar&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;Main issue could be : &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The system was not able to create new process(es), because of the limits set for &lt;EM&gt;nproc&lt;/EM&gt; in /etc/security/limits.conf file.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;Increase the value of "nproc" parameter for user or all user's in &lt;CODE&gt;/etc/security/limits.d/90-nproc.conf&lt;/CODE&gt;
example of &lt;CODE&gt;/etc/security/limits.d/90-nproc.conf&lt;/CODE&gt; file.&lt;/LI&gt;
&lt;LI&gt;&lt;PRE&gt;&amp;lt;code&amp;gt;&amp;lt;user&amp;gt;       -          nproc     2048      &amp;lt;&amp;lt;&amp;lt;----[ Only for "&amp;lt;user&amp;gt;" user ]&lt;/PRE&gt;
&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please use this link to debug for redhat linux flavours:&lt;/P&gt;&lt;P&gt;&lt;A href="https://access.redhat.com/solutions/543503" target="_blank"&gt;https://access.redhat.com/solutions/543503&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Other thing you can check is the user limit in creating processes.&lt;/P&gt;&lt;P&gt;Check with : ulimit -a.  (TO check Limits in your shell)&lt;/P&gt;&lt;P&gt; Esp check for 'ulimit -u' max user processes,&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 15:53:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128822#M34711</guid>
      <dc:creator>dchiguruvad</dc:creator>
      <dc:date>2016-07-14T15:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to start hive metastore</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128823#M34712</link>
      <description>&lt;P&gt;Thanks Everyone,&lt;/P&gt;&lt;P&gt;I resolved the issue by increasing the /etc/security/limits.d/hive.conf . Everything went fine.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 18:04:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-Able-to-start-hive-metastore/m-p/128823#M34712</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-07-14T18:04:05Z</dc:date>
    </item>
  </channel>
</rss>

