Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi Atlas bridge

Highlighted

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

Re: NiFi Atlas bridge

New Contributor

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

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

Re: NiFi Atlas bridge

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.

Don't have an account?
Coming from Hortonworks? Activate your account here