Hi, Yes, out Schema Registry is kerberized. We've managed to solve the problem. There was typo in jaas file.
Thanks for your hint! Marcel czw., 6 gru 2018 o 15:39 Bryan Bende <[email protected]> napisał(a): > Hello, > > Is your Hortonworks schema registry kerberized? > > Also, do you have a jaas file specified in bootstrap.conf? > > There is some Kerberos related code in a static block in the > SchemaRegistryClient that could throw an exception and result in > NoClassDefFound. > > Thanks, > > Bryan > > On Wed, Dec 5, 2018 at 4:37 PM Marcel Kołodziejczyk < > [email protected]> wrote: > >> >> Hi Guys >> >> I'm using nifi 1.7.1 and when I'm trying to use HortonworksSchemaRegistry >> flowfile fails with followng error: >> ERROR [Timer-Driven Process Thread-9] >> o.a.nifi.processors.parquet.PutParquet >> PutParquet[id=52e53ae5-b0a0-123a-8d40-27685149375d] Failed to write due to >> java.lang.ExceptionInInitializerError: java.lang.ExceptionInI >> nitializerError >> java.lang.ExceptionInInitializerError: null >> at >> org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.getClient(HortonworksSchemaRegistry.java:149) >> at >> org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.retrieveSchemaByIdAndVersion(HortonworksSchemaRegistry.java:295) >> at >> org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.retrieveSchema(HortonworksSchemaRegistry.java:347) >> >> subsequent flowfiles also fails with error: >> RROR [Timer-Driven Process Thread-7] >> o.a.nifi.processors.parquet.PutParquet >> PutParquet[id=52e53ae5-b0a0-123a-8d40-27685149375d] Failed to write due to >> java.lang.NoClassDefFoundError: Could not initialize class >> com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient: >> java.lang.NoClassDefFoundError: Could not initialize class >> com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient >> java.lang.NoClassDefFoundError: Could not initialize class >> com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient >> at >> org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.getClient(HortonworksSchemaRegistry.java:149) >> at >> org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.retrieveSchemaByIdAndVersion(HortonworksSchemaRegistry.java:295) >> at >> org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.retrieveSchema(HortonworksSchemaRegistry.java:347) >> >> I've check that class >> com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient >> is bundled in nifi-hwx-schema-registry-nar-1.7.1.nar. Do you have any >> idea how to solve this problem? >> >> Regards, >> Marcel >> > -- > Sent from Gmail Mobile >
