update docker files
Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/48e18b56 Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/48e18b56 Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/48e18b56 Branch: refs/heads/feature/es5 Commit: 48e18b566f58a0b25e79129c7a2b75b9d775ab3e Parents: d4e75ab Author: Shinsuke Sugaya <[email protected]> Authored: Mon Jan 16 19:27:58 2017 +0900 Committer: Shinsuke Sugaya <[email protected]> Committed: Mon Jan 16 19:27:58 2017 +0900 ---------------------------------------------------------------------- tests/Dockerfile | 4 ++-- tests/docker-files/env-conf/pio-env.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/48e18b56/tests/Dockerfile ---------------------------------------------------------------------- diff --git a/tests/Dockerfile b/tests/Dockerfile index a455d5d..1f87554 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -18,7 +18,7 @@ from ubuntu ENV SPARK_VERSION 1.4.0 -ENV ELASTICSEARCH_VERSION 1.4.4 +ENV ELASTICSEARCH_VERSION 5.1.2 ENV HBASE_VERSION 1.0.0 RUN echo "== Updating system ==" @@ -48,7 +48,7 @@ RUN rm spark-${SPARK_VERSION}-bin-hadoop2.6.tgz ENV SPARK_HOME /vendors/spark-${SPARK_VERSION}-bin-hadoop2.6 RUN echo "== Installing Elasticsearch ==" -RUN wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz +RUN wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz RUN tar zxvfC elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz /vendors RUN rm elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz ENV ELASTICSEARCH_HOME /vendors/elasticsearch-${ELASTICSEARCH_VERSION} http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/48e18b56/tests/docker-files/env-conf/pio-env.sh ---------------------------------------------------------------------- diff --git a/tests/docker-files/env-conf/pio-env.sh b/tests/docker-files/env-conf/pio-env.sh index 4ffec46..7ea2164 100644 --- a/tests/docker-files/env-conf/pio-env.sh +++ b/tests/docker-files/env-conf/pio-env.sh @@ -85,9 +85,9 @@ PIO_STORAGE_SOURCES_PGSQL_PASSWORD=pio # Elasticsearch Example PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch -#PIO_STORAGE_SOURCES_ELASTICSEARCH_CLUSTERNAME=pio PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost -PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300 +PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9200 +PIO_STORAGE_SOURCES_ELASTICSEARCH_SCHEMES=http PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=$ELASTICSEARCH_HOME # Local File System Example
