Skip to content

Commit

Permalink
Upgrade vineyard to v0.2.5 (#466)
Browse files Browse the repository at this point in the history
* Upgrade vineyard to v0.2.5
* Update instructions for install apache-arrow.

Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
  • Loading branch information
sighingnow committed Jul 5, 2021
1 parent e0395fb commit 5508e6b
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run:
shell: scl enable devtoolset-7 -- bash --noprofile --norc -eo pipefail {0}
container:
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.2.3
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.2.5
options:
--shm-size 4096m
strategy:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
defaults:
run:
shell: scl enable devtoolset-7 -- bash --noprofile --norc -eo pipefail {0}
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.2.3
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.2.5
steps:
- name: Install Dependencies
run: |
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
defaults:
run:
shell: scl enable devtoolset-7 -- bash --noprofile --norc -eo pipefail {0}
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.2.3
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.2.5
steps:
- name: Install Dependencies
run: |
Expand Down Expand Up @@ -516,7 +516,7 @@ jobs:
defaults:
run:
shell: scl enable devtoolset-7 -- bash --noprofile --norc -eo pipefail {0}
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.2.3
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.2.5
steps:
- name: Install Dependencies
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
openjdk-8-jdk perl protobuf-compiler-grpc python3-pip uuid-dev wget zip zlib1g-dev
# install apache-arrow
wget https://apache.bintray.com/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb
sudo apt install -y -V ./apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb
sudo apt update
sudo apt install -y libarrow-dev=1.0.1-1 libarrow-python-dev=1.0.1-1
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
sudo apt update -y
sudo apt install -y libarrow-dev=3.0.0-1 libarrow-python-dev=3.0.0-1
# install zookeeper
wget https://archive.apache.org/dist/zookeeper/zookeeper-3.4.14/zookeeper-3.4.14.tar.gz
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Install libvineyard
run: |
git clone -b main-v0.2.3 --single-branch --depth=1 https://github.com/alibaba/libvineyard.git
git clone -b main-v0.2.5 --single-branch --depth=1 https://github.com/alibaba/libvineyard.git
cd libvineyard
git submodule update --init
mkdir build && pushd build
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ endif ()
find_package(libgrapelite REQUIRED)
include_directories(${LIBGRAPELITE_INCLUDE_DIRS})

find_package(vineyard 0.2.3 REQUIRED)
find_package(vineyard 0.2.5 REQUIRED)
include_directories(${VINEYARD_INCLUDE_DIRS})
add_compile_options(-DENABLE_SELECTOR)

Expand Down
2 changes: 1 addition & 1 deletion coordinator/gscoordinator/template/CMakeLists.template
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ set(CMAKE_THREAD_PREFER_PTHREAD ON)
find_package(Threads REQUIRED)

# find vineyard-----------------------------------------------------------------
find_package(vineyard 0.2.3 REQUIRED)
find_package(vineyard 0.2.5 REQUIRED)
include_directories(${VINEYARD_INCLUDE_DIRS})
add_compile_options(-DENABLE_SELECTOR)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ find_package(Threads REQUIRED)
# we need edge src/dst ids in etable.
add_definitions(-DENDPOINT_LISTS)

find_package(vineyard 0.2.3 REQUIRED)
find_package(vineyard 0.2.5 REQUIRED)
add_library(native_store global_store_ffi.cc
htap_ds_impl.cc
graph_builder_ffi.cc
Expand Down
2 changes: 1 addition & 1 deletion k8s/graphscope-store.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_VERSION=v0.2.3
ARG BASE_VERSION=v0.2.5
FROM registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:$BASE_VERSION as builder

ARG CI=true
Expand Down
2 changes: 1 addition & 1 deletion k8s/graphscope.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# the result image includes all runtime stuffs of graphscope, with analytical engine,
# learning engine and interactive engine installed.

ARG BASE_VERSION=v0.2.3
ARG BASE_VERSION=v0.2.5
FROM registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:$BASE_VERSION as builder

ARG CI=true
Expand Down
2 changes: 1 addition & 1 deletion k8s/gsvineyard.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN cd /tmp && \
make -j`nproc` && \
make install && \
cd /tmp && \
git clone -b v0.2.3 https://github.com/alibaba/libvineyard.git --depth=1 && \
git clone -b main-v0.2.5 https://github.com/alibaba/libvineyard.git --depth=1 && \
cd libvineyard && \
git submodule update --init && \
mkdir -p /tmp/libvineyard/build && \
Expand Down
12 changes: 6 additions & 6 deletions k8s/ubuntu/gsruntime.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ RUN apt update -y && apt install -y \
perl protobuf-compiler-grpc python3-pip sudo telnet uuid-dev vim wget zip zlib1g-dev && \
rm -fr /var/lib/apt/lists/*

# apache arrow 1.0.1
RUN wget https://apache.bintray.com/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb && \
apt update -y && \
apt install -y libarrow-dev=1.0.1-1 libarrow-python-dev=1.0.1-1 && \
rm -f ./apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb
# apache arrow 3.0.0
RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt update -y && \
apt install -y libarrow-dev=3.0.0-1 libarrow-python-dev=3.0.0-1 && \
rm ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb

# fmt v7.0.3, required by folly
RUN cd /tmp && \
Expand Down
4 changes: 2 additions & 2 deletions python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ pandas
protobuf>=3.12.0
PyYAML
scipy
vineyard==0.2.3
vineyard-io==0.2.3
vineyard>=0.2.5
vineyard-io>=0.2.5
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function install_libgrape-lite() {

function install_vineyard() {
echo "$(date '+%Y-%m-%d %H:%M:%S') build and install vineyard"
git clone -b v0.2.3 --single-branch --depth=1 https://github.com/alibaba/libvineyard.git /tmp/libvineyard
git clone -b v0.2.5 --single-branch --depth=1 https://github.com/alibaba/libvineyard.git /tmp/libvineyard
pushd /tmp/libvineyard
git submodule update --init
mkdir build && pushd build
Expand Down
8 changes: 4 additions & 4 deletions scripts/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ function install_dependencies() {
openjdk-8-jdk perl protobuf-compiler-grpc python3-pip uuid-dev wget zip zlib1g-dev

# install apache-arrow
wget https://apache.bintray.com/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb -P /tmp
sudo apt install -y -V /tmp/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb
sudo apt update
sudo apt install -y libarrow-dev=1.0.1-1 libarrow-python-dev=1.0.1-1
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
sudo apt update -y
sudo apt install -y libarrow-dev=3.0.0-1 libarrow-python-dev=3.0.0-1

# intall fmt, required by folly
wget https://github.com/fmtlib/fmt/archive/7.0.3.tar.gz -P /tmp
Expand Down

0 comments on commit 5508e6b

Please sign in to comment.