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

fix(analytical): Fix java sdk support for builtin libs #3884

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

zhanglei1949
Copy link
Collaborator

Previously, the built-in library compilation had no option to enable Java SDK support. This would cause Giraph apps to fail when loading graphs with GiraphInputFormat.

Committed-by: xiaolei.zl from Dev container
@@ -73,7 +73,7 @@ RUN cd /home/graphscope/GraphScope/ && \
strip ${INSTALL_DIR}/bin/grape_engine; \
strip ${INSTALL_DIR}/lib/*.so; \
sudo cp -rs ${INSTALL_DIR}/* ${GRAPHSCOPE_HOME}/; \
python3 ./k8s/utils/precompile.py --graph --output_dir ${INSTALL_DIR}/builtin; \
python3 ./k8s/utils/precompile.py --graph --output_dir ${INSTALL_DIR}/builtin --enable_java_sdk ON; \
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this supposed to be in analytical-java.Dockerfile?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Currently there is no analytical-java.Dockerfile. Should we create one? @siyuan0322

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ohh this is in the analytical-java part. My fault.

@@ -73,7 +73,7 @@ RUN cd /home/graphscope/GraphScope/ && \
strip ${INSTALL_DIR}/bin/grape_engine; \
strip ${INSTALL_DIR}/lib/*.so; \
sudo cp -rs ${INSTALL_DIR}/* ${GRAPHSCOPE_HOME}/; \
python3 ./k8s/utils/precompile.py --graph --output_dir ${INSTALL_DIR}/builtin; \
python3 ./k8s/utils/precompile.py --graph --output_dir ${INSTALL_DIR}/builtin --enable_java_sdk ON; \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ohh this is in the analytical-java part. My fault.

@siyuan0322 siyuan0322 merged commit ca9ad40 into alibaba:main Jun 6, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants