<?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 error while installing 2nd instance of HiveMetastore using ambari in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242969#M204768</link>
    <description>&lt;P&gt;"File "&lt;CODE&gt;/usr/lib/ambari-agent/lib/resource_management/core/shell.py&lt;/CODE&gt;", line 303, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of 'export HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ; /usr/hdp/current/hive-server2-hive2/bin/schematool -initSchema -dbType mysql -userName hive -passWord [PROTECTED] -verbose' returned 1. Your account has expired; please contact your system administrator"&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2019 10:37:44 GMT</pubDate>
    <dc:creator>vinith_alampall</dc:creator>
    <dc:date>2019-06-21T10:37:44Z</dc:date>
    <item>
      <title>error while installing 2nd instance of HiveMetastore using ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242969#M204768</link>
      <description>&lt;P&gt;"File "&lt;CODE&gt;/usr/lib/ambari-agent/lib/resource_management/core/shell.py&lt;/CODE&gt;", line 303, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of 'export HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ; /usr/hdp/current/hive-server2-hive2/bin/schematool -initSchema -dbType mysql -userName hive -passWord [PROTECTED] -verbose' returned 1. Your account has expired; please contact your system administrator"&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 10:37:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242969#M204768</guid>
      <dc:creator>vinith_alampall</dc:creator>
      <dc:date>2019-06-21T10:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: error while installing 2nd instance of HiveMetastore using ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242970#M204769</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/114687/vinithalampally.html"&gt;@Alampally Vinith&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1. Can you please run the following command on the following host to see if by any chance the "hive" user account is locked?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# chage -l hive&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Example Output:&lt;/P&gt;&lt;PRE&gt;# chage -l hive
Last password change&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;: Jun 21, 2019
Password expires&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;    : never
Password inactive&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;   : never
Account expires&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: never
Minimum number of days between password change&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;: 0
Maximum number of days between password change&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;: 99999
Number of days of warning before password expires &amp;nbsp; &amp;nbsp; : 7&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2. Are you able to switch to that user?&lt;/P&gt;&lt;PRE&gt;# su - hive&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Just in case of if you see the account is locked due to inactivity then Increase number of days of inactivity after a password has expired before the account is locked by setting INACTIVE option. Passing the number -1 as the INACTIVE option will remove the account’s inactivity so user can go through password change process anywhere in the future.&lt;/P&gt;&lt;PRE&gt;# chage -I 30 &amp;nbsp;hive&lt;/PRE&gt;&lt;P&gt;Please read more about this &lt;STRONG&gt;INACTIVE=-1&lt;/STRONG&gt; will disable this feature meaning user can change the password anytime after password expires. And then according to your requirement you can set the user inactivity.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you are running Hive Metastore with some other user then in the above commands use that user name instead of "hive"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please check on that host what is the default INACTIVITY set to? Please share the output of the below command as well.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# cat /etc/default/useradd &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;# cat /etc/default/useradd&amp;nbsp;
# useradd defaults file
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
CREATE_MAIL_SPOOL=yes&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 11:02:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242970#M204769</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-06-21T11:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: error while installing 2nd instance of HiveMetastore using ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242971#M204770</link>
      <description>&lt;P&gt;Permission Denied when I tried to run those commands&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 12:44:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242971#M204770</guid>
      <dc:creator>vinith_alampall</dc:creator>
      <dc:date>2019-06-21T12:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: error while installing 2nd instance of HiveMetastore using ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242972#M204771</link>
      <description>&lt;P&gt;The above question and the entire replky thread below was originally posted in the &lt;A href="https://community.hortonworks.com/spaces/101/index.html"&gt;Community Help&lt;/A&gt; track. On Thu Jul 4 19:25 UTC 2019, a member of the HCC moderation staff moved it to the &lt;A href="https://community.hortonworks.com/spaces/66/data-processing-track_2.html"&gt;Data Processing&lt;/A&gt; track. The &lt;EM&gt;Community Help Track&lt;/EM&gt; is intended for questions about using the HCC site itself, not technical questions about Hive or Ambari.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 02:39:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-while-installing-2nd-instance-of-HiveMetastore-using/m-p/242972#M204771</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2019-07-05T02:39:04Z</dc:date>
    </item>
  </channel>
</rss>

