You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2020/02/20 02:02:56 UTC

[impala] 01/03: IMPALA-9392 Change Boost version for aarch64 supporting

This is an automated email from the ASF dual-hosted git repository.

tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit a69b19a59ba6802583e9c01e7d3dae0561e9b5d8
Author: zhaorenhai <zh...@hotmail.com>
AuthorDate: Mon Feb 17 07:48:46 2020 +0000

    IMPALA-9392 Change Boost version for aarch64 supporting
    
    Replace Boost version from 1.57.0-p3 to 1.61.0.-p2
    for aarch64 supporting in impala-config.sh,
    and add 'std' namespace before function 'make_shared'
    in impala-server.cc and impala-hs2-server.cc
    
    Change-Id: I12f1d8fa1f3e35a62f3f42b3a2d19b85ca8c7a3d
    Reviewed-on: http://gerrit.cloudera.org:8080/15231
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Tim Armstrong <ta...@cloudera.com>
---
 be/src/service/impala-hs2-server.cc | 3 ++-
 be/src/service/impala-server.cc     | 2 +-
 bin/impala-config.sh                | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/be/src/service/impala-hs2-server.cc b/be/src/service/impala-hs2-server.cc
index 37011f2..f355274 100644
--- a/be/src/service/impala-hs2-server.cc
+++ b/be/src/service/impala-hs2-server.cc
@@ -303,7 +303,8 @@ void ImpalaServer::OpenSession(TOpenSessionResp& return_val,
   // create a session state: initialize start time, session type, database and default
   // query options.
   // TODO: Fix duplication of code between here and ConnectionStart().
-  shared_ptr<SessionState> state = make_shared<SessionState>(this, session_id, secret);
+  shared_ptr<SessionState> state =
+      std::make_shared<SessionState>(this, session_id, secret);
   state->closed = false;
   state->start_time_ms = UnixMillis();
   state->session_type = TSessionType::HIVESERVER2;
diff --git a/be/src/service/impala-server.cc b/be/src/service/impala-server.cc
index a554cdf..13bd840 100644
--- a/be/src/service/impala-server.cc
+++ b/be/src/service/impala-server.cc
@@ -1900,7 +1900,7 @@ void ImpalaServer::ConnectionStart(
     TUniqueId secret;
     UUIDToTUniqueId(secret_uuid, &secret);
     shared_ptr<SessionState> session_state =
-        make_shared<SessionState>(this, session_id, secret);
+        std::make_shared<SessionState>(this, session_id, secret);
     session_state->closed = false;
     session_state->start_time_ms = UnixMillis();
     session_state->last_accessed_ms = UnixMillis();
diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index b592ebe..3d08e27 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -68,14 +68,14 @@ fi
 # moving to a different build of the toolchain, e.g. when a version is bumped or a
 # compile option is changed. The build id can be found in the output of the toolchain
 # build jobs, it is constructed from the build number and toolchain git hash prefix.
-export IMPALA_TOOLCHAIN_BUILD_ID=137-30bf4d6e3c
+export IMPALA_TOOLCHAIN_BUILD_ID=144-6c12209540
 # Versions of toolchain dependencies.
 # -----------------------------------
 export IMPALA_AVRO_VERSION=1.7.4-p5
 unset IMPALA_AVRO_URL
 export IMPALA_BINUTILS_VERSION=2.26.1
 unset IMPALA_BINUTILS_URL
-export IMPALA_BOOST_VERSION=1.57.0-p3
+export IMPALA_BOOST_VERSION=1.61.0-p2
 unset IMPALA_BOOST_URL
 export IMPALA_BREAKPAD_VERSION=97a98836768f8f0154f8f86e5e14c2bb7e74132e-p2
 unset IMPALA_BREAKPAD_URL