Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubernetes/db/ignite/ignite-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
serviceAccountName: ignite
containers:
- name: ignite-node
image: apacheignite/ignite:2.8.1
image: apacheignite/ignite:2.10.0
env:
- name: OPTION_LIBS
value: ignite-kubernetes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me validate this using your branch in Jenkins.

Expand Down
2 changes: 1 addition & 1 deletion lib/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Dockerfile for Ignite

FROM apacheignite/ignite:2.8.1
FROM apacheignite/ignite:2.10.0

MAINTAINER Liguang Xie <lxie@futurewei.com>

Copy link
Contributor

@pkommoju pkommoju Oct 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jenkins uses lib/ignite.Docker file. It needs to be changed.
Another thing to check is if control.sh, ignite.sh etc., have changed syntax of the commands we use. They tend to change.

apache ignite 2.10.0 is not available as zip file. It is available as .rpm file. Perhaps moving to 2.11.0, which is available as zip file and compatible with 2.9 is better option.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apache ignite 2.10.0 is not available as zip file. It is available as .rpm file. Perhaps moving to 2.11.0, which is available as zip file and compatible with 2.9 is better option.

2.10.0 zip is here: https://ignite.apache.org/download.cgi
2.11.0 is just released two weeks ago. Let us wait some time to let it cool down.

Expand Down
12 changes: 6 additions & 6 deletions lib/ignite.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM ubuntu

MAINTAINER xzhang2 <xzhang2@futurewei.com>
MAINTAINER Liguang Xie <lxie@futurewei.com>

EXPOSE 10800
EXPOSE 10081
Expand All @@ -25,11 +25,11 @@ RUN apt-get update && apt-get install -y \
wget openjdk-11-jdk unzip \
&& mkdir /code \
&& cd /code/ \
&& wget https://downloads.apache.org//ignite/2.9.1/apache-ignite-2.9.1-bin.zip \
&& unzip -d . apache-ignite-2.9.1-bin.zip \
&& cd apache-ignite-2.9.1-bin/bin \
&& wget https://archive.apache.org/dist/ignite/2.10.0/apache-ignite-2.10.0-bin.zip \
&& unzip -d . apache-ignite-2.10.0-bin.zip \
&& cd apache-ignite-2.10.0-bin/bin \
&& echo '<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"><bean class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="peerClassLoadingEnabled" value="true"/> </bean></beans>' > config.xml

COPY ./target/common-0.1.0-SNAPSHOT.jar /code/apache-ignite-2.9.1-bin/libs/common-0.1.0-SNAPSHOT.jar
COPY ./target/common-0.1.0-SNAPSHOT.jar /code/apache-ignite-2.10.0-bin/libs/common-0.1.0-SNAPSHOT.jar

ENTRYPOINT /code/apache-ignite-2.9.1-bin/bin/ignite.sh /code/apache-ignite-2.9.1-bin/bin/config.xml
ENTRYPOINT /code/apache-ignite-2.10.0-bin/bin/ignite.sh /code/apache-ignite-2.10.0-bin/bin/config.xml
2 changes: 1 addition & 1 deletion lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Copyright(c) 2020 Futurewei Cloud
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-core</artifactId>
<version>2.9.0</version>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>ai.grakn</groupId>
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
CtrlContainer="alcor-controller"
RedisContainer="alcor-redis"
IgniteContainer="alcor-ignite"
IgniteImage="apacheignite/ignite:2.8.1"
IgniteImage="apacheignite/ignite:2.10.0"
DbType="redis"

# Parse all params
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

d="$(docker ps -a |grep ignite|wc -l)"
if [ $d -eq 0 ]; then
docker run -p 10800:10800 --name ignite -d apacheignite/ignite:2.8.1
docker run -p 10800:10800 --name ignite -d apacheignite/ignite:2.10.0
fi
d="$(docker ps |grep ignite|wc -l)"
if [ $d -ne 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion services/node_manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Copyright(c) 2020 Futurewei Cloud

<properties>
<java.version>11</java.version>
<ignite.version>2.8.1</ignite.version>
<ignite.version>2.10.0</ignite.version>
<swagger.output.dir>${project.build.directory}/swagger</swagger.output.dir>
<swagger2markup.version>1.2.0</swagger2markup.version>
</properties>
Expand Down