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]
Created 04-11-2017 06:15 PM
I'm trying to run a Spark streaming app that reads from a NiFi output port (over HTTPS). Spark is running on YARN (HDP 2.4.2) and the nodes have Java 7 installed (and 8 is not an option in the short term). When I build my jar that depends on NiFiReceiver I used the latest version (1.1.2 as of writing) but submitting that jar to spark running on Java 7 results in "Unsupported major.minor version 52.0". That suggests the jars have been built on Java 8. Before I go trying to build these jars myself, do they exist in a 7-compatible version anywhere?
Created 04-11-2017 06:18 PM
The NiFi 0.x baseline uses Java 7. The latest of which is NiFi-0.7.2
Created 04-11-2017 06:18 PM
The NiFi 0.x baseline uses Java 7. The latest of which is NiFi-0.7.2
Created 04-11-2017 06:26 PM
You should stick with the JDK 8 version.
New features require JDK 8. JDK 8 is very old at this point.
Created 04-11-2017 06:38 PM
The NiFi Spark Receiver itself hasn't needed a true update since before 1.x and the only deps it has is site-to-site[1]. While it would be ideal to upgrade, using the 0.x version of the NiFi Receiver doesn't preclude any blocking features (that I can think of). [1] https://github.com/apache/nifi/blob/3a7ddc6a35f143c1d4a735226fe7467a83d04583/nifi-external/nifi-spar...