Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b572277
Update main screen.
Jun 14, 2022
52a5a1e
Update info for brew.
Jun 14, 2022
e534178
Merge branch 'master' into Brew-release
ghislainfourny Nov 7, 2022
2bb2b1b
Merge branch 'master' into Brew-release
ghislainfourny May 16, 2023
4dc86cd
Remove java version check because of Java 20 dependency on Brew.
May 17, 2023
8624aa6
Merge branch 'master' into Brew-release
ghislainfourny Feb 27, 2024
73fc48e
Merge branch 'master' into Brew-release
ghislainfourny Jul 12, 2024
364fbdf
Merge branch 'master' into Brew-release
ghislainfourny Oct 28, 2024
5d4a789
Merge branch 'master' into Brew-release
ghislainfourny Oct 28, 2024
8bec6de
Merge branch 'master' into Brew-release
ghislainfourny Oct 31, 2024
57b95a9
Merge pull request #1280 from RumbleDB/Spark3.5.0
ghislainfourny Oct 31, 2024
f142b7a
Merge branch 'master' into Brew-release
ghislainfourny Jul 10, 2025
7c5480a
Merge branch 'master' into Brew-release
ghislainfourny Aug 25, 2025
ddcb324
Merge branch 'master' into Brew-release
ghislainfourny Aug 27, 2025
fbba070
Merge branch 'master' into Brew-release
ghislainfourny Aug 28, 2025
874460e
Merge branch 'master' into Brew-release
ghislainfourny Aug 28, 2025
c689b47
Merge branch 'master' into Brew-release
ghislainfourny Sep 26, 2025
e17d89b
Merge branch 'master' into Brew-release
ghislainfourny Oct 30, 2025
6d0176e
Merge branch 'master' into Brew-release
ghislainfourny Nov 20, 2025
2259b73
Merge branch 'master' into Brew-release
ghislainfourny Mar 13, 2026
e93412e
Merge branch 'master' into Brew-release
ghislainfourny Mar 19, 2026
46386e5
Merge branch 'master' into Brew-release
ghislainfourny Apr 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/main/java/org/rumbledb/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,6 @@ public class Main {
public static RumbleJLineShell terminal = null;

public static void main(String[] args) throws IOException {
String javaVersion = System.getProperty("java.version");
if (
!javaVersion.startsWith("17")
&& !javaVersion.startsWith("21")
) {
System.err.println("[Error] RumbleDB requires Java 17 or 21 (17 being the default Spark 4 version).");
System.err.println("Your Java version: " + System.getProperty("java.version"));
System.err.println("You can download Java 17 or 21 from https://adoptium.net/");
System.err.println(
"If you do have Java 17 or 21, but the wrong version appears above, then it means you need to set your JAVA_HOME environment variable properly to point to Java 17 or 21."
);
System.exit(43);
}
RumbleRuntimeConfiguration sparksoniqConf = null;
// Parse arguments
try {
Expand Down
33 changes: 8 additions & 25 deletions src/main/resources/assets/defaultscreen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you do not want to install Spark, then you need to use the standalone jar
instead from www.rumbledb.org.

Usage:
spark-submit <Spark arguments> <path to RumbleDB's jar> <mode> <parameters>
rumbledb <mode> <parameters>

The examples below assume the jar name is rumbledb.jar. You need to use
the actual name of the jar file you downloaded.
Expand All @@ -21,46 +21,29 @@ for directly running a query from an input file or (with -q) provided directly o

It is the default mode.

spark-submit rumbledb.jar run my-query.jq
spark-submit rumbledb.jar run -q '1+1'
rumbledb run my-query.jq
rumbledb run -q '1+1'

You can specify an output path with -o like so:
spark-submit rumbledb.jar run -q '1+1' -o my-output.txt
rumbledb run -q '1+1' -o my-output.txt

**** serve ****
for running as an HTTP server listening on the specified port (-p) and host (-h).

spark-submit rumbledb.jar serve -p 9090
rumbledb serve -p 9090

RumbleDB also supports Apache Livy for use in Jupyter notebooks, which may be
even more convenient if you are using a cluster.

**** repl ****
for shell mode.

spark-submit rumbledb.jar repl
rumbledb repl


**** resource use configuration ****

For a local use, you can control the number of cores, as well as allocated
memory, with:
spark-submit --master local[*] rumbledb.jar repl
spark-submit --master local[*] rumbledb.jar repl
spark-submit --master local[2] rumbledb.jar repl
spark-submit --master local[*] --driver-memory 10G rumbledb.jar repl

You can use RumbleDB remotely with:
spark-submit --master yarn rumbledb.jar repl

(Although for clusters provided as a service, --master yarn is often implicit
and unnecessary).

For remote use (e.g., logged in on the Spark cluster with ssh), you can set the
number of executors, cores and memory, you can use:
spark-submit --executor-cores 3 --executor-memory 5G rumbledb.jar repl

For remote use, you can also use other file system paths such as S3, HDFS, etc:
spark-submit rumbledb.jar run hdfs://server:port/my-query.jq -o hdfs://server:port/my-output.json
The homebrew edition of RumbleDB cannot change the number of cores or the memory allocation.
If you wish to do so, you could consider using the standalone RumbleDB jar.

More documentation on available CLI parameters is available on https://www.rumbledb.org/
Loading