Need help (badly) on installing Spark on CentOS6.3
Hi
Need help on installing Spark on my CentOS6.3 desktop. Already tried searching for steps but still no go. I tried the steps here http://community.igniterealtime.org/.../196969#196969 but nothing happens. Am I missing some steps here... Please help... Complete noob here... |
Spark comes prepackaged with Java.
There is an RPM package available for download. Why are you not using that? What steps have you actually taken specifically? Giving a link doesn't really tell what exactly you've tried. What error messages do you get when you run ./Spark? |
Here's what i get when i "java -varsion"
java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.4) (rhel-1.49.1.11.4.el6_3-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) |
Please re-read my second post. I have edited it since you last posted likely.
|
i already tried using the RPM version and i got this error :
Spark-2.6.3.12555-1.x86_64 requires libodbc.so Spark-2.6.3.12555-1.x86_64 requires libodbcinst.so i already tried this command : yum install libstdc++.so.5 and when I do ./Spark nothing happens, no error whatsoever. it just immediately goes to prompt again. |
Quote:
Please use : yum provides */libstdc++.so.5 The reply is the package name : compat-libstdc++-33 # yum install compat-libstdc++-33 But why not install Spark with yum ? # yum localinstall --nogpgcheck <path-to-spark>/spark-2.6.3.rpm .... or whatever the Spark package name is. I.e. yum will also install all the dependencies. . |
Quote:
Error: Package: Spark-2.6.3.12555-1.x86_64 (/spark-2.6.3) Requires: libodbcinst.so Error: Package: Spark-2.6.3.12555-1.x86_64 (/spark-2.6.3) Requires: libodbc.so You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest i also tried using "--skip-broken" and it did complete the installation but nothing happened when I tried "./Spark", again no error just went to prompt again... |
The package is for a 64bits OS. ( x86_64 ).
May be your CentOS 6 is 32bits ? ( i686 ). This command will tell : uname -m |
Quote:
[root@pc24 Spark]# uname -m x86_64 [root@pc24 Spark]# Thanks for helping me out!!! |
OK, there is an error in the Spark-2.6.3.12555-1.x86_64 install files.
This will do : # yum install unixODBC.i686 alsa-lib.i686 libX11.i686 libXau.i686 \ libXext.i686 libXi.i686 libXp.i686 libXtst.i686 libxcb.i686 # rpm -Uvh --nodeps spark-2.6.3.rpm $ spark : The "Spark GUI" will open. . |
Quote:
one last thing... when I close the terminal, Spark also closes... is it suppose to do that? |
one last thing... when I close the terminal, Spark also closes... is it suppose to do that?
|
That sometimes happens if an application doesn't properly handle that (in fact most applications are like that). You could create a .desktop shortcut add spark to $PATH and launch it from the launcher (Alt+F2) if you didn't want to launch it from a terminal. Your file manager might even be set up to launch it when you open the Spark script.
|
Quote:
|
Or if you are using KDE, you can add Spark to your "start menu" by right
clicking the start menu and clicking "add items". |
All times are GMT -5. The time now is 09:56 AM. |