mkevenaar / chocolatey-packages

My chocolatey packages
https://mkevenaar.github.io/chocolatey-packages/
Apache License 2.0
42 stars 70 forks source link

[spark] Installs 32-bit version even on 64-bit systems / no "online" installer option #208

Open zippydan opened 1 year ago

zippydan commented 1 year ago

Works fine for me on 64-bit Windows 10 Pro 22H2 (logged in as local Administrator) as of Sept 14, 2023 and Spark version 3.0.2.

However, there are two problems.

  1. This is installing the 32-bit package of Spark even though a 64-bit package is available and I am running a 64-bit OS. It seems the script should detect the current OS and install the appropriate version. At the very least there should be a switch to select the preferred version.
  2. This is installing the "offline" package with the JRE included. Since I am already using the microsoft-jdk package, it would be nice if there was an option to download and install the "online" package which is available for both 32-bit and 64-bit versions of Spark. Perhaps this can be accomplished with a command line switch?