<?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 Schema registry breaks after upgrade to HDF 3.4.1.1 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Schema-registry-breaks-after-upgrade-to-HDF-3-4-1-1/m-p/236780#M198593</link>
    <description>&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;We recently upgrade our DEV and PROD environments from HDF 3.3 to HDF 3.4.1.1 after following upgrade instructions on a HDF-only cluster. After the upgrade, schema registry is giving the following exceptions in both environments for clients using the confluent API:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR  [2019-07-30 11:17:42.014] [dw-94 - POST /api/v1/confluent/subjects/EgressLiveAllCXXX1-value/versions] c.h.r.s.w.ConfluentSchemaRegistryCompatibleResource -  Encountered error while adding subject [EgressLiveAllCowBehavior1-value]&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: Failed to obtain write lock : schema_metadata_info-EgressLiveAllCXXXX1-value in 120 sec&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.DefaultSchemaRegistry.lockSchemaMetadata(DefaultSchemaRegistry.java:520)&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.DefaultSchemaRegistry.addSchemaVersion(DefaultSchemaRegistry.java:489)&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.webservice.ConfluentSchemaRegistryCompatibleResource.lambda$registerSchemaVersion$1(ConfluentSchemaRegistryCompatibleResource.java:322)&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.webservice.BaseRegistryResource.handleLeaderAction(BaseRegistryResource.java:77)&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.webservice.ConfluentSchemaRegistryCompatibleResource.registerSchemaVersion(ConfluentSchemaRegistryCompatibleResource.java:307)&lt;/P&gt;&lt;P&gt;        at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)&lt;/P&gt;&lt;P&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;P&gt;        at java.lang.reflect.Method.invoke(Method.java:498)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)&lt;/P&gt;&lt;P&gt;   ......&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I've tried flusing the mySQL tables, restarted the database and the SR services but no luck&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As this is impacting production, any help would be highly appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 19:23:04 GMT</pubDate>
    <dc:creator>azure</dc:creator>
    <dc:date>2019-07-30T19:23:04Z</dc:date>
    <item>
      <title>Schema registry breaks after upgrade to HDF 3.4.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Schema-registry-breaks-after-upgrade-to-HDF-3-4-1-1/m-p/236780#M198593</link>
      <description>&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;We recently upgrade our DEV and PROD environments from HDF 3.3 to HDF 3.4.1.1 after following upgrade instructions on a HDF-only cluster. After the upgrade, schema registry is giving the following exceptions in both environments for clients using the confluent API:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR  [2019-07-30 11:17:42.014] [dw-94 - POST /api/v1/confluent/subjects/EgressLiveAllCXXX1-value/versions] c.h.r.s.w.ConfluentSchemaRegistryCompatibleResource -  Encountered error while adding subject [EgressLiveAllCowBehavior1-value]&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: Failed to obtain write lock : schema_metadata_info-EgressLiveAllCXXXX1-value in 120 sec&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.DefaultSchemaRegistry.lockSchemaMetadata(DefaultSchemaRegistry.java:520)&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.DefaultSchemaRegistry.addSchemaVersion(DefaultSchemaRegistry.java:489)&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.webservice.ConfluentSchemaRegistryCompatibleResource.lambda$registerSchemaVersion$1(ConfluentSchemaRegistryCompatibleResource.java:322)&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.webservice.BaseRegistryResource.handleLeaderAction(BaseRegistryResource.java:77)&lt;/P&gt;&lt;P&gt;        at com.hortonworks.registries.schemaregistry.webservice.ConfluentSchemaRegistryCompatibleResource.registerSchemaVersion(ConfluentSchemaRegistryCompatibleResource.java:307)&lt;/P&gt;&lt;P&gt;        at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)&lt;/P&gt;&lt;P&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;P&gt;        at java.lang.reflect.Method.invoke(Method.java:498)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)&lt;/P&gt;&lt;P&gt;        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)&lt;/P&gt;&lt;P&gt;   ......&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I've tried flusing the mySQL tables, restarted the database and the SR services but no luck&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As this is impacting production, any help would be highly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 19:23:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Schema-registry-breaks-after-upgrade-to-HDF-3-4-1-1/m-p/236780#M198593</guid>
      <dc:creator>azure</dc:creator>
      <dc:date>2019-07-30T19:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Schema registry breaks after upgrade to HDF 3.4.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Schema-registry-breaks-after-upgrade-to-HDF-3-4-1-1/m-p/236781#M198594</link>
      <description>&lt;P&gt;Turns out , the following needs to be executed on mySQL:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO schema_lock SELECT CONCAT('schema_metadata_info-', schema_metadata_info.name) AS name, schema_metadata_info.timestamp FROM schema_metadata_info WHERE CONCAT('schema_metadata_info-', schema_metadata_info.name) NOT IN (SELECT name FROM schema_lock); &lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 21:55:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Schema-registry-breaks-after-upgrade-to-HDF-3-4-1-1/m-p/236781#M198594</guid>
      <dc:creator>azure</dc:creator>
      <dc:date>2019-07-30T21:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Schema registry breaks after upgrade to HDF 3.4.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Schema-registry-breaks-after-upgrade-to-HDF-3-4-1-1/m-p/289063#M214017</link>
      <description>&lt;P&gt;I was facing the same issue after updating to HDF 3.4.1.1, couldn't update/create new version of an existing schema. The solution worked out for me as well. I first checked whether the schema in question has a record in schema_lock. It hadn't. As well as most of the schemas in our registry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for sharing!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 11:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Schema-registry-breaks-after-upgrade-to-HDF-3-4-1-1/m-p/289063#M214017</guid>
      <dc:creator>Thomas-Kopp</dc:creator>
      <dc:date>2020-02-04T11:02:59Z</dc:date>
    </item>
  </channel>
</rss>

