Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5904

[Java] [Plasma] Fix compilation of Plasma Java client

    XMLWordPrintableJSON

Details

    Description

      This is broken since the introduction of user-defined Status messages:

      external/plasma/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc: In function '_jobject* Java_org_apache_arrow_plasma_PlasmaClientJNI_create(JNIEnv*, jclass, jlong, jbyteArray, jint, jbyteArray)':
      external/plasma/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc:114:9: error: 'class arrow::Status' has no member named 'IsPlasmaObjectExists'
         if (s.IsPlasmaObjectExists()) {
               ^
      external/plasma/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc:120:9: error: 'class arrow::Status' has no member named 'IsPlasmaStoreFull'
         if (s.IsPlasmaStoreFull()) {
               ^

      guoyuhong85 Can you add this codepath to the test so we can catch this kind of breakage more quickly in the future?

      Attachments

        Issue Links

          Activity

            People

              pcmoritz Philipp Moritz
              pcmoritz Philipp Moritz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h