Hi,
I am trying to run the example with the custom processor for "numerical lines" from that tutorial.
When I launch the spot instance workers, nothing happens, the queue size does not go down.
After ssh'ing into one of the spot instance workers, I discovered this error at the end of /var/log/cloud-init-output.log
Error: Invalid or corrupt jarfile /tmp/start.jar
It turns out /tmp/start.jar is a copy of target/dpef-1.0.4-SNAPSHOT.jar
There does not seem to be any error with the file (they're the same MD5 hash on the master and the worker).
When I attempt to manually do:
java -jar /tmp/start.jar
I do get the error. Same thing on the master.
Looking for possible causes for this error message I see that there is a bug in Java 7 whereby a JAR file cannot contain more than 64k files.
Expanding the one at hand I indeed find 74505 files.
Has anyone encountered this problem? If so, any idea on how to fix or work around this?
Many thanks for any insights/ideas,
Eric
PS: I used the following as a master/build instance: