You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org> on 2022/01/18 17:13:18 UTC

[Impala-ASF-CR] WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18155


Change subject: WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................

WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile

This patch applies various fixes to Impala and to the copied Kudu
source code in be/src/kudu/* to allow everything to compile.

Highlights of the changes made:
- Some flags that have a DEFINE in both Kudu and Impala are modified
  to change one of the DEFINEs to a DECLARE.
- Fixed backend unit-test bloom-filter-test.cc due to the changes for
  block bloom filter false positive rate correction in
  kudu/util/block_bloom_filter.cc.
- Set Sockaddr as Sockaddr::Wildcard() if FLAGS_rpc_use_loopback is
  true since the Sockaddr's constructor is changed.

This patch was in part based on the patches that were applied the last
time we rebased the Kudu code in IMPALA-9335. All changes from those
commits that are still relevant were included here.

Went through all commits that have been applied to the be/src/kudu
directory since the last rebase and ensured that all relevant changes
from those are included here. These include patches for IMPALA-9182,
IMPALA-10779, IMPALA-9940 and commit d9a38c0bac (Limit short versions
of KUDU_* macros to Kudu source).

Testing:
- Passed core debug build and core ASAN build except one backend
  test rpc-mgr-kerberized-test.
  TODO: Fix backend unit-test rpc-mgr-kerberized-test.cc
- TODO: Fix end-end test for exhaustive build.

Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
---
M be/src/kudu/rpc/CMakeLists.txt
M be/src/kudu/rpc/transfer.cc
M be/src/kudu/security/CMakeLists.txt
M be/src/kudu/security/init.cc
M be/src/kudu/security/test/mini_kdc.cc
M be/src/kudu/security/tls_handshake.cc
M be/src/kudu/util/CMakeLists.txt
M be/src/kudu/util/flags.cc
A be/src/kudu/util/kudu_export.h
M be/src/kudu/util/logging.cc
M be/src/kudu/util/logging.h
M be/src/kudu/util/random_util.h
M be/src/kudu/util/web_callback_registry.h
M be/src/rpc/authentication.cc
M be/src/rpc/rpc-mgr-kerberized-test.cc
M be/src/rpc/rpc-mgr.cc
M be/src/rpc/sidecar-util.h
M be/src/rpc/thrift-server.cc
M be/src/runtime/query-state.cc
M be/src/util/bloom-filter-test.cc
M be/src/util/webserver.cc
21 files changed, 214 insertions(+), 78 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/55/18155/1
-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 4:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/7837/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Sat, 12 Feb 2022 00:32:19 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 4:

Hit irrelevant IMPALA-10983.


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 14 Feb 2022 05:50:26 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/7848/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Feb 2022 07:36:17 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has uploaded a new patch set (#4). ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................

IMPALA-10931 (part2): Fixed rebased Kudu source to compile

This patch applies various fixes to Impala and to the copied Kudu
source code in be/src/kudu/* to allow everything to compile and pass
Impala exhaustive tests.

Highlights of the changes made:
- Some flags that have a DEFINE in both Kudu and Impala are modified
  to change one of the DEFINEs to a DECLARE.
- Fixed backend unit-test bloom-filter-test.cc due to the changes for
  block bloom filter false positive rate correction in
  kudu/util/block_bloom_filter.cc.
- kudu::Sockaddr was changed to support different families of address.
  The storage of address is not cleaned in new constructor. This cause
  the padding bytes in IPv4 address sockaddr_in is not cleaned. We have
  to set initial values of Sockaddr variables as Sockaddr::Wildcard()
  as workaround.
- The parameter type of kudu::RpcSidecar::FromFaststring() was changed,
  need to change the caller code in Impala.
- openssl_util.h was moved from directory kudu/security to kudu/util.
  need to change including path in Impala.

This patch was in part based on the patches that were applied the last
time we rebased the Kudu code in IMPALA-9335. All changes from those
commits that are still relevant were included here.

Went through all commits that have been applied to the be/src/kudu
directory since the last rebase and ensured that all relevant changes
from those are included here. These include patches for IMPALA-9182,
IMPALA-10779, IMPALA-9940 and commit d9a38c0bac (Limit short versions
of KUDU_* macros to Kudu source).

Testing:
- Passed core debug build, core ASAN build and exhaustive release
  build.

Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
---
M be/src/kudu/rpc/CMakeLists.txt
M be/src/kudu/rpc/transfer.cc
M be/src/kudu/security/CMakeLists.txt
M be/src/kudu/security/init.cc
M be/src/kudu/security/test/mini_kdc.cc
M be/src/kudu/security/tls_handshake.cc
M be/src/kudu/util/CMakeLists.txt
M be/src/kudu/util/flags.cc
A be/src/kudu/util/kudu_export.h
M be/src/kudu/util/logging.cc
M be/src/kudu/util/logging.h
M be/src/kudu/util/random_util.h
M be/src/kudu/util/web_callback_registry.h
M be/src/rpc/authentication-util.cc
M be/src/rpc/authentication.cc
M be/src/rpc/rpc-mgr.cc
M be/src/rpc/rpc-mgr.inline.h
M be/src/rpc/sidecar-util.h
M be/src/rpc/thrift-server.cc
M be/src/runtime/query-state.cc
M be/src/util/bloom-filter-test.cc
M be/src/util/webserver.cc
22 files changed, 217 insertions(+), 77 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/55/18155/4
-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/test/mini_kdc.cc
File be/src/kudu/security/test/mini_kdc.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/test/mini_kdc.cc@314
PS5, Line 314:   string tmp_username = username;
             :   StripString(&tmp_username, "/", '_');
             :   const auto tmp_template = Substitute("kinit-temp-$0.XXXXXX", tmp_username);
> The implementation of MiniKdc::Kinit() was changed. In be/src/rpc/rpc-mgr-k
I will ask Kudu team to make this change so we don't need to change Kudu code in next rebase.


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/tls_handshake.cc
File be/src/kudu/security/tls_handshake.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/tls_handshake.cc@316
PS5, Line 316:     const uint8_t* data = reinterpret_cast<const uint8_t*>(rbio_pending_data_.data());
> The first parameter type of Socket.Write() is "const uint8_t *". Got warnin
I will ask Kudu team to make this change so we don't need to change Kudu code in next rebase.



-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Feb 2022 19:49:50 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................

IMPALA-10931 (part2): Fixed rebased Kudu source to compile

This patch applies various fixes to Impala and to the copied Kudu
source code in be/src/kudu/* to allow everything to compile and pass
Impala exhaustive tests.

Highlights of the changes made:
- Some flags that have a DEFINE in both Kudu and Impala are modified
  to change one of the DEFINEs to a DECLARE.
- Fixed backend unit-test bloom-filter-test.cc due to the changes for
  block bloom filter false positive rate correction in
  kudu/util/block_bloom_filter.cc.
- Set initial values of Sockaddr variables as Sockaddr::Wildcard().
- The parameter type of kudu::RpcSidecar::FromFaststring() was changed,
  need to change the caller code in Impala.
- openssl_util.h was moved from directory kudu/security to kudu/util.
  need to change including path in Impala.

This patch was in part based on the patches that were applied the last
time we rebased the Kudu code in IMPALA-9335. All changes from those
commits that are still relevant were included here.

Went through all commits that have been applied to the be/src/kudu
directory since the last rebase and ensured that all relevant changes
from those are included here. These include patches for IMPALA-9182,
IMPALA-10779, IMPALA-9940 and commit d9a38c0bac (Limit short versions
of KUDU_* macros to Kudu source).

Testing:
- Passed core debug build, core ASAN build and exhaustive release
  build.

Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Reviewed-on: http://gerrit.cloudera.org:8080/18155
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M be/src/kudu/rpc/CMakeLists.txt
M be/src/kudu/rpc/transfer.cc
M be/src/kudu/security/CMakeLists.txt
M be/src/kudu/security/init.cc
M be/src/kudu/security/test/mini_kdc.cc
M be/src/kudu/security/tls_handshake.cc
M be/src/kudu/util/CMakeLists.txt
M be/src/kudu/util/flags.cc
A be/src/kudu/util/kudu_export.h
M be/src/kudu/util/logging.cc
M be/src/kudu/util/logging.h
M be/src/kudu/util/random_util.h
M be/src/kudu/util/web_callback_registry.h
M be/src/rpc/authentication-util.cc
M be/src/rpc/authentication.cc
M be/src/rpc/rpc-mgr.cc
M be/src/rpc/rpc-mgr.inline.h
M be/src/rpc/sidecar-util.h
M be/src/rpc/thrift-server.cc
M be/src/runtime/query-state.cc
M be/src/util/bloom-filter-test.cc
M be/src/util/webserver.cc
22 files changed, 217 insertions(+), 77 deletions(-)

Approvals:
  Joe McDonnell: Looks good to me, approved
  Impala Public Jenkins: Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 6
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>

[Impala-ASF-CR] WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 1:

Build Failed 

https://jenkins.impala.io/job/gerrit-code-review-checks/10014/ : Initial code review checks failed. See linked job for details on the failure.


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Tue, 18 Jan 2022 17:35:30 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has uploaded a new patch set (#5). ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................

IMPALA-10931 (part2): Fixed rebased Kudu source to compile

This patch applies various fixes to Impala and to the copied Kudu
source code in be/src/kudu/* to allow everything to compile and pass
Impala exhaustive tests.

Highlights of the changes made:
- Some flags that have a DEFINE in both Kudu and Impala are modified
  to change one of the DEFINEs to a DECLARE.
- Fixed backend unit-test bloom-filter-test.cc due to the changes for
  block bloom filter false positive rate correction in
  kudu/util/block_bloom_filter.cc.
- Set initial values of Sockaddr variables as Sockaddr::Wildcard().
- The parameter type of kudu::RpcSidecar::FromFaststring() was changed,
  need to change the caller code in Impala.
- openssl_util.h was moved from directory kudu/security to kudu/util.
  need to change including path in Impala.

This patch was in part based on the patches that were applied the last
time we rebased the Kudu code in IMPALA-9335. All changes from those
commits that are still relevant were included here.

Went through all commits that have been applied to the be/src/kudu
directory since the last rebase and ensured that all relevant changes
from those are included here. These include patches for IMPALA-9182,
IMPALA-10779, IMPALA-9940 and commit d9a38c0bac (Limit short versions
of KUDU_* macros to Kudu source).

Testing:
- Passed core debug build, core ASAN build and exhaustive release
  build.

Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
---
M be/src/kudu/rpc/CMakeLists.txt
M be/src/kudu/rpc/transfer.cc
M be/src/kudu/security/CMakeLists.txt
M be/src/kudu/security/init.cc
M be/src/kudu/security/test/mini_kdc.cc
M be/src/kudu/security/tls_handshake.cc
M be/src/kudu/util/CMakeLists.txt
M be/src/kudu/util/flags.cc
A be/src/kudu/util/kudu_export.h
M be/src/kudu/util/logging.cc
M be/src/kudu/util/logging.h
M be/src/kudu/util/random_util.h
M be/src/kudu/util/web_callback_registry.h
M be/src/rpc/authentication-util.cc
M be/src/rpc/authentication.cc
M be/src/rpc/rpc-mgr.cc
M be/src/rpc/rpc-mgr.inline.h
M be/src/rpc/sidecar-util.h
M be/src/rpc/thrift-server.cc
M be/src/runtime/query-state.cc
M be/src/util/bloom-filter-test.cc
M be/src/util/webserver.cc
22 files changed, 217 insertions(+), 77 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/55/18155/5
-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 4:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/10144/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Fri, 11 Feb 2022 16:50:16 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 4:

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/7838/


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Sat, 12 Feb 2022 15:31:46 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

Hit IMPALA-10826 again


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Feb 2022 07:35:26 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 4:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/7841/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 14 Feb 2022 18:14:50 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/test/mini_kdc.cc
File be/src/kudu/security/test/mini_kdc.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/test/mini_kdc.cc@314
PS5, Line 314:   string tmp_username = username;
             :   StripString(&tmp_username, "/", '_');
             :   const auto tmp_template = Substitute("kinit-temp-$0.XXXXXX", tmp_username);
> For myself: This is new, but it makes sense that we wouldn't want / in the 
The implementation of MiniKdc::Kinit() was changed. In be/src/rpc/rpc-mgr-kerberized-test.cc, Impala call MiniKdc::Kinit() with parameter "dummy/host". "/" caused runtime error. So we have to replace "/" with "_".


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/tls_handshake.cc
File be/src/kudu/security/tls_handshake.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/tls_handshake.cc@316
PS5, Line 316:     const uint8_t* data = reinterpret_cast<const uint8_t*>(rbio_pending_data_.data());
> This looks new. What does this do?
The first parameter type of Socket.Write() is "const uint8_t *". Got warning without "const". This caused build failure.


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/util/random_util.h
File be/src/kudu/util/random_util.h:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/util/random_util.h@30
PS5, Line 30: // Inline functions defined in int128_util.h cause ambiguous overload error for
            : // std::ostream& operator<<(std::ostream& os, const unsigned __int128& val),
            : // include "kudu/util/int128.h" instead.
            : #include "kudu/util/int128.h"
> New, seems ok as long as it compiles/works.
Have to make this change to pass compiling.


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/rpc/sidecar-util.h
File be/src/rpc/sidecar-util.h:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/rpc/sidecar-util.h@85
PS5, Line 85:   kudu::faststring sidecar_str;
            :   sidecar_str.assign_copy(serialized_buf, serialized_len);
> This looks new. What does this do?
Parameter type of kudu::rpc::RpcSidecar::FromFaststring() was changed from "std::unique_ptr<faststring>" to "faststring" so we have to change caller code to pass compiling.


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/runtime/query-state.cc
File be/src/runtime/query-state.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/runtime/query-state.cc@676
PS5, Line 676:     kudu::faststring sidecar_buf;
             :     sidecar_buf.assign_copy(profile_buf, profile_len);
> This looks new. What does this do?
Parameter type of kudu::rpc::RpcSidecar::FromFaststring() was changed from "std::unique_ptr<faststring>" to "faststring" so we have to change caller code to pass compiling.



-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Feb 2022 19:28:24 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/7846/


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Feb 2022 07:30:53 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 4: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/7837/


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Sat, 12 Feb 2022 07:08:05 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/rpc/sidecar-util.h
File be/src/rpc/sidecar-util.h:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/rpc/sidecar-util.h@85
PS5, Line 85:   kudu::faststring sidecar_str;
            :   sidecar_str.assign_copy(serialized_buf, serialized_len);
> Parameter type of kudu::rpc::RpcSidecar::FromFaststring() was changed from 
RpcSidecar::FromFaststring() make copy of input string so this code change is safe.



-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Feb 2022 19:46:02 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

Hit flaky test IMPALA-10983 and IMPALA-10826


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Feb 2022 00:15:53 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/7845/


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Feb 2022 00:11:21 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5: Code-Review+2

(1 comment)

This looks good to me. Thanks for the hard work on this.

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/tls_handshake.cc
File be/src/kudu/security/tls_handshake.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/tls_handshake.cc@316
PS5, Line 316:     const uint8_t* data = reinterpret_cast<const uint8_t*>(rbio_pending_data_.data());
> I will ask Kudu team to make this change so we don't need to change Kudu co
Great, this makes sense



-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Feb 2022 19:55:07 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 4:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/7838/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Sat, 12 Feb 2022 08:57:04 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 6:

4 code changes were merged back to Kudu upstream in following patches for Kudu:
http://gerrit.cloudera.org:8080/18245,
http://gerrit.cloudera.org:8080/18246,
http://gerrit.cloudera.org:8080/18247,
http://gerrit.cloudera.org:8080/18248


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 6
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Sat, 19 Feb 2022 20:47:04 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/18155/1/be/src/rpc/rpc-mgr-kerberized-test.cc
File be/src/rpc/rpc-mgr-kerberized-test.cc:

http://gerrit.cloudera.org:8080/#/c/18155/1/be/src/rpc/rpc-mgr-kerberized-test.cc@281
PS1, Line 281:   // TODO wzhou EXPECT_OK(FromKuduStatus(ping_proxy->Ping(ping_request, &ping_response, &controller)));
line too long (103 > 90)



-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Tue, 18 Jan 2022 17:14:31 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 3:

Build Failed 

https://jenkins.impala.io/job/gerrit-code-review-checks/10134/ : Initial code review checks failed. See linked job for details on the failure.


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Thu, 10 Feb 2022 17:41:03 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/10161/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Feb 2022 16:49:58 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/7845/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Feb 2022 16:52:29 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

(5 comments)

I compared this to our previous changes impacting the checked in Kudu source (IMPALA-9335, IMPALA-9940, etc). Everything lines up nicely, and this is looking good.

There are a couple things that look new that I would like to make sure I understand.

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/test/mini_kdc.cc
File be/src/kudu/security/test/mini_kdc.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/test/mini_kdc.cc@314
PS5, Line 314:   string tmp_username = username;
             :   StripString(&tmp_username, "/", '_');
             :   const auto tmp_template = Substitute("kinit-temp-$0.XXXXXX", tmp_username);
For myself: This is new, but it makes sense that we wouldn't want / in the template to avoid subdirectories.


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/tls_handshake.cc
File be/src/kudu/security/tls_handshake.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/security/tls_handshake.cc@316
PS5, Line 316:     const uint8_t* data = reinterpret_cast<const uint8_t*>(rbio_pending_data_.data());
This looks new. What does this do?


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/util/random_util.h
File be/src/kudu/util/random_util.h:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/kudu/util/random_util.h@30
PS5, Line 30: // Inline functions defined in int128_util.h cause ambiguous overload error for
            : // std::ostream& operator<<(std::ostream& os, const unsigned __int128& val),
            : // include "kudu/util/int128.h" instead.
            : #include "kudu/util/int128.h"
New, seems ok as long as it compiles/works.


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/rpc/sidecar-util.h
File be/src/rpc/sidecar-util.h:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/rpc/sidecar-util.h@85
PS5, Line 85:   kudu::faststring sidecar_str;
            :   sidecar_str.assign_copy(serialized_buf, serialized_len);
This looks new. What does this do?


http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/runtime/query-state.cc
File be/src/runtime/query-state.cc:

http://gerrit.cloudera.org:8080/#/c/18155/5/be/src/runtime/query-state.cc@676
PS5, Line 676:     kudu::faststring sidecar_buf;
             :     sidecar_buf.assign_copy(profile_buf, profile_len);
This looks new. What does this do?



-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Feb 2022 18:53:20 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/18155 )

Change subject: WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................

WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile

This patch applies various fixes to Impala and to the copied Kudu
source code in be/src/kudu/* to allow everything to compile and pass
Impala exhaustive tests.

Highlights of the changes made:
- Some flags that have a DEFINE in both Kudu and Impala are modified
  to change one of the DEFINEs to a DECLARE.
- Fixed backend unit-test bloom-filter-test.cc due to the changes for
  block bloom filter false positive rate correction in
  kudu/util/block_bloom_filter.cc.
- kudu::Sockaddr was changed to support different families of address.
  The storage of address is not cleaned in new constructor. This cause
  the padding bytes in IPv4 address sockaddr_in is not cleaned. We have
  to set initial values of Sockaddr variables as Sockaddr::Wildcard()
  as workaround.
- The parameter type of kudu::RpcSidecar::FromFaststring() was changed,
  need to change the caller code in Impala.
- openssl_util.h was moved from directory kudu/security to kudu/util.
  need to change including path in Impala.
- TODO: Fix backend unit-test rpc-mgr-kerberized-test.cc

This patch was in part based on the patches that were applied the last
time we rebased the Kudu code in IMPALA-9335. All changes from those
commits that are still relevant were included here.

Went through all commits that have been applied to the be/src/kudu
directory since the last rebase and ensured that all relevant changes
from those are included here. These include patches for IMPALA-9182,
IMPALA-10779, IMPALA-9940 and commit d9a38c0bac (Limit short versions
of KUDU_* macros to Kudu source).

Testing:
- Passed core debug build, core ASAN build and exhaustive release
  build except one backend test rpc-mgr-kerberized-test.

Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
---
M be/src/kudu/rpc/CMakeLists.txt
M be/src/kudu/rpc/transfer.cc
M be/src/kudu/security/CMakeLists.txt
M be/src/kudu/security/init.cc
M be/src/kudu/security/test/mini_kdc.cc
M be/src/kudu/security/tls_handshake.cc
M be/src/kudu/util/CMakeLists.txt
M be/src/kudu/util/flags.cc
A be/src/kudu/util/kudu_export.h
M be/src/kudu/util/logging.cc
M be/src/kudu/util/logging.h
M be/src/kudu/util/random_util.h
M be/src/kudu/util/web_callback_registry.h
M be/src/rpc/authentication-util.cc
M be/src/rpc/authentication.cc
M be/src/rpc/rpc-mgr-kerberized-test.cc
M be/src/rpc/rpc-mgr.cc
M be/src/rpc/rpc-mgr.inline.h
M be/src/rpc/sidecar-util.h
M be/src/rpc/thrift-server.cc
M be/src/runtime/query-state.cc
M be/src/util/bloom-filter-test.cc
M be/src/util/webserver.cc
23 files changed, 219 insertions(+), 81 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/55/18155/3
-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>

[Impala-ASF-CR] WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: WIP IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/18155/3/be/src/rpc/rpc-mgr-kerberized-test.cc
File be/src/rpc/rpc-mgr-kerberized-test.cc:

http://gerrit.cloudera.org:8080/#/c/18155/3/be/src/rpc/rpc-mgr-kerberized-test.cc@281
PS3, Line 281:   // TODO wzhou EXPECT_OK(FromKuduStatus(ping_proxy->Ping(ping_request, &ping_response, &controller)));
line too long (103 > 90)



-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Thu, 10 Feb 2022 17:13:43 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Feb 2022 14:10:52 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 4: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 4
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Feb 2022 00:52:50 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10931 (part2): Fixed rebased Kudu source to compile

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/18155 )

Change subject: IMPALA-10931 (part2): Fixed rebased Kudu source to compile
......................................................................


Patch Set 5:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/7846/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/18155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia9919c06e60d132d997093abb7b14825847e07c7
Gerrit-Change-Number: 18155
Gerrit-PatchSet: 5
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Feb 2022 00:17:46 +0000
Gerrit-HasComments: No