Using Spark in Fedora 8

I found out the hardway that the jre included in the spark download will not work with fedora 8.

Since fedora 8 comes with their own jre now, just make sure you have them installed.

This is what I have.

  1. rpm -qa|grep icedtea

java-1.7.0-icedtea-1.7.0.0-0.19.b21.snapshot.fc8

java-1.7.0-icedtea-plugin-1.7.0.0-0.19.b21.snapshot.fc8

Once you have downloaded and extracted the spark tar.gz file, go into the Spark directory and add the following line at the top after #!/bin/sh:

app_java_home=/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre

You should now be able to launch spark.