Changeset 31051


Ignore:
Timestamp:
2016-11-03T13:46:49+13:00 (8 years ago)
Author:
davidb
Message:

Added in JDK to list of possible packages needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/packages/GET-PACKAGES.sh

    r30902 r31051  
    11#!/bin/bash
    22
     3get_jdk="n"
     4get_maven="n"
     5get_hadoop="n"
     6get_spark="y"
    37
    4 echo "***"
    5 echo "Maven 3.3.9"
    6 echo "***"
    7 wget http://www-us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
    8 echo "***"
    9 echo ""
    108
    11 echo "***"
    12 echo "Hadoop 2.7.3"
    13 echo "***"
    14 wget http://www-us.apache.org/dist/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz
    15 echo "***"
    16 echo ""
     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
    1717
    18 echo "***"
    19 echo "Spark 2.0.1"
    20 echo "***"
    21 wget http://d3kbcqa49mib13.cloudfront.net/spark-2.0.1-bin-hadoop2.7.tgz
    22 echo "***"
    23 echo ""
     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 TracChangeset for help on using the changeset viewer.