Skip to content

Commit

Permalink
Perlito5 - java - Spark wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fglock committed Oct 30, 2019
1 parent c7760b0 commit b32714b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion misc/Spark/README.md
@@ -1,6 +1,20 @@
Perlito + Spark
===============

Install or select Java 8
--------------

Spark requires Java 8

If you have previously compiled Perlito for a newer Java, you should probably
recompile for Java 8:

cd Perlito # Perlito source code directory
make clean
make
make test-5jar


Download and start Spark
--------------

Expand All @@ -10,6 +24,7 @@ get Spark from https://spark.apache.org/downloads.html
tar -xzvf spark-2.4.4-bin-hadoop2.7.tgz

export SPARK_HOME=spark-2.4.4-bin-hadoop2.7
export CLASSPATH=.:spark-2.4.4-bin-hadoop2.7/jars/*

$SPARK_HOME/sbin/start-master.sh
```
Expand Down Expand Up @@ -40,7 +55,6 @@ perl -c -I src5/lib/Perlito5X/Java misc/Spark/spark.pl
run:

```
export CLASSPATH=.:spark-2.4.4-bin-hadoop2.7/jars/*
java org.perlito.Perlito5.Main -I src5/lib misc/Spark/spark.pl 3
```
Expand Down

0 comments on commit b32714b

Please sign in to comment.