Skip to content

Commit

Permalink
Change oshinko version to v0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tmckayus committed Feb 26, 2018
1 parent 06fbba9 commit 7c3b156
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 12 deletions.
4 changes: 2 additions & 2 deletions image.java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ packages:
artifacts:
- url: https://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz
md5: 1715b661bdf33b40c98b3daa7837f690
- url: https://github.com/radanalyticsio/oshinko-cli/releases/download/v0.4.4/oshinko_v0.4.4_linux_amd64.tar.gz
md5: 4c75df234f55e6032c8bb7492953043b
- url: https://github.com/radanalyticsio/oshinko-cli/releases/download/v0.4.5/oshinko_v0.4.5_linux_amd64.tar.gz
md5: 4c947295bdd95ab4300ffdd60321ed8a
run:
user: 185
cmd:
Expand Down
4 changes: 2 additions & 2 deletions image.pyspark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ packages:
artifacts:
- url: https://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz
md5: 1715b661bdf33b40c98b3daa7837f690
- url: https://github.com/radanalyticsio/oshinko-cli/releases/download/v0.4.4/oshinko_v0.4.4_linux_amd64.tar.gz
md5: 4c75df234f55e6032c8bb7492953043b
- url: https://github.com/radanalyticsio/oshinko-cli/releases/download/v0.4.5/oshinko_v0.4.5_linux_amd64.tar.gz
md5: 4c947295bdd95ab4300ffdd60321ed8a
run:
user: 185
cmd:
Expand Down
4 changes: 2 additions & 2 deletions image.scala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ artifacts:
md5: e7e1f7ddc8873d228d611e801b8d2795
- url: http://dl.bintray.com/sbt/native-packages/sbt/0.13.13/sbt-0.13.13.tgz
md5: 30a238d1b0cc2821da2b9b4e830ef204
- url: https://github.com/radanalyticsio/oshinko-cli/releases/download/v0.4.4/oshinko_v0.4.4_linux_amd64.tar.gz
md5: 4c75df234f55e6032c8bb7492953043b
- url: https://github.com/radanalyticsio/oshinko-cli/releases/download/v0.4.5/oshinko_v0.4.5_linux_amd64.tar.gz
md5: 4c947295bdd95ab4300ffdd60321ed8a
run:
user: 185
cmd:
Expand Down
5 changes: 3 additions & 2 deletions java-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ LABEL name="$JBOSS_IMAGE_NAME" \
io.openshift.expose-services="8080:http" \
io.openshift.s2i.scripts-url="image:///usr/local/s2i" \
io.openshift.tags="builder,radanalytics,java_spark" \
io.radanalytics.sparkdistro="https://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz"
io.radanalytics.sparkdistro="https://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz" \
org.concrt.version="1.4.0"


USER root
Expand All @@ -51,7 +52,7 @@ RUN yum install -y epel-release tar wget \
# directory
COPY \
spark-2.2.0-bin-hadoop2.7.tgz \
oshinko_v0.4.4_linux_amd64.tar.gz \
oshinko_v0.4.5_linux_amd64.tar.gz \
/tmp/artifacts/

# Add scripts used to configure the image
Expand Down
Empty file removed java-build/scala-2.11.8.tgz
Empty file.
5 changes: 3 additions & 2 deletions pyspark-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ LABEL name="$JBOSS_IMAGE_NAME" \
io.openshift.expose-services="8080:http" \
io.openshift.s2i.scripts-url="image:///usr/libexec/s2i" \
io.openshift.tags="builder,radanalytics,pyspark" \
io.radanalytics.sparkdistro="https://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz"
io.radanalytics.sparkdistro="https://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz" \
org.concrt.version="1.4.0"


USER root
Expand All @@ -53,7 +54,7 @@ RUN yum install -y java-1.8.0-openjdk \
# directory
COPY \
spark-2.2.0-bin-hadoop2.7.tgz \
oshinko_v0.4.4_linux_amd64.tar.gz \
oshinko_v0.4.5_linux_amd64.tar.gz \
/tmp/artifacts/

# Add scripts used to configure the image
Expand Down
3 changes: 3 additions & 0 deletions pyspark-build/modules/common/added/utils/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ else

if [ -n "$APP_MAIN_CLASS" ]; then
CLASS_OPTION="--class $APP_MAIN_CLASS"
elif [ "$(unzip -p $APP_ROOT/src/$APP_FILE META-INF/MANIFEST.MF | grep -i main-class)" ]; then
APP_MAIN_CLASS=$(unzip -p $APP_ROOT/src/$APP_FILE META-INF/MANIFEST.MF | grep -i main-class | cut -d ':' -f 2 | sed 's/\r//')
CLASS_OPTION="--class $APP_MAIN_CLASS"
fi
echo spark-submit $CLASS_OPTION --master $master $SPARK_OPTIONS $APP_ROOT/src/$APP_FILE $APP_ARGS
spark-submit $CLASS_OPTION --master $master $SPARK_OPTIONS $APP_ROOT/src/$APP_FILE $APP_ARGS &
Expand Down
Empty file.
Empty file.
Empty file removed pyspark-build/sbt-0.13.13.tgz
Empty file.
Empty file removed pyspark-build/scala-2.11.8.tgz
Empty file.
5 changes: 3 additions & 2 deletions scala-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ LABEL name="$JBOSS_IMAGE_NAME" \
io.openshift.expose-services="8080:http" \
io.openshift.s2i.scripts-url="image:///usr/local/s2i" \
io.openshift.tags="builder,radanalytics,scala_spark" \
io.radanalytics.sparkdistro="https://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz"
io.radanalytics.sparkdistro="https://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz" \
org.concrt.version="1.4.0"


USER root
Expand All @@ -52,7 +53,7 @@ RUN yum install -y epel-release git \
COPY \
scala-2.11.8.tgz \
sbt-0.13.13.tgz \
oshinko_v0.4.4_linux_amd64.tar.gz \
oshinko_v0.4.5_linux_amd64.tar.gz \
/tmp/artifacts/

# Add scripts used to configure the image
Expand Down
3 changes: 3 additions & 0 deletions scala-build/modules/common/added/utils/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ else

if [ -n "$APP_MAIN_CLASS" ]; then
CLASS_OPTION="--class $APP_MAIN_CLASS"
elif [ "$(unzip -p $APP_ROOT/src/$APP_FILE META-INF/MANIFEST.MF | grep -i main-class)" ]; then
APP_MAIN_CLASS=$(unzip -p $APP_ROOT/src/$APP_FILE META-INF/MANIFEST.MF | grep -i main-class | cut -d ':' -f 2 | sed 's/\r//')
CLASS_OPTION="--class $APP_MAIN_CLASS"
fi
echo spark-submit $CLASS_OPTION --master $master $SPARK_OPTIONS $APP_ROOT/src/$APP_FILE $APP_ARGS
spark-submit $CLASS_OPTION --master $master $SPARK_OPTIONS $APP_ROOT/src/$APP_FILE $APP_ARGS &
Expand Down
Empty file.
Empty file.
File renamed without changes.

0 comments on commit 7c3b156

Please sign in to comment.