Skip to content

Commit

Permalink
resolve conflix with #4099
Browse files Browse the repository at this point in the history
  • Loading branch information
summaryzb committed Jan 15, 2024
1 parent fda8143 commit 726fd7b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cpp/core/jni/JniWrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -889,14 +889,10 @@ JNIEXPORT jlong JNICALL Java_io_glutenproject_vectorized_ShuffleWriterJniWrapper
memoryManager->getArrowMemoryPool(),
std::move(celebornClient));
} else if (partitionWriterType == "uniffle") {
shuffleWriterOptions.partition_writer_type = PartitionWriterType::kUniffle;
jclass unifflePartitionPusherClass =
createGlobalClassReferenceOrError(env, "Lorg/apache/spark/shuffle/writer/PartitionPusher;");
jmethodID unifflePushPartitionDataMethod =
getMethodIdOrError(env, unifflePartitionPusherClass, "pushPartitionData", "(I[B)I");
if (pushBufferMaxSize > 0) {
shuffleWriterOptions.push_buffer_max_size = pushBufferMaxSize;
}
JavaVM* vm;
if (env->GetJavaVM(&vm) != JNI_OK) {
throw gluten::GlutenException("Unable to get JavaVM instance");
Expand Down

0 comments on commit 726fd7b

Please sign in to comment.