You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by ap...@apache.org on 2016/06/27 19:31:20 UTC

[06/50] [abbrv] incubator-predictionio git commit: Revert "silently delete existing temp files before download again"

Revert "silently delete existing temp files before download again"

This reverts commit 31808e45b16995b9ea07f4fcda1093ecba295dfe.

Conflicts:
	bin/install.sh


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/9374f206
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/9374f206
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/9374f206

Branch: refs/heads/master
Commit: 9374f206a25db24b515ee877c292232977852692
Parents: 5732d48
Author: Donald Szeto <do...@prediction.io>
Authored: Thu Jan 28 17:46:38 2016 -0800
Committer: Donald Szeto <do...@prediction.io>
Committed: Thu Jan 28 17:46:38 2016 -0800

----------------------------------------------------------------------
 bin/install.sh | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9374f206/bin/install.sh
----------------------------------------------------------------------
diff --git a/bin/install.sh b/bin/install.sh
index 6f57171..73de6fd 100755
--- a/bin/install.sh
+++ b/bin/install.sh
@@ -303,9 +303,6 @@ mkdir ${vendors_dir}
 
 # Spark
 echo -e "\033[1;36mStarting Spark setup in:\033[0m $spark_dir"
-if [[ -e spark-${SPARK_VERSION}-bin-hadoop2.6.tgz ]]; then
-  rm spark-${SPARK_VERSION}-bin-hadoop2.6.tgz
-fi
 if [[ ! -e spark-${SPARK_VERSION}-bin-hadoop2.6.tgz ]]; then
   echo "Downloading Spark..."
   curl -O http://d3kbcqa49mib13.cloudfront.net/spark-${SPARK_VERSION}-bin-hadoop2.6.tgz
@@ -355,9 +352,6 @@ case $source_setup in
   "$ES_HB")
     # Elasticsearch
     echo -e "\033[1;36mStarting Elasticsearch setup in:\033[0m $elasticsearch_dir"
-    if [[ -e elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz ]]; then
-      rm elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz
-    fi
     if [[ ! -e elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz ]]; then
       echo "Downloading Elasticsearch..."
       curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz
@@ -382,9 +376,6 @@ case $source_setup in
 
     # HBase
     echo -e "\033[1;36mStarting HBase setup in:\033[0m $hbase_dir"
-    if [[ -e hbase-${HBASE_VERSION}-bin.tar.gz ]]; then
-      rm hbase-${HBASE_VERSION}-bin.tar.gz
-    fi
     if [[ ! -e hbase-${HBASE_VERSION}-bin.tar.gz ]]; then
       echo "Downloading HBase..."
       curl -O http://archive.apache.org/dist/hbase/hbase-${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz