<?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: Removing and reinstalling A Service Causes DB Verification To Produce Warnings in ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212258#M81901</link>
    <description>&lt;P&gt;
	For old version of ambari:https://issues.apache.org/jira/browse/AMBARI-20875&lt;/P&gt;&lt;P&gt;For 2.6.1: &lt;/P&gt;&lt;P&gt;ambari-server start --auto-fix-database&lt;/P&gt;&lt;P&gt;1.- backup ambari&lt;/P&gt;&lt;P&gt;2.- run this querys&lt;/P&gt;&lt;P&gt;######
SELECT &lt;A href="http://cc.config_id/"&gt;cc.config_id&lt;/A&gt;, cc.type_name, &lt;A href="http://cc.version_tag/"&gt;cc.version_tag&lt;/A&gt; FROM &lt;A href="http://ambari.clusterconfig/"&gt;ambari.clusterconfig&lt;/A&gt; cc, &lt;A href="http://ambari.clusterconfig/"&gt;ambari.clusterconfig&lt;/A&gt; ccm WHERE &lt;A href="http://cc.config_id/"&gt;cc.config_id&lt;/A&gt; NOT IN (SELECT &lt;A href="http://scm.config_id/"&gt;scm.config_id&lt;/A&gt; FROM &lt;A href="http://ambari.serviceconfigmapping/"&gt;ambari.serviceconfigmapping&lt;/A&gt; scm) AND cc.type_name != 'cluster-env' AND cc.type_name = ccm.type_name AND &lt;A href="http://cc.version_tag/"&gt;cc.version_tag&lt;/A&gt; = &lt;A href="http://ccm.version_tag/"&gt;ccm.version_tag&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;CREATE TEMPORARY TABLE orphaned_configs AS (SELECT &lt;A href="http://cc.config_id/"&gt;cc.config_id&lt;/A&gt; FROM &lt;A href="http://ambari.clusterconfig/"&gt;ambari.clusterconfig&lt;/A&gt; cc WHERE &lt;A href="http://cc.config_id/"&gt;cc.config_id&lt;/A&gt; NOT IN (SELECT &lt;A href="http://scm.config_id/"&gt;scm.config_id&lt;/A&gt; FROM &lt;A href="http://ambari.serviceconfigmapping/"&gt;ambari.serviceconfigmapping&lt;/A&gt; scm) AND cc.type_name != 'cluster-env');&lt;/P&gt;&lt;P&gt;delete FROM &lt;A href="http://ambari.clusterconfig/"&gt;ambari.clusterconfig&lt;/A&gt; WHERE config_id IN (SELECT config_id from orphaned_configs);
###### &lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2018 01:47:03 GMT</pubDate>
    <dc:creator>itsssudheer</dc:creator>
    <dc:date>2018-08-10T01:47:03Z</dc:date>
    <item>
      <title>Removing and reinstalling A Service Causes DB Verification To Produce Warnings in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212257#M81900</link>
      <description>&lt;P&gt;When you restart ambari server you will see warning.&lt;/P&gt;&lt;P&gt;This is for ambari 2.6.1 version&lt;/P&gt;&lt;P&gt;2018-05-31 13:52:47,897  WARN - You have config(s): hive-interactive-site-version1526669268436,spark2-thrift-sparkconf-version1523470551917,hive-env-version1523468253282,ranger-hive-security-version1523468253282,hive-interactive-site-version1523468253282,hive-site-version1523470551910,hive-env-version1523470551912,webhcat-site-version1523476281613,spark2-defaults-version1523546169843,ranger-hive-security-version1523541830065,webhcat-site-version1523468253282,hive-interactive-env-version1526669268434,oozie-site-version1523476282031,ranger-hive-security-version1523470551914,hive-site-version1523475239563,livy2-conf-version1523470551917,oozie-site-version1523470551917,hive-env-version1524144296621,ranger-hive-policymgr-ssl-version1523470551915,oozie-site-version1523548496113,hive-env-version1523475386015,hive-interactive-site-version1526679191562,tez-interactive-site-version1523468253282,hive-interactive-env-version1526679191561,ranger-hive-audit-version1523473225964,oozie-env-version1523470551917,hive-site-version1523544593764,oozie-site-version1523631139320,hive-site-version1526676861358,hive-site-version1523476281402,oozie-env-version1523548262140,hive-interactive-site-version1526676861357,ranger-hive-audit-version1523468253282,ranger-hive-audit-version1523470551913,spark2-defaults-version1523470551917,spark2-defaults-version1523476281670,hive-interactive-site-version1526672227348,hive-site-version1523468253282,hive-interactive-env-version1523468253282,hive-env-version1524243680992,tez-interactive-site-version1526669268437,oozie-site-version1523554724976,tez-interactive-site-version1526674777606,ranger-hive-plugin-properties-version1523468253282,hive-interactive-env-version1526672227349,hive-atlas-application.properties-version1523468253282,hive-site-version1526670928225,hive-site-version1523475386016,ranger-hive-policymgr-ssl-version1523468253282,hive-interactive-site-version1523476282107,hiveserver2-site-version1523468253282 that is(are) not mapped (in serviceconfigmapping table) to any service!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 01:41:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212257#M81900</guid>
      <dc:creator>itsssudheer</dc:creator>
      <dc:date>2018-08-10T01:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing and reinstalling A Service Causes DB Verification To Produce Warnings in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212258#M81901</link>
      <description>&lt;P&gt;
	For old version of ambari:https://issues.apache.org/jira/browse/AMBARI-20875&lt;/P&gt;&lt;P&gt;For 2.6.1: &lt;/P&gt;&lt;P&gt;ambari-server start --auto-fix-database&lt;/P&gt;&lt;P&gt;1.- backup ambari&lt;/P&gt;&lt;P&gt;2.- run this querys&lt;/P&gt;&lt;P&gt;######
SELECT &lt;A href="http://cc.config_id/"&gt;cc.config_id&lt;/A&gt;, cc.type_name, &lt;A href="http://cc.version_tag/"&gt;cc.version_tag&lt;/A&gt; FROM &lt;A href="http://ambari.clusterconfig/"&gt;ambari.clusterconfig&lt;/A&gt; cc, &lt;A href="http://ambari.clusterconfig/"&gt;ambari.clusterconfig&lt;/A&gt; ccm WHERE &lt;A href="http://cc.config_id/"&gt;cc.config_id&lt;/A&gt; NOT IN (SELECT &lt;A href="http://scm.config_id/"&gt;scm.config_id&lt;/A&gt; FROM &lt;A href="http://ambari.serviceconfigmapping/"&gt;ambari.serviceconfigmapping&lt;/A&gt; scm) AND cc.type_name != 'cluster-env' AND cc.type_name = ccm.type_name AND &lt;A href="http://cc.version_tag/"&gt;cc.version_tag&lt;/A&gt; = &lt;A href="http://ccm.version_tag/"&gt;ccm.version_tag&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;CREATE TEMPORARY TABLE orphaned_configs AS (SELECT &lt;A href="http://cc.config_id/"&gt;cc.config_id&lt;/A&gt; FROM &lt;A href="http://ambari.clusterconfig/"&gt;ambari.clusterconfig&lt;/A&gt; cc WHERE &lt;A href="http://cc.config_id/"&gt;cc.config_id&lt;/A&gt; NOT IN (SELECT &lt;A href="http://scm.config_id/"&gt;scm.config_id&lt;/A&gt; FROM &lt;A href="http://ambari.serviceconfigmapping/"&gt;ambari.serviceconfigmapping&lt;/A&gt; scm) AND cc.type_name != 'cluster-env');&lt;/P&gt;&lt;P&gt;delete FROM &lt;A href="http://ambari.clusterconfig/"&gt;ambari.clusterconfig&lt;/A&gt; WHERE config_id IN (SELECT config_id from orphaned_configs);
###### &lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 01:47:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212258#M81901</guid>
      <dc:creator>itsssudheer</dc:creator>
      <dc:date>2018-08-10T01:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Removing and reinstalling A Service Causes DB Verification To Produce Warnings in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212259#M81902</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45207/sudheerpc2.html" nodeid="45207"&gt;@Sudheer Velagapudi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;How did you remove the service from Ambari? Did you used UI/API to do that? looks like there are stale Hive, oozie, ranger configs are there.&lt;/P&gt;&lt;P&gt;You can try cleaning up those services by following &lt;A href="https://community.hortonworks.com/articles/79546/how-to-cleanup-service-from-ambari-database.html" target="_blank"&gt;https://community.hortonworks.com/articles/79546/how-to-cleanup-service-from-ambari-database.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 01:47:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212259#M81902</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2018-08-10T01:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Removing and reinstalling A Service Causes DB Verification To Produce Warnings in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212260#M81903</link>
      <description>&lt;P&gt;I used ambari to uninstall and reinstall those services. &lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 02:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-and-reinstalling-A-Service-Causes-DB-Verification/m-p/212260#M81903</guid>
      <dc:creator>itsssudheer</dc:creator>
      <dc:date>2018-08-10T02:08:03Z</dc:date>
    </item>
  </channel>
</rss>

