root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/packages/GET-PACKAGES.sh @ 31051

Revision 31051, 0.9 KB (checked in by davidb, 3 years ago)

Added in JDK to list of possible packages needed

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3get_jdk="n"
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  echo "***"
42  echo ""
43fi
Note: See TracBrowser for help on using the browser.