Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Minifi Toolkit Error

avatar
Frequent Visitor

Hi,

 

I'm new to Minifi and just got minifi cpp running with the listed examples from the github repo. In the next step I want to run my own config.yml files. Unfortunately the minifi cpp repo doesn't explain the tranformation process from Nifi to Minifi. However, on the minifi website I read that the minifi toolkit is used for the transformation process from the template xml to yml-file. I downloaded the latest toolkit version (v1.14.0) and exportet a simple flow template as xml (Nifi-version is 1.12.1). When I try to convert the xml-file using the toolkit I get the folowwing error:

 

[user@ip-xxx bin]$ ./config.sh transform input.xml outputfile
config.sh: JAVA_HOME not set; results may vary

Java home:
MiNiFi Toolkit home: /home/user/minifi-toolkit-1.14.0


Error reading template. (javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory])

Transform Usage:

transform INPUT_FILE OUTPUT_FILE

 

 

Any ideas what the problem is?

 

Best regards

2 REPLIES 2

avatar
Frequent Visitor

Update: Mit Java 8 statt 11 hat es funktioniert.

avatar

@nnndb 

You are using version JAVA 8 update 11?

If so, try using at least JAVA 8 update 252.