I am running my program with Ignite as a Maven dependency. If I package my program in a jar and try to run it, Ignite will throw an error when it tries to start up.
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.<init>(Unknown Source)
I've never set IGNITE_HOME, but when I ran it from the IDE, it seems that Ignite will just try to resolve IGNITE_HOME, and continue on happily if it can't find it.
I tried setting IGNITE_HOME to a "random" location just to get the jar running, but I noticed Ignite started writing stuff to that folder (such as a work folder and a marshaller folder).
Is it possible to run Ignite from a jar without setting IGNITE_HOME? Where does Ignite write the files that would've gone under IGNITE_HOME if it cannot be resolved?
This path doesn't specify a real file in the file system, so the error is sound.
It would be nice if Ignite catches this exception and returns null for the home instead causing the grid to not start.
Yes I just tested that it works with the latest build. Thanks!
Which should be the next release version that has the fix?