Hi Jason,
I’m in the same boat as Oliver here. Trying to install spark-2.7.0.rpm on Fedora 20. I have installed the i686 versions of unixODBC, and the Development Tools group, then tried to use yum localinstall spark-2.7.0.rpm
so that it would do the dependency resolution. It told me that it would also be installing compat-libstdc+±33.i686, but fails to do the actual install for these two errors:
Error: Package: Spark-2.7.0.668-1.x86_64 (/spark-2.7.0)
Requires: libodbcinst.so
Error: Package: Spark-2.7.0.668-1.x86_64 (/spark-2.7.0)
Requires: libodbc.so
These files are installed on my filesystem, however:
[jt@jtsdesktop ~]$ locate libodbc.so
/usr/lib/libodbc.so
/usr/lib/libodbc.so.2
/usr/lib/libodbc.so.2.0.0
/usr/lib64/libodbc.so
/usr/lib64/libodbc.so.2
/usr/lib64/libodbc.so.2.0.0
[jt@jtsdesktop ~]$ locate libodbcinst.so
/usr/lib/libodbcinst.so
/usr/lib/libodbcinst.so.2
/usr/lib/libodbcinst.so.2.0.0
/usr/lib64/libodbcinst.so
/usr/lib64/libodbcinst.so.2
/usr/lib64/libodbcinst.so.2.0.0
Since the yum localinstall command failed, I went ahead and installed compat-libstdc+±33.i686 myself, and having satisfied myself that the dependencies were met, I ran rpm -i --nodeps spark-2.7.0.rpm
which works to install, but then when I try to run the spark
command, I get the following:
[jt@jtsdesktop ~]$ spark
Exception in thread “main” java.lang.UnsupportedClassVersionError: org/jivesoftware/launcher/Startup : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
(This would be because of the old bundled jre?)
I’m not sure how much this helps you, as it sounds like you may already have a plan of attack, but I figured it couldn’t hurt to detail exactly where the issues lie when we are trying to run the program. For now I will try the tar.gz, but I really would love to see an RPM that I can manage properly.
Thanks for your hard work!
JT