Skip to content

Commit

Permalink
HDDS-8247. Run acceptance tests with JDK 17 (apache#6428)
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai authored Mar 25, 2024
1 parent e39166f commit 77384ea
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 38 deletions.
2 changes: 1 addition & 1 deletion hadoop-ozone/dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<properties>
<file.encoding>UTF-8</file.encoding>
<downloadSources>true</downloadSources>
<docker.ozone-runner.version>20230615-1</docker.ozone-runner.version>
<docker.ozone-runner.version>20240316-jdk17-1</docker.ozone-runner.version>
<docker.ozone-testkr5b.image>apache/ozone-testkrb5:20230318-1</docker.ozone-testkr5b.image>
<maven.test.skip>true</maven.test.skip> <!-- no tests in this module so far -->
</properties>
Expand Down
16 changes: 0 additions & 16 deletions hadoop-ozone/dist/src/main/compose/ozone-om-ha/.ssh/environment

This file was deleted.

3 changes: 2 additions & 1 deletion hadoop-ozone/dist/src/main/compose/ozone-om-ha/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ RUN sudo chown hadoop /opt
RUN sudo chmod 600 /opt/.ssh/*
RUN sudo chmod 700 /opt/.ssh

RUN sudo sh -c 'echo "export JAVA_HOME=/usr/lib/jvm/jre/" >> /etc/profile'
RUN echo "export JAVA_HOME=$JAVA_HOME" | sudo sh -c 'cat >> /etc/profile'
RUN echo "JAVA_HOME=$JAVA_HOME" | sh -c 'cat >> /opt/.ssh/environment'

# Install required robot framework libraries
RUN sudo pip3 install robotframework-sshlibrary
Expand Down
16 changes: 0 additions & 16 deletions hadoop-ozone/dist/src/main/compose/ozonescripts/.ssh/environment

This file was deleted.

4 changes: 3 additions & 1 deletion hadoop-ozone/dist/src/main/compose/ozonescripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ RUN sudo chown hadoop /opt
RUN sudo chmod 600 /opt/.ssh/*
RUN sudo chmod 700 /opt/.ssh

RUN sudo sh -c 'echo "export JAVA_HOME=/usr/lib/jvm/jre/" >> /etc/profile'
RUN echo "export JAVA_HOME=$JAVA_HOME" | sudo sh -c 'cat >> /etc/profile'
RUN echo "JAVA_HOME=$JAVA_HOME" | sh -c 'cat >> /opt/.ssh/environment'

CMD ["sudo","/usr/sbin/sshd","-D"]
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ KMS-SITE.XML_hadoop.kms.proxyuser.s3g.hosts=*
#BYTEMAN_SCRIPT_URL=https://raw.githubusercontent.com/apache/hadoop/trunk/dev-support/byteman/hadooprpc.btm

OZONE_DATANODE_SECURE_USER=root
JAVA_HOME=/usr/lib/jvm/jre
JSVC_HOME=/usr/bin

OZONE_CONF_DIR=/etc/hadoop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ CORE-SITE.XML_hadoop.security.authorization=false
#BYTEMAN_SCRIPT_URL=https://raw.githubusercontent.com/apache/hadoop/trunk/dev-support/byteman/hadooprpc.btm

OZONE_DATANODE_SECURE_USER=root
JAVA_HOME=/usr/lib/jvm/jre
JSVC_HOME=/usr/bin

OZONE_CLASSPATH=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ KMS-SITE.XML_hadoop.kms.proxyuser.s3g.hosts=*
#BYTEMAN_SCRIPT_URL=https://raw.githubusercontent.com/apache/hadoop/trunk/dev-support/byteman/hadooprpc.btm

OZONE_DATANODE_SECURE_USER=root
JAVA_HOME=/usr/lib/jvm/jre
JSVC_HOME=/usr/bin

OZONE_CONF_DIR=/etc/hadoop
Expand Down

0 comments on commit 77384ea

Please sign in to comment.