This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
forked from Intel-bigdata/HiBench
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable spark 3.1 (Intel-bigdata#670)
* enable spark 3.1 Signed-off-by: minmingzhu <[email protected]> * enable spark 3.1 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update .travis.yml * update .travis.yml Signed-off-by: minmingzhu <[email protected]> * update .travis.yml Signed-off-by: minmingzhu <[email protected]> * update .travis.yml Signed-off-by: minmingzhu <[email protected]>
- Loading branch information
1 parent
af07288
commit 827c9f6
Showing
5 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
mvn clean package -q -Dmaven.javadoc.skip=true -Dspark=3.1 -Dscala=2.12 | ||
cp ./travis/hibench.conf ./conf/ | ||
cp ./travis/spark.conf ./conf/ | ||
cp ./travis/hadoop.conf ./conf/ | ||
cp ./travis/hadoop-layout.sh /opt/hadoop-3.2.1/libexec | ||
sed -i '1 i hibench.hadoop.home /opt/hadoop-3.2.1' ./conf/hadoop.conf | ||
sed -i '1 i hibench.spark.home /opt/spark-3.1.1-bin-hadoop3.2\nhibench.spark.version spark3.1' ./conf/spark.conf | ||
sed -i '1 i hibench.hadoop.examples.jar ${hibench.hadoop.home}/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.2.1.jar\nhibench.hadoop.examples.test.jar ${hibench.hadoop.home}/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-3.2.1-tests.jar\nhibench.hive.release apache-hive-3.0.0-bin' ./conf/hibench.conf | ||
sudo -E ./travis/configssh.sh | ||
sudo -E ./travis/restart_hadoop_spark.sh | ||
${HADOOP_HOME}/bin/yarn node -list 2 | ||
sudo -E ./bin/run_all.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
echo "export HADOOP_HOME=/opt/hadoop-3.2.1" >> ~/.bashrc | ||
echo "export SPARK_HOME=/opt/spark-3.1.1-bin-hadoop3.2" >> ~/.bashrc | ||
echo "source /opt/hadoop-3.2.1/libexec/hadoop-layout.sh" >> ~/.bashrc | ||
echo "export JAVA_OPTS=-Xmx512m" >> ~/.bashrc | ||
source ~/.bashrc |