You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Michael Smith (Code Review)" <ge...@cloudera.org> on 2022/05/09 23:35:38 UTC

[Impala-ASF-CR] refactor DumpCallback to make it more readable

Michael Smith has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18507


Change subject: refactor DumpCallback to make it more readable
......................................................................

refactor DumpCallback to make it more readable

Refactors DumpCallback so that repeated writes to STDOUT/STDERR are less
redundant.

Change-Id: I71c99f77c1c1af43b80bae88f6ff4289934dcdc3
---
M be/src/util/minidump.cc
1 file changed, 13 insertions(+), 14 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I71c99f77c1c1af43b80bae88f6ff4289934dcdc3
Gerrit-Change-Number: 18507
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>

[Impala-ASF-CR] refactor DumpCallback to make it more readable

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

Change subject: refactor DumpCallback to make it more readable
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/10549/ : 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/18507
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I71c99f77c1c1af43b80bae88f6ff4289934dcdc3
Gerrit-Change-Number: 18507
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Mon, 09 May 2022 23:56:26 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] refactor DumpCallback to make it more readable

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

Change subject: refactor DumpCallback to make it more readable
......................................................................


Patch Set 1:

Since this is closely related to IMPALA-11275 (same file, closely related code), it is ok to fold this into that change. I think this change makes sense.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I71c99f77c1c1af43b80bae88f6ff4289934dcdc3
Gerrit-Change-Number: 18507
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Tue, 10 May 2022 19:29:58 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] refactor DumpCallback to make it more readable

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

Change subject: refactor DumpCallback to make it more readable
......................................................................


Patch Set 1:

I'll fold it into the other change then. I think I'll put back `/ sizeof(char)`, since while it's not needed it is descriptive.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I71c99f77c1c1af43b80bae88f6ff4289934dcdc3
Gerrit-Change-Number: 18507
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Wed, 11 May 2022 20:27:42 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] refactor DumpCallback to make it more readable

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

Change subject: refactor DumpCallback to make it more readable
......................................................................


Patch Set 1:

This is definitely subjective. Made these changes while I was working on adding more output in IMPALA-11275.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I71c99f77c1c1af43b80bae88f6ff4289934dcdc3
Gerrit-Change-Number: 18507
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Mon, 09 May 2022 23:36:51 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] refactor DumpCallback to make it more readable

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has abandoned this change. ( http://gerrit.cloudera.org:8080/18507 )

Change subject: refactor DumpCallback to make it more readable
......................................................................


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: abandon
Gerrit-Change-Id: I71c99f77c1c1af43b80bae88f6ff4289934dcdc3
Gerrit-Change-Number: 18507
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>