<?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 Hive CLI session warnings in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-session-warnings/m-p/242988#M204787</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are getting below warnings while starting hive shell from CLI.&lt;/P&gt;&lt;P&gt;$hive&lt;/P&gt;&lt;P&gt;19/06/20 07:53:14 WARN conf.HiveConf: HiveConf of name hive.mapred.strict does not exist&lt;/P&gt;&lt;P&gt;19/06/20 07:53:14 WARN conf.HiveConf: HiveConf of name hive.mapred.supports.subdirectories does not exist&lt;/P&gt;&lt;P&gt;log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender&lt;/P&gt;&lt;P&gt;hive&amp;gt;&lt;/P&gt;&lt;P&gt;Hive version - 1.2&lt;/P&gt;&lt;P&gt;As per I know, we can safely ignore these warnings but, we need to get rid off these.&lt;/P&gt;&lt;P&gt;Could you please help on this. Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2019 01:55:06 GMT</pubDate>
    <dc:creator>sampathkumar_ma</dc:creator>
    <dc:date>2019-06-21T01:55:06Z</dc:date>
    <item>
      <title>Hive CLI session warnings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-session-warnings/m-p/242988#M204787</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are getting below warnings while starting hive shell from CLI.&lt;/P&gt;&lt;P&gt;$hive&lt;/P&gt;&lt;P&gt;19/06/20 07:53:14 WARN conf.HiveConf: HiveConf of name hive.mapred.strict does not exist&lt;/P&gt;&lt;P&gt;19/06/20 07:53:14 WARN conf.HiveConf: HiveConf of name hive.mapred.supports.subdirectories does not exist&lt;/P&gt;&lt;P&gt;log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender&lt;/P&gt;&lt;P&gt;hive&amp;gt;&lt;/P&gt;&lt;P&gt;Hive version - 1.2&lt;/P&gt;&lt;P&gt;As per I know, we can safely ignore these warnings but, we need to get rid off these.&lt;/P&gt;&lt;P&gt;Could you please help on this. Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 01:55:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-session-warnings/m-p/242988#M204787</guid>
      <dc:creator>sampathkumar_ma</dc:creator>
      <dc:date>2019-06-21T01:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hive CLI session warnings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-session-warnings/m-p/242989#M204788</link>
      <description>&lt;P&gt;This WARN logs should not cause any issue,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1) however if you want to remove this configs, you can use below syntax to delete the config on specific component config_type(Configs can be searched in ambari -&amp;gt; hive configs filter box to know which file to be updated)&lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/scripts/configs.py -u &amp;lt;&amp;lt;username&amp;gt;&amp;gt; -p &amp;lt;&amp;lt;password&amp;gt;&amp;gt; -n &amp;lt;&amp;lt;clustername&amp;gt;&amp;gt; -l &amp;lt;&amp;lt;ambari-server-host&amp;gt;&amp;gt; -t &amp;lt;&amp;lt;ambari-server-port&amp;gt;&amp;gt; -a &amp;lt;&amp;lt;action&amp;gt;&amp;gt; -c &amp;lt;&amp;lt;config_type&amp;gt;&amp;gt; -k &amp;lt;&amp;lt;config-key&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;eg.,&lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/scripts/configs.py -u admin -p &amp;lt;&amp;lt;dummy&amp;gt;&amp;gt; -n cluster1 -l ambari-server-host -t 8080 -a delete -c hive-site -k hive.mapred.strict&lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/scripts/configs.py -u admin -p &amp;lt;&amp;lt;dummy&amp;gt;&amp;gt; -n cluster1 -l ambari-server-host -t 8080 -a delete -c hive-site -k hive.mapred.supports.subdirectories&lt;/P&gt;&lt;P&gt;This is the reference for configs.py &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations#Modifyconfigurations-Editconfigurationusingconfigs.py"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations#Modifyconfigurations-Editconfigurationusingconfigs.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2) To remove log4j warning, goto ambari -&amp;gt; hive configs -&amp;gt; advance hive-log4j, comment below line&lt;/P&gt;&lt;P&gt;log4j.appender.DRFA.MaxFileSize&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;After the above 2 changes, restart hive services, all those 3 warns should go away.&lt;/P&gt;&lt;P&gt;If this article helps to resolve the issue, accept the answer, it might also help others members in the community.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 20:56:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-session-warnings/m-p/242989#M204788</guid>
      <dc:creator>nramanaiah</dc:creator>
      <dc:date>2019-06-24T20:56:57Z</dc:date>
    </item>
  </channel>
</rss>

