Support Questions
Find answers, ask questions, and share your expertise

NiFi Atlas bridge

New Contributor

Hi

I am trying to set NiFi 1.5 with Atlas 0.8 in HDP 2.6, however I am getting the following error java.lang.NoClassDefFoundError: Could not initialize class org.apache.nifi.atlas.NiFiAtlasHook
Is there anything to do in addition of building NiFi with Atlas profil and setting the ReportingLineageToAtlas? did anyone face this issue?
Thanks
2 REPLIES 2

New Contributor

Here's my configurations. Can someone tell me if I missed something?

50430-screen-shot-2018-01-16-at-103742-pm.png

Hi @Luis Size

Would you share how did you build NiFi?

I used following steps and the ReportLineageToAtlas works without NoClassDefFoundError.

# Download NiFi source code
wget http://ftp.riken.jp/net/apache/nifi/1.5.0/nifi-1.5.0-source-release.zip
# Unzip it and build with Atlas enabled
mvn clean install -T 2.0C -Pinclude-atlas -DskipTests

BTW, a directory should be set to 'Atlas Configuration Directory' instead of atlas-application.properties, although I doubt this could be the cause of NoClassDefFoundError.