Skip to content

ARROW-6799: [WIP][Plasma] Fix plasma_java build - #5807

Closed
donacrio wants to merge 1 commit into
apache:masterfrom
donacrio:donacrio/fix_plasma_java
Closed

donacrio wants to merge 1 commit into
apache:masterfrom
donacrio:donacrio/fix_plasma_java

Conversation

@donacrio

Copy link
Copy Markdown
Contributor

What does this PR do ?

It removes the unused flatbuffers linked lib from the arrow/cpp/src/plasma/CMakeList.txt file.
It fixes var naming into the arrow/java/plasma/test.sh file that prevented java from finding the built binaries

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

Could you open an issue for this pull request on JIRA?
https://issues.apache.org/jira/browse/ARROW

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

See also:

@emkornfield

Copy link
Copy Markdown
Contributor

@donacrio thank you for the pull request. Per instructions above would you mind opening up a JIRA? Also it looks like lint is failing on the CMake update you can use run-cmake-format.py to properly format the cmake files.

@emkornfield

Copy link
Copy Markdown
Contributor

actually, I think there might be an existing JIRA covering this case, let me see if I can find it.

@emkornfield emkornfield changed the title Fix plasma_java build ARROW-6799: [Plasma] Fix plasma_java build Nov 14, 2019
@emkornfield

Copy link
Copy Markdown
Contributor

@donacrio do you think you might be able to add a test for this in CI?

Comment thread java/plasma/test.sh
fi
pushd release
cmake -DCMAKE_BUILD_TYPE=Release \
sudo cmake -DCMAKE_BUILD_TYPE=Release \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think sudo is a good idea here? What problem is this working around?

@github-actions

Copy link
Copy Markdown

Comment thread java/plasma/test.sh
mvn clean install
export PLASMA_STORE=$ROOT_DIR/../../cpp/release/release/plasma_store_server
java -cp target/test-classes:target/classes -Djava.library.path=$ROOT_DIR/../../cpp/release/release/ org.apache.arrow.plasma.PlasmaClientTest
export PLASMA_STORE=$CONDA_PREFIX/tmp/arrow/cpp/release/release/plasma-store-server

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Its not clear to me that CONDA_PREFIX is the right thing to use here if this is intended as a development script.

@donacrio

Copy link
Copy Markdown
Contributor Author

Hello @emkornfield!
For the moment I was just fixing things very quickly for a personal project using conda. I opened this PR to check the viability of what I've written. I will surely refactor most of my changes in the near future to make it clean and able to merge.

Do you want me to close or tag this PR in the meantime ? :)

@emkornfield emkornfield added the WIP PR is work in progress label Nov 15, 2019
@emkornfield

Copy link
Copy Markdown
Contributor

@donacrio thanks, I tagged this as WIP for now. If you think you will be able to fix this in 1-2 weeks lets leave it open, otherwise we can close it.

@emkornfield emkornfield changed the title ARROW-6799: [Plasma] Fix plasma_java build ARROW-6799: [WIP][Plasma] Fix plasma_java build Nov 15, 2019
@donacrio donacrio closed this Dec 11, 2019
@donacrio
donacrio deleted the donacrio/fix_plasma_java branch December 11, 2019 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants