This is an automated email from the ASF dual-hosted git repository.
pcmoritz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new d0d9ece ARROW-5904: [Java] [Plasma] Fix compilation of Plasma Java
client
d0d9ece is described below
commit d0d9ecec33413f7ef6c7f91448a802666ad5f871
Author: Philipp Moritz <[email protected]>
AuthorDate: Thu Jul 11 11:43:32 2019 -0700
ARROW-5904: [Java] [Plasma] Fix compilation of Plasma Java client
Author: Philipp Moritz <[email protected]>
Closes #4849 from pcmoritz/plasma-status-fix and squashes the following
commits:
c596c12b3 <Philipp Moritz> fix plasma status message
---
cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc
b/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc
index 248c268..0964df4 100644
--- a/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc
+++ b/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc
@@ -111,13 +111,13 @@ JNIEXPORT jobject JNICALL
Java_org_apache_arrow_plasma_PlasmaClientJNI_create(
std::shared_ptr<Buffer> data;
Status s = client->Create(oid, size, md, md_size, &data);
- if (s.IsPlasmaObjectExists()) {
+ if (plasma::IsPlasmaObjectExists(s)) {
jclass exceptionClass =
env->FindClass("org/apache/arrow/plasma/exceptions/DuplicateObjectException");
env->ThrowNew(exceptionClass, oid.hex().c_str());
return nullptr;
}
- if (s.IsPlasmaStoreFull()) {
+ if (plasma::IsPlasmaStoreFull(s)) {
jclass exceptionClass =
env->FindClass("org/apache/arrow/plasma/exceptions/PlasmaOutOfMemoryException");
env->ThrowNew(exceptionClass, "");