diff --git a/cmake/Modules/ArrowExternalProject.cmake b/cmake/Modules/ArrowExternalProject.cmake index 3387c70bd..e0cdd0756 100644 --- a/cmake/Modules/ArrowExternalProject.cmake +++ b/cmake/Modules/ArrowExternalProject.cmake @@ -15,17 +15,17 @@ # - PLASMA_SHARED_LIB set(arrow_URL https://github.com/ray-project/arrow.git) -# This commit is based on https://github.com/apache/arrow/pull/3197. We +# This commit is based on https://github.com/apache/arrow/pull/3392. We # include the link here to make it easier to find the right commit because # Arrow often rewrites git history and invalidates certain commits. # It has been patched to fix an upstream symbol clash with TensorFlow, # the patch is available at -# https://github.com/ray-project/arrow/commit/c347cd571e51723fc8512922f1b3a8e45e45b169 +# https://github.com/ray-project/arrow/commit/f8c990e4165012123e03d822c95526eaea5cbfab # See the discussion in https://github.com/apache/arrow/pull/3177 # WARNING: If the arrow version is updated, you need to also update the # SETUPTOOLS_SCM_PRETEND_VERSION version string in the ThirdpartyToolchain.cmake # file -set(arrow_TAG c347cd571e51723fc8512922f1b3a8e45e45b169) +set(arrow_TAG f8c990e4165012123e03d822c95526eaea5cbfab) set(ARROW_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/arrow-install) set(ARROW_HOME ${ARROW_INSTALL_PREFIX}) diff --git a/cmake/Modules/ThirdpartyToolchain.cmake b/cmake/Modules/ThirdpartyToolchain.cmake index f97ee1a2d..50bad160b 100644 --- a/cmake/Modules/ThirdpartyToolchain.cmake +++ b/cmake/Modules/ThirdpartyToolchain.cmake @@ -118,7 +118,7 @@ if ("${CMAKE_RAY_LANG_PYTHON}" STREQUAL "YES") # PYARROW_PARALLEL= , so it will add -j to pyarrow build set(pyarrow_ENV - "SETUPTOOLS_SCM_PRETEND_VERSION=0.11.1-RAY" + "SETUPTOOLS_SCM_PRETEND_VERSION=0.12.0-RAY" "PKG_CONFIG_PATH=${ARROW_LIBRARY_DIR}/pkgconfig" "PYARROW_WITH_PLASMA=1" "PYARROW_WITH_TENSORFLOW=1" diff --git a/src/ray/object_manager/object_buffer_pool.cc b/src/ray/object_manager/object_buffer_pool.cc index f7d1f1651..a650928e3 100644 --- a/src/ray/object_manager/object_buffer_pool.cc +++ b/src/ray/object_manager/object_buffer_pool.cc @@ -1,5 +1,7 @@ #include "ray/object_manager/object_buffer_pool.h" +#include "arrow/util/logging.h" + namespace ray { ObjectBufferPool::ObjectBufferPool(const std::string &store_socket_name, diff --git a/src/ray/object_manager/object_store_notification_manager.cc b/src/ray/object_manager/object_store_notification_manager.cc index fce65a607..7c327ebbd 100644 --- a/src/ray/object_manager/object_store_notification_manager.cc +++ b/src/ray/object_manager/object_store_notification_manager.cc @@ -5,8 +5,9 @@ #include #include -#include "ray/common/common_protocol.h" +#include "arrow/util/logging.h" +#include "ray/common/common_protocol.h" #include "ray/object_manager/object_store_notification_manager.h" #include "ray/util/util.h" diff --git a/src/ray/object_manager/test/object_manager_stress_test.cc b/src/ray/object_manager/test/object_manager_stress_test.cc index b8b35ad62..a1f792727 100644 --- a/src/ray/object_manager/test/object_manager_stress_test.cc +++ b/src/ray/object_manager/test/object_manager_stress_test.cc @@ -5,6 +5,8 @@ #include "gtest/gtest.h" +#include "arrow/util/logging.h" + #include "ray/object_manager/object_manager.h" namespace ray { diff --git a/src/ray/object_manager/test/object_manager_test.cc b/src/ray/object_manager/test/object_manager_test.cc index 12ad2c52c..a956c1a0a 100644 --- a/src/ray/object_manager/test/object_manager_test.cc +++ b/src/ray/object_manager/test/object_manager_test.cc @@ -3,6 +3,8 @@ #include "gtest/gtest.h" +#include "arrow/util/logging.h" + #include "ray/object_manager/object_manager.h" namespace ray { diff --git a/src/ray/raylet/node_manager.cc b/src/ray/raylet/node_manager.cc index f2f3ecb41..afee3369a 100644 --- a/src/ray/raylet/node_manager.cc +++ b/src/ray/raylet/node_manager.cc @@ -2,6 +2,8 @@ #include +#include "arrow/util/logging.h" + #include "ray/common/common_protocol.h" #include "ray/id.h" #include "ray/raylet/format/node_manager_generated.h" diff --git a/src/ray/raylet/object_manager_integration_test.cc b/src/ray/raylet/object_manager_integration_test.cc index 0d514e2ec..e1570dc9b 100644 --- a/src/ray/raylet/object_manager_integration_test.cc +++ b/src/ray/raylet/object_manager_integration_test.cc @@ -3,6 +3,8 @@ #include "gtest/gtest.h" +#include "arrow/util/logging.h" + #include "ray/raylet/raylet.h" namespace ray {