<?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: Schema version table SCHEMA_VERSION exists but contains no rows - Failed to start Cloudera CM Server Service in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Schema-version-table-SCHEMA-VERSION-exists-but-contains-no/m-p/287985#M213370</link>
    <description>&lt;P&gt;Thank you, Danilo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, scm_prepare_database.sh was executed for hive database after objects creation in mySQL db and create a misconfiguration in db.properties. When trying to start cm server, the SCHEMA_VERSION was unable to be read.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Caseiro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2020 20:22:44 GMT</pubDate>
    <dc:creator>joao_caseiro</dc:creator>
    <dc:date>2020-01-20T20:22:44Z</dc:date>
    <item>
      <title>Schema version table SCHEMA_VERSION exists but contains no rows - Failed to start Cloudera CM Server Service</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Schema-version-table-SCHEMA-VERSION-exists-but-contains-no/m-p/287882#M213299</link>
      <description>&lt;P&gt;After&amp;nbsp;Cloudera CM Server Service restart for CFM installation, CM Server failed to start with the following error in log file:&lt;/P&gt;
&lt;P&gt;Caused by: java.sql.SQLException: Schema version table SCHEMA_VERSION exists but contains no rows.&lt;BR /&gt;at com.cloudera.enterprise.dbutil.DbUtil.getSchemaVersion(DbUtil.java:246)&lt;BR /&gt;at com.cloudera.enterprise.dbutil.DbUtil$1SchemaVersionWork.execute(DbUtil.java:185)&lt;BR /&gt;at org.hibernate.jdbc.WorkExecutor.executeWork(WorkExecutor.java:37)&lt;BR /&gt;at org.hibernate.internal.SessionImpl$1.accept(SessionImpl.java:2289)&lt;BR /&gt;at org.hibernate.internal.SessionImpl$1.accept(SessionImpl.java:2286)&lt;BR /&gt;at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.coordinateWork(JdbcCoordinatorImpl.java:314)&lt;BR /&gt;at org.hibernate.internal.SessionImpl.doWork(SessionImpl.java:2308)&lt;BR /&gt;at org.hibernate.internal.SessionImpl.doWork(SessionImpl.java:2293)&lt;BR /&gt;at com.cloudera.enterprise.dbutil.DbUtil.getSchemaVersion(DbUtil.java:197)&lt;BR /&gt;at com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean.checkVersionDoFail(EntityManagerFactoryBean.java:362)&lt;BR /&gt;at com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean.getObject(EntityManagerFactoryBean.java:174)&lt;BR /&gt;at com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean.getObject(EntityManagerFactoryBean.java:76)&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)&lt;BR /&gt;... 22 more&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After select SCHEMA_VERSION in mariadb, the content exists:&lt;/P&gt;
&lt;P&gt;MariaDB [scm]&amp;gt; select * from SCHEMA_VERSION;&lt;/P&gt;
&lt;P&gt;+---------+-------------+&lt;/P&gt;
&lt;P&gt;| VERSION | OLD_VERSION |&lt;/P&gt;
&lt;P&gt;+---------+-------------+&lt;/P&gt;
&lt;P&gt;|&amp;nbsp;&amp;nbsp; 70100 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 70100 |&lt;/P&gt;
&lt;P&gt;+---------+-------------+&lt;/P&gt;
&lt;P&gt;1 row in set (0.00 sec)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a possibility that some dependent table to start the service is corrupted?&lt;/P&gt;
&lt;P&gt;CM: 7.0.3&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 21:29:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Schema-version-table-SCHEMA-VERSION-exists-but-contains-no/m-p/287882#M213299</guid>
      <dc:creator>joao_caseiro</dc:creator>
      <dc:date>2020-01-17T21:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Schema version table SCHEMA_VERSION exists but contains no rows - Failed to start Cloudera CM Server Service</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Schema-version-table-SCHEMA-VERSION-exists-but-contains-no/m-p/287980#M213365</link>
      <description>&lt;P&gt;When you start the Cloudera Manager, it consult the file db.properties in the folder /etc/cloudera-scm-server. Verify if your configuration it's correct.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 17:47:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Schema-version-table-SCHEMA-VERSION-exists-but-contains-no/m-p/287980#M213365</guid>
      <dc:creator>danilolega01</dc:creator>
      <dc:date>2020-01-20T17:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Schema version table SCHEMA_VERSION exists but contains no rows - Failed to start Cloudera CM Server Service</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Schema-version-table-SCHEMA-VERSION-exists-but-contains-no/m-p/287985#M213370</link>
      <description>&lt;P&gt;Thank you, Danilo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, scm_prepare_database.sh was executed for hive database after objects creation in mySQL db and create a misconfiguration in db.properties. When trying to start cm server, the SCHEMA_VERSION was unable to be read.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Caseiro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 20:22:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Schema-version-table-SCHEMA-VERSION-exists-but-contains-no/m-p/287985#M213370</guid>
      <dc:creator>joao_caseiro</dc:creator>
      <dc:date>2020-01-20T20:22:44Z</dc:date>
    </item>
  </channel>
</rss>

