Skip to content

Commit

Permalink
Fix Hadoop test by export more Hadoop environment variables (#2515)
Browse files Browse the repository at this point in the history
Signed-off-by: Tao He <[email protected]>
Co-authored-by: Tao He <[email protected]>
  • Loading branch information
siyuan0322 and sighingnow authored Mar 14, 2023
1 parent 3b8e8eb commit 8c98bc5
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-graphscope-wheels-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
run: |
source ~/.graphscope_env
python3 -m pip install libclang
git clone --single-branch -b v0.13.0 --depth=1 https://github.com/v6d-io/v6d.git /tmp/v6d
git clone --single-branch -b v0.13.3 --depth=1 https://github.com/v6d-io/v6d.git /tmp/v6d
cd /tmp/v6d
git submodule update --init
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gae.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-20.04
if: ${{ github.repository == 'alibaba/GraphScope' }}
container:
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.13.0
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.13.3
options:
--shm-size 4096m
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/networkx-forward-algo-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run:
shell: bash --noprofile --norc -eo pipefail {0}
container:
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.13.0
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.13.3
options:
--shm-size 4096m

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
fi
sudo mkdir /opt/graphscope
sudo chown -R $(id -u):$(id -g) /opt/graphscope
./gs install-deps dev --v6d-version v0.13.0
./gs install-deps dev --v6d-version v0.13.3
- name: Setup tmate session
if: false
Expand Down
2 changes: 1 addition & 1 deletion charts/graphscope/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ vineyard:
image:
name: vineyardcloudnative/vineyardd
# Overrides the image tag whose default is the chart appVersion.
tag: v0.13.0
tag: v0.13.3
resources:
requests:
cpu: 0.5
Expand Down
2 changes: 1 addition & 1 deletion k8s/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ifeq ($(REGISTRY),)
endif

VERSION ?= latest
VINEYARD_VERSION ?= v0.13.0
VINEYARD_VERSION ?= v0.13.3
# This is the version of builder base image in most cases, except for graphscope-dev
BUILDER_VERSION ?= $(VINEYARD_VERSION)
# This is the version of runtime base image
Expand Down
2 changes: 1 addition & 1 deletion k8s/actions-runner-controller/manylinux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TARGETPLATFORM ?= $(shell arch)
RUNNER_VERSION ?= 2.287.1
DOCKER_VERSION ?= 20.10.12

VINEYARD_VERSION ?= v0.13.0
VINEYARD_VERSION ?= v0.13.3
BUILDER_VERSION ?= $(VINEYARD_VERSION)

# default list of platforms for which multiarch image is built
Expand Down
1 change: 1 addition & 0 deletions k8s/dockerfiles/vineyard-dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$GRAPHSCOPE_HOME/lib:$GRAPHSCOPE_HOME/lib

ENV JAVA_HOME=/usr/lib/jvm/java HADOOP_HOME=/opt/hadoop-3.3.0
ENV HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
ENV HADOOP_YARN_HOME=$HADOOP_HOME HADOOP_MAPRED_HOME=$HADOOP_HOME
ENV PATH=$PATH:/opt/rh/devtoolset-8/root/usr/bin:/opt/rh/rh-python38/root/usr/local/bin
ENV PATH=$PATH:$GRAPHSCOPE_HOME/bin:$HADOOP_HOME/bin:/home/graphscope/.local/bin

Expand Down
2 changes: 1 addition & 1 deletion k8s/internal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ GRAPHSCOPE_HOME ?= /usr/local
INSTALL_PREFIX ?= /opt/graphscope

VERSION ?= latest
VINEYARD_VERSION ?= v0.13.0
VINEYARD_VERSION ?= v0.13.3
PROFILE ?= release
CI ?= false

Expand Down
2 changes: 1 addition & 1 deletion python/graphscope/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class GSConfig(object):

# vineyard resource configuration
# image for vineyard container
k8s_vineyard_image = "vineyardcloudnative/vineyardd:v0.13.0"
k8s_vineyard_image = "vineyardcloudnative/vineyardd:v0.13.3"
k8s_vineyard_daemonset = None
k8s_vineyard_cpu = 0.5
k8s_vineyard_mem = "512Mi"
Expand Down
3 changes: 1 addition & 2 deletions python/graphscope/tests/kubernetes/test_demo_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ def p2p_property_dir():
return "/testingdata/property"


# @pytest.mark.skipif("HDFS_HOST" not in os.environ, reason="HDFS not specified")
@pytest.mark.skip(reason="Fix pyarrow version @siyuan0322")
@pytest.mark.skipif("HDFS_HOST" not in os.environ, reason="HDFS not specified")
def test_demo_on_hdfs(gs_session_distributed):
graph = gs_session_distributed.g()
graph = graph.add_vertices(
Expand Down
4 changes: 2 additions & 2 deletions scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ readonly GREEN="\033[0;32m"
readonly NC="\033[0m" # No Color

readonly GRAPE_BRANCH="master" # libgrape-lite branch
readonly V6D_VERSION="0.13.0" # vineyard version
readonly V6D_BRANCH="v0.13.0" # vineyard branch
readonly V6D_VERSION="0.13.3" # vineyard version
readonly V6D_BRANCH="v0.13.3" # vineyard branch

readonly OUTPUT_ENV_FILE="${HOME}/.graphscope_env"
IS_IN_WSL=false && [[ ! -z "${IS_WSL}" || ! -z "${WSL_DISTRO_NAME}" ]] && IS_IN_WSL=true
Expand Down

0 comments on commit 8c98bc5

Please sign in to comment.