-
Notifications
You must be signed in to change notification settings - Fork 445
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
fix(analytical): Fix java sdk support for builtin libs #3884
Conversation
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; \ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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; \ |
There was a problem hiding this comment.
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.
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
.