Spark deb files

Where can i find deb-files of Spark for Ubuntu? 2.6.3 would do, but if you know where i can find beta of 2.7.x that would be nice.

It looks like deb packages haven’t been produced for 2.6.3 release. Build system has a task for deb packages, but it doesn’t produce deb files for 2.7.0 either (Spark - Nightly Debian Build: Plan summary - Atlassian Bamboo ). I have asked Daryl about this. He is tinkering build system occasionally. Maybe he will be able to fix it.

I got the issue corrected with the debian build.

Does this mean that there is a deb file now somewhere or will be soon?

Yup, the current dev build is here: Spark - Nightly Debian Build 383: Artifacts - Atlassian Bamboo

Thanks,

When installing it it is dependent on sun-java6-jre. Unfortunately it does not work with openjdk, oracle java 7 or oracle java 6.

Oracle java 6 should be the same as sun java 6 right? As Oracle took over from Sun. Still it’s not working with openjdk or oravle java.

Any ideas? sun-java6-jre is not in Ubuntu repositories and when googling it I just find Oracle java 6.

Any suggestions on how to solve the requirement of a really old java package?

I am unsure where this would be coming from. I thought I had updated all of this for the installer. https://github.com/igniterealtime/Openfire/tree/master/build/debian

david@wseklrlnxtest:~$ echo $JAVA_HOME

/usr/lib/jvm/java-7-openjdk-amd64

david@wseklrlnxtest:~$ java -version

java version “1.7.0_65”

OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)

OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

david@wseklrlnxtest:~$

The Spark deb package needs to be improved. Here is a list of files that it installs:

/opt
/opt/Spark
/opt/Spark/.install4j
/opt/Spark/.install4j/MessagesDefault
/opt/Spark/.install4j/Spark.png
/opt/Spark/.install4j/build.uuid
/opt/Spark/.install4j/i4j_extf_0_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_10_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_11_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_12_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_13_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_14_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_15_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_16_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_17_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_18_3wlfya_bndrky.png
/opt/Spark/.install4j/i4j_extf_19_3wlfya_y3ga2s.png
/opt/Spark/.install4j/i4j_extf_1_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_20_3wlfya_18gg8kx.png
/opt/Spark/.install4j/i4j_extf_20_3wlfya_18gg8kx@2x.png
/opt/Spark/.install4j/i4j_extf_20_3wlfya_18gg8kx@2x_dark.png
/opt/Spark/.install4j/i4j_extf_20_3wlfya_18gg8kx_dark.png
/opt/Spark/.install4j/i4j_extf_21_3wlfya_1mofcyi.png
/opt/Spark/.install4j/i4j_extf_2_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_3_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_4_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_5_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_6_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_7_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_8_3wlfya.utf8
/opt/Spark/.install4j/i4j_extf_9_3wlfya.utf8
/opt/Spark/.install4j/i4jempty.ttf
/opt/Spark/.install4j/i4jparams.conf
/opt/Spark/.install4j/i4jruntime.jar
/opt/Spark/.install4j/launcher4042238b.jar
/opt/Spark/.install4j/launcher5cd2e029.jar
/opt/Spark/Spark
/opt/Spark/bin
/opt/Spark/bin/startup.sh
/opt/Spark/documentation
/opt/Spark/documentation/LICENSE.html
/opt/Spark/documentation/README.html
/opt/Spark/documentation/builder.jar
/opt/Spark/documentation/changelog.html
/opt/Spark/documentation/changes.xsl
/opt/Spark/documentation/ide-eclipse-setup.html
/opt/Spark/documentation/ide-intellij-setup.html
/opt/Spark/documentation/ide-vscode-setup.html
/opt/Spark/documentation/images
/opt/Spark/documentation/images/IntelliJ-1.JPG
/opt/Spark/documentation/images/IntelliJ-10.JPG
/opt/Spark/documentation/images/IntelliJ-2.JPG
/opt/Spark/documentation/images/IntelliJ-3.JPG
/opt/Spark/documentation/images/IntelliJ-4.JPG
/opt/Spark/documentation/images/IntelliJ-5.JPG
/opt/Spark/documentation/images/IntelliJ-6.JPG
/opt/Spark/documentation/images/IntelliJ-7.JPG
/opt/Spark/documentation/images/IntelliJ-8.JPG
/opt/Spark/documentation/images/IntelliJ-9.JPG
/opt/Spark/documentation/images/VSCode-1.png
/opt/Spark/documentation/images/VSCode-2.png
/opt/Spark/documentation/images/VSCode-3.png
/opt/Spark/documentation/images/VSCode-4.png
/opt/Spark/documentation/images/VSCode-5.png
/opt/Spark/documentation/images/VSCode-6.png
/opt/Spark/documentation/images/banner-spark.gif
/opt/Spark/documentation/images/banner-spring.gif
/opt/Spark/documentation/images/chat-room.png
/opt/Spark/documentation/images/contact-list.png
/opt/Spark/documentation/images/eclipse-maven-step-1.png
/opt/Spark/documentation/images/eclipse-maven-step-2.png
/opt/Spark/documentation/images/eclipse-maven-step-3.png
/opt/Spark/documentation/images/eclipse-maven-step-4.png
/opt/Spark/documentation/images/eclipse-maven-step-5.png
/opt/Spark/documentation/images/eclipse-maven-step-6.png
/opt/Spark/documentation/images/login-dialog.png
/opt/Spark/documentation/sample_plugin_repository.xml
/opt/Spark/documentation/spark guide
/opt/Spark/documentation/spark guide/Spark.default.properties.guide.html
/opt/Spark/documentation/spark guide/images
/opt/Spark/documentation/spark guide/images/filelist.xml
/opt/Spark/documentation/spark guide/images/image001.png
/opt/Spark/documentation/spark guide/images/image003.png
/opt/Spark/documentation/spark guide/images/image005.png
/opt/Spark/documentation/spark guide/images/image007.png
/opt/Spark/documentation/spark guide/images/image009.png
/opt/Spark/documentation/spark guide/images/image011.png
/opt/Spark/documentation/spark guide/images/image013.png
/opt/Spark/documentation/spark guide/images/image015.png
/opt/Spark/documentation/spark guide/images/image017.png
/opt/Spark/documentation/spark guide/images/image019.png
/opt/Spark/documentation/spark guide/images/image021.png
/opt/Spark/documentation/spark guide/images/image023.png
/opt/Spark/documentation/spark guide/images/image025.png
/opt/Spark/documentation/spark guide/images/image027.png
/opt/Spark/documentation/spark guide/images/image029.png
/opt/Spark/documentation/spark guide/images/image031.png
/opt/Spark/documentation/spark guide/images/image033.png
/opt/Spark/documentation/sparkplug_compile.html
/opt/Spark/documentation/sparkplug_dev_guide.html
/opt/Spark/documentation/style.css
/opt/Spark/lib
/opt/Spark/lib/LoboBrowser-1.0.0.jar
/opt/Spark/lib/bcpkix-jdk15on-1.70.jar
/opt/Spark/lib/bcprov-jdk15on-1.70.jar
/opt/Spark/lib/bctls-jdk15on-1.70.jar
/opt/Spark/lib/bcutil-jdk15on-1.70.jar
/opt/Spark/lib/commons-lang3-3.12.0.jar
/opt/Spark/lib/dom4j-2.1.3.jar
/opt/Spark/lib/flatlaf-2.6.jar
/opt/Spark/lib/hsluv-0.2.jar
/opt/Spark/lib/httpclient5-5.2.1.jar
/opt/Spark/lib/httpcore5-5.2.jar
/opt/Spark/lib/httpcore5-h2-5.2.jar
/opt/Spark/lib/install4j-runtime-10.0.4.jar
/opt/Spark/lib/javax.activation-api-1.2.0.jar
/opt/Spark/lib/jaxb-api-2.3.1.jar
/opt/Spark/lib/jaxen-1.2.0.jar
/opt/Spark/lib/jna-5.12.1.jar
/opt/Spark/lib/jna-platform-5.12.1.jar
/opt/Spark/lib/jxmpp-core-1.0.3.jar
/opt/Spark/lib/jxmpp-jid-1.0.3.jar
/opt/Spark/lib/jxmpp-util-cache-1.0.3.jar
/opt/Spark/lib/linux
/opt/Spark/lib/linux/libcivil.so
/opt/Spark/lib/linux/libjnawtrenderer.so
/opt/Spark/lib/linux/libjnffmpeg.so
/opt/Spark/lib/linux/libjng722.so
/opt/Spark/lib/linux/libjnopus.so
/opt/Spark/lib/linux/libjnportaudio.so
/opt/Spark/lib/linux/libjnpulseaudio.so
/opt/Spark/lib/linux/libjnscreencapture.so
/opt/Spark/lib/linux/libjnspeex.so
/opt/Spark/lib/linux/libjnvideo4linux2.so
/opt/Spark/lib/linux/libjnvpx.so
/opt/Spark/lib/linux64
/opt/Spark/lib/linux64/libcivil.so
/opt/Spark/lib/linux64/libjnawtrenderer.so
/opt/Spark/lib/linux64/libjnffmpeg.so
/opt/Spark/lib/linux64/libjng722.so
/opt/Spark/lib/linux64/libjnopus.so
/opt/Spark/lib/linux64/libjnportaudio.so
/opt/Spark/lib/linux64/libjnpulseaudio.so
/opt/Spark/lib/linux64/libjnscreencapture.so
/opt/Spark/lib/linux64/libjnspeex.so
/opt/Spark/lib/linux64/libjnvideo4linux2.so
/opt/Spark/lib/linux64/libjnvpx.so
/opt/Spark/lib/linux64/libodbc.so
/opt/Spark/lib/linux64/libodbcinst.so
/opt/Spark/lib/minidns-core-1.0.4.jar
/opt/Spark/lib/mxparser-1.2.2.jar
/opt/Spark/lib/slf4j-api-1.8.0-beta4.jar
/opt/Spark/lib/smack-core-4.4.6.jar
/opt/Spark/lib/smack-debug-4.4.6.jar
/opt/Spark/lib/smack-debug-slf4j-4.4.6.jar
/opt/Spark/lib/smack-experimental-4.4.6.jar
/opt/Spark/lib/smack-extensions-4.4.6.jar
/opt/Spark/lib/smack-im-4.4.6.jar
/opt/Spark/lib/smack-java8-4.4.6.jar
/opt/Spark/lib/smack-legacy-4.4.6.jar
/opt/Spark/lib/smack-resolver-javax-4.4.6.jar
/opt/Spark/lib/smack-sasl-javax-4.4.6.jar
/opt/Spark/lib/smack-streammanagement-4.4.6.jar
/opt/Spark/lib/smack-tcp-4.4.6.jar
/opt/Spark/lib/smack-xmlparser-4.4.6.jar
/opt/Spark/lib/smack-xmlparser-stax-4.4.6.jar
/opt/Spark/lib/spark-core-3.0.2.jar
/opt/Spark/lib/swingx-all-1.6.5-1.jar
/opt/Spark/lib/thumbnailator-0.4.18.jar
/opt/Spark/lib/xmlpull-1.1.3.1.jar
/opt/Spark/lib/xstream-1.4.20.jar
/opt/Spark/plugins
/opt/Spark/plugins/fastpath.jar
/opt/Spark/plugins/fileupload.jar
/opt/Spark/plugins/meet.jar
/opt/Spark/plugins/reversi.jar
/opt/Spark/plugins/roar.jar
/opt/Spark/plugins/spelling.jar
/opt/Spark/plugins/tictactoe.jar
/opt/Spark/plugins/transferguard.jar
/opt/Spark/plugins/translator.jar
/opt/Spark/resources
/opt/Spark/resources/Info.plist
/opt/Spark/resources/jniwrap.dll
/opt/Spark/resources/jniwrap.lic
/opt/Spark/resources/sounds
/opt/Spark/resources/sounds/bell.wav
/opt/Spark/resources/sounds/chat_request.wav
/opt/Spark/resources/sounds/incoming.wav
/opt/Spark/resources/sounds/outgoing.wav
/opt/Spark/resources/sounds/presence_changed.wav
/opt/Spark/resources/startup.bat
/opt/Spark/resources/startup.sh
/opt/Spark/resources/systeminfo.dll
/opt/Spark/starter
/opt/Spark/xtra
/opt/Spark/xtra/emoticons
/opt/Spark/xtra/emoticons/Default.adiumemoticonset.zip
/opt/Spark/xtra/emoticons/GTalk.AdiumEmoticonset.zip
/opt/Spark/xtra/emoticons/POPO.adiumemoticonset.zip
/opt/Spark/xtra/emoticons/sparkEmoticonSet.zip

As you can see a lot of garbage:

  • /opt/Spark/.install4j not sure why it’s here. The installer is not needed.
  • systeminfo.dll this is a Windows DLL
  • /opt/Spark/documentation/ not really needed

Also we should add Java to dependency of the spark.deb like
Depends: default-jre | java8-runtime.
The description of the package is empty.
Currently the deb package is built with install4j but maybe we can use a debhelper directly?

Unfortunately, .install4j files cannot be excluded, but dll and documentation can be excluded.

I also added default-jre to the Debian package.

I created a task for this. - [SPARK-2346] - Ignite Realtime Jira

Can you test this on the latest test build?