0

I am trying to connect to the Clickhouse database Using Apache Nifi. 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

Please check images

Image -1

Image -2

vladimir
  • 13,428
  • 2
  • 44
  • 70
ali
  • 81
  • 3
  • 13

1 Answers1

1

The error tells you that the class ru.yandex.clickhouse.ClickHouseDriver can't be found.

Ensure that you:

  1. Have the right jar
  2. The jar exists in the right path
  3. The user running NiFi has permissions on the jar
  4. You are using the correct Class name for the Driver in the jar
Sdairs
  • 1,912
  • 1
  • 13
  • 13