-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from RADAR-base/dev
Release 2.0.2
- Loading branch information
Showing
10 changed files
with
81 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
ARG BASE_VERSION=3.0.3-alpine | ||
FROM smizy/hadoop-base:${BASE_VERSION} | ||
|
||
ENV HADOOP_DFS_NAME_DIR file://hadoop/dfs/name | ||
ENV HADOOP_DFS_NAME_DIR file:///hadoop/dfs/name | ||
ENV HADOOP_DFS_DATA_DIR file:///hadoop/dfs/data | ||
|
||
COPY ./hdfs-site.xml.mustache ${HADOOP_CONF_DIR}/ | ||
COPY ./entrypoint.sh /usr/local/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 8 additions & 13 deletions
21
dcompose-stack/radar-cp-hadoop-stack/images/radar-kafka-init/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
FROM openjdk:8-alpine | ||
FROM openjdk:11-jdk-slim | ||
|
||
MAINTAINER Joris Borgdorff <[email protected]> | ||
LABEL authors="Joris Borgdorff<[email protected]>,Yatharth Ranjan<[email protected]>" | ||
|
||
ENV KAFKA_SCHEMA_REGISTRY=http://schema-registry-1:8081 | ||
ENV KAFKA_NUM_PARTITIONS=3 | ||
ENV KAFKA_NUM_REPLICATION=2 | ||
ENV KAFKA_NUM_BROKERS=3 | ||
ENV KAFKA_ZOOKEEPER_CONNECT=zookeeper-1:2181 | ||
|
||
RUN apk add --no-cache \ | ||
bash \ | ||
curl \ | ||
rsync \ | ||
tar | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
curl \ | ||
rsync \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /schema/merged /schema/java/src /schema/java/classes /usr/share/java | ||
|
||
WORKDIR /schema | ||
|
||
ENV JQ_VERSION=1.5 | ||
RUN curl -L#o /usr/bin/jq https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 \ | ||
&& chmod +x /usr/bin/jq | ||
RUN curl -#o /usr/share/java/avro-tools.jar \ | ||
"$(curl -s http://www.apache.org/dyn/closer.cgi/avro/\?as_json \ | ||
| jq --raw-output ".preferred")avro/avro-1.8.2/java/avro-tools-1.8.2.jar" | ||
"http://archive.apache.org/dist/avro/avro-1.8.2/java/avro-tools-1.8.2.jar" | ||
|
||
ARG SCHEMAS_VERSION=0.4.2 | ||
ARG SCHEMAS_VERSION=0.5.1 | ||
|
||
ENV RADAR_SCHEMAS_VERSION=${SCHEMAS_VERSION} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters