source: other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/GET-PACKAGES-SPARK.sh@ 31106

Last change on this file since 31106 was 31079, checked in by davidb, 5 years ago

Useful get started scripts

  • Property svn:executable set to *
File size: 951 bytes
Line 
1#!/bin/bash
2
3get_jdk="y"
4get_maven="n"
5get_hadoop="n"
6get_spark="y"
7
8
9if [ $get_jdk = "y" ] ; then
10 echo "***"
11 echo "Java JDK 1.8"
12 echo "***"
13 wget http://www.java.net/download/java/jdk8u122/archive/b04/binaries/jdk-8u122-ea-bin-b04-linux-arm64-vfp-hflt-25_oct_2016.tar.gz
14 echo "***"
15 echo ""
16fi
17
18if [ $get_maven = "y" ] ; then
19 echo "***"
20 echo "Maven 3.3.9"
21 echo "***"
22 wget http://www-us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
23 echo "***"
24 echo ""
25fi
26
27if [ $get_hadoop = "y" ] ; then
28 echo "***"
29 echo "Hadoop 2.7.3"
30 echo "***"
31 wget http://www-us.apache.org/dist/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz
32 echo "***"
33 echo ""
34fi
35
36if [ $get_spark = "y" ] ; then
37 echo "***"
38 echo "Spark 2.0.1"
39 echo "***"
40# wget http://d3kbcqa49mib13.cloudfront.net/spark-2.0.1-bin-hadoop2.7.tgz
41 wget http://d3kbcqa49mib13.cloudfront.net/spark-2.0.1-bin-hadoop2.6.tgz
42 echo "***"
43 echo ""
44fi
Note: See TracBrowser for help on using the repository browser.