You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by Steve Pruitt <bp...@opentext.com> on 2019/04/16 13:14:02 UTC
Docker build error
I seem to have gotten far into the build, but I have an error. Not sure how much console to show. Below is what I think is relevant.
Thanks.
Step 18/24 : WORKDIR /usr/share
---> Running in 5a11d8ec785a
Removing intermediate container 5a11d8ec785a
---> 53c9286ea710
Step 19/24 : RUN curl -o /opt/src/spark-$SPARK_VERSION.tgz http://www-us.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop2.7.tgz && tar zxvf /opt/src/spark-$SPARK_VERSION.tgz && echo "SPARK_HOME="`pwd`/`ls -d spark*` >> /etc/predictionio/pio-env.sh && rm -rf /opt/src
---> Running in 17070916feb9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 250 100 250 0 0 1058 0 --:--:-- --:--:-- --:--:-- 1059
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c curl -o /opt/src/spark-$SPARK_VERSION.tgz http://www-us.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop2.7.tgz && tar zxvf /opt/src/spark-$SPARK_VERSION.tgz && echo "SPARK_HOME="`pwd`/`ls -d spark*` >> /etc/predictionio/pio-env.sh && rm -rf /opt/src' returned a non-zero code: 2
-S
RE: Docker build error
Posted by Steve Pruitt <bp...@opentext.com>.
Fixed. Dockerfile has a Spark version that is not available on download site.
From: Steve Pruitt <bp...@opentext.com>
Sent: Tuesday, April 16, 2019 9:14 AM
To: user@predictionio.apache.org
Subject: [EXTERNAL] - Docker build error
I seem to have gotten far into the build, but I have an error. Not sure how much console to show. Below is what I think is relevant.
Thanks.
Step 18/24 : WORKDIR /usr/share
---> Running in 5a11d8ec785a
Removing intermediate container 5a11d8ec785a
---> 53c9286ea710
Step 19/24 : RUN curl -o /opt/src/spark-$SPARK_VERSION.tgz http://www-us.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop2.7.tgz && tar zxvf /opt/src/spark-$SPARK_VERSION.tgz && echo "SPARK_HOME="`pwd`/`ls -d spark*` >> /etc/predictionio/pio-env.sh && rm -rf /opt/src
---> Running in 17070916feb9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 250 100 250 0 0 1058 0 --:--:-- --:--:-- --:--:-- 1059
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c curl -o /opt/src/spark-$SPARK_VERSION.tgz http://www-us.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop2.7.tgz && tar zxvf /opt/src/spark-$SPARK_VERSION.tgz && echo "SPARK_HOME="`pwd`/`ls -d spark*` >> /etc/predictionio/pio-env.sh && rm -rf /opt/src' returned a non-zero code: 2
-S