Support Questions

Find answers, ask questions, and share your expertise

unable to connect to Clickhouse database

avatar
Explorer

Hi,

 

I am trying to connect to the Clickhouse database. I can't fix this error.

NIFI 1.12.1

 

StandardControllerServiceNode[service=DBCPConnectionPool[id=f73ad0c3-0176-1000-0546-94e4c6c6fe9b],
versionedComponentId=null,
processGroup=StandardProcessGroup[identifier=f73973ae-0176-1000-a421-ff32b5b5cb70,name=NiFi Flow], active=true]
Failed to invoke @OnEnabled method due to java.lang.NoClassDefFoundError:
Could not initialize class ru.yandex.clickhouse.ClickHouseDriver:
Could not initialize class ru.yandex.clickhouse.ClickHouseDriver

 

 

Annotation 2021-01-13 171158.pngtempsnip.png

1 REPLY 1

avatar
New Contributor

I used this two jars to connect ClickHouse:

clickhouse-jdbc-0.2.4-shaded.jar

lz4-1.3.0.jar