Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java17 DRAFT #3924

Draft
wants to merge 10 commits into
base: beta
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 6 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:
- development
- master
- lineageondemand
- java17

jobs:
build:
Expand All @@ -35,10 +36,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up JDK 1.8
- name: Set up JDK 1.17
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 1.17

- name: Print JDK version
run: java -version

- name: Cache Maven packages
uses: actions/cache@v2
Expand Down
17 changes: 3 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,37 +29,26 @@ RUN apt-get update \
&& apt-get -y install \
wget \
python2 \
openjdk-8-jdk-headless \
openjdk-17-jdk-headless \
patch \
netcat \
curl \
&& cd / \
&& export MAVEN_OPTS="-Xms2g -Xmx2g" \
&& export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64" \
&& export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64" \
&& tar -xzvf /apache-atlas-3.0.0-SNAPSHOT-server.tar.gz -C /opt \
&& mv /opt/apache-atlas-${VERSION} /opt/apache-atlas \
&& apt-get clean \
&& rm -rf /apache-atlas-3.0.0-SNAPSHOT-server.tar.gz

# Copy the repair index jar file
RUN cd / \
&& wget https://atlan-build-artifacts.s3.ap-south-1.amazonaws.com/atlas/atlas-index-repair-tool-${VERSION}.tar.gz \
&& tar -xzvf /atlas-index-repair-tool-${VERSION}.tar.gz \
&& mkdir /opt/apache-atlas/libext \
&& mv /atlas-index-repair-tool-${VERSION}.jar /opt/apache-atlas/libext/ \
&& rm -rf /atlas-index-repair-tool-${VERSION}.tar.gz

RUN ln -s /usr/bin/python2 /usr/bin/python

COPY atlas-hub/repair_index.py /opt/apache-atlas/bin/

RUN chmod +x /opt/apache-atlas/bin/repair_index.py

COPY atlas-hub/atlas_start.py.patch atlas-hub/atlas_config.py.patch /opt/apache-atlas/bin/
COPY atlas-hub/pre-conf/atlas-log4j.xml /opt/apache-atlas/conf/
COPY atlas-hub/pre-conf/atlas-log4j2.xml /opt/apache-atlas/conf/
COPY atlas-hub/pre-conf/atlas-auth/ /opt/apache-atlas/conf/

RUN mkdir /opt/apache-atlas/libext
RUN curl https://repo1.maven.org/maven2/org/jolokia/jolokia-jvm/1.6.2/jolokia-jvm-1.6.2-agent.jar -o /opt/apache-atlas/libext/jolokia-jvm-agent.jar

RUN cd /opt/apache-atlas/bin \
Expand Down
77 changes: 0 additions & 77 deletions addons/falcon-bridge-shim/pom.xml

This file was deleted.

This file was deleted.

Loading
Loading