You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Peter Rozsa (Code Review)" <ge...@cloudera.org> on 2023/02/28 09:56:34 UTC

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

Peter Rozsa has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19557


Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................

IMPALA-11948: Remove operation logging from getCatalogServerMetrics

IMPALA-11478 added operation-level logging to every catalog method in
JniCatalog, but getCatalogServerMetrics operation is called many times
by catalogd itself. Start and finish logs for this operation is useless,
therefore only the warnings about size and elapsed time should remain.

Tests:
   - manually validated that warning-level logs are still generated
   - manually validated that start/finish log entries are not generated

Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
---
M fe/src/main/java/org/apache/impala/common/JniUtil.java
M fe/src/main/java/org/apache/impala/service/JniCatalog.java
M fe/src/main/java/org/apache/impala/service/JniCatalogOp.java
3 files changed, 55 insertions(+), 16 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 1
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 1:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/19557/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/19557/1//COMMIT_MSG@11
PS1, Line 11: is
Nit: are


http://gerrit.cloudera.org:8080/#/c/19557/1/fe/src/main/java/org/apache/impala/common/JniUtil.java
File fe/src/main/java/org/apache/impala/common/JniUtil.java:

http://gerrit.cloudera.org:8080/#/c/19557/1/fe/src/main/java/org/apache/impala/common/JniUtil.java@150
PS1, Line 150: silent
Could be 'silentStartAndFinish' as not all operations are silent.


http://gerrit.cloudera.org:8080/#/c/19557/1/fe/src/main/java/org/apache/impala/common/JniUtil.java@206
PS1, Line 206:   public static OperationLog logOperation(String methodName, String shortDescription) {
'logOperation()' and 'logOperationSilent()' only differ in the 'silent' parameter they pass to the constructor. Could extract the function body to a separate private helper function that takes the boolean as a parameter and these two public functions could call the helper with the appropriate parameter.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 1
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Tue, 28 Feb 2023 10:44:22 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 3:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/19557/2/fe/src/main/java/org/apache/impala/common/JniUtil.java
File fe/src/main/java/org/apache/impala/common/JniUtil.java:

http://gerrit.cloudera.org:8080/#/c/19557/2/fe/src/main/java/org/apache/impala/common/JniUtil.java@207
PS2, Line 207: logOperation
> Optional: I would not use the same name as for the public function, would u
Done


http://gerrit.cloudera.org:8080/#/c/19557/2/fe/src/main/java/org/apache/impala/common/JniUtil.java@219
PS2, Line 219: logOperationSilent
> I would consider calling it '...SilentStopAndFinish' here also (and also th
Done



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 3
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Tue, 28 Feb 2023 13:14:56 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 5: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 5
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 09:45:17 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 4:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 4
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 00:03:12 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 5: Verified-1

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 5
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 14:56:23 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 4: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 4
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 00:03:11 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 6:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 6
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 22:43:00 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 6: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 6
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 22:42:59 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 5:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 5
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 09:45:18 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

Posted by "Peter Rozsa (Code Review)" <ge...@cloudera.org>.
Hello Quanlong Huang, Daniel Becker, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/19557

to look at the new patch set (#3).

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................

IMPALA-11948: Remove operation logging from getCatalogServerMetrics

IMPALA-11478 added operation-level logging to every catalog method in
JniCatalog, but getCatalogServerMetrics operation is called many times
by catalogd itself. Start and finish logs for this operation are useless,
therefore only the warnings about size and elapsed time should remain.

Tests:
   - manually validated that warning-level logs are still generated
   - manually validated that start/finish log entries are not generated

Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
---
M fe/src/main/java/org/apache/impala/common/JniUtil.java
M fe/src/main/java/org/apache/impala/service/JniCatalog.java
M fe/src/main/java/org/apache/impala/service/JniCatalogOp.java
3 files changed, 69 insertions(+), 22 deletions(-)


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 3
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 3: Code-Review+1

Thanks.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 3
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Tue, 28 Feb 2023 13:44:45 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 3:

Build Successful 

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 3
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Tue, 28 Feb 2023 13:34:56 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/19557 )

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................

IMPALA-11948: Remove operation logging from getCatalogServerMetrics

IMPALA-11478 added operation-level logging to every catalog method in
JniCatalog, but getCatalogServerMetrics operation is called many times
by catalogd itself. Start and finish logs for this operation are useless,
therefore only the warnings about size and elapsed time should remain.

Tests:
   - manually validated that warning-level logs are still generated
   - manually validated that start/finish log entries are not generated

Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Reviewed-on: http://gerrit.cloudera.org:8080/19557
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M fe/src/main/java/org/apache/impala/common/JniUtil.java
M fe/src/main/java/org/apache/impala/service/JniCatalog.java
M fe/src/main/java/org/apache/impala/service/JniCatalogOp.java
3 files changed, 69 insertions(+), 22 deletions(-)

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

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 7
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 2:

(3 comments)

Thank you Daniel!

http://gerrit.cloudera.org:8080/#/c/19557/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/19557/1//COMMIT_MSG@11
PS1, Line 11: ar
> Nit: are
Done


http://gerrit.cloudera.org:8080/#/c/19557/1/fe/src/main/java/org/apache/impala/common/JniUtil.java
File fe/src/main/java/org/apache/impala/common/JniUtil.java:

http://gerrit.cloudera.org:8080/#/c/19557/1/fe/src/main/java/org/apache/impala/common/JniUtil.java@150
PS1, Line 150: silent
> Could be 'silentStartAndFinish' as not all operations are silent.
Done


http://gerrit.cloudera.org:8080/#/c/19557/1/fe/src/main/java/org/apache/impala/common/JniUtil.java@206
PS1, Line 206: 
> 'logOperation()' and 'logOperationSilent()' only differ in the 'silent' par
Done



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 2
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Tue, 28 Feb 2023 10:59:40 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 4: Verified-1

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 4
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 05:15:13 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 2:

Build Successful 

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 2
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Tue, 28 Feb 2023 11:19:18 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 6: Verified+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 6
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Thu, 02 Mar 2023 03:57:55 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

Posted by "Peter Rozsa (Code Review)" <ge...@cloudera.org>.
Hello Quanlong Huang, Daniel Becker, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/19557

to look at the new patch set (#2).

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................

IMPALA-11948: Remove operation logging from getCatalogServerMetrics

IMPALA-11478 added operation-level logging to every catalog method in
JniCatalog, but getCatalogServerMetrics operation is called many times
by catalogd itself. Start and finish logs for this operation are useless,
therefore only the warnings about size and elapsed time should remain.

Tests:
   - manually validated that warning-level logs are still generated
   - manually validated that start/finish log entries are not generated

Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
---
M fe/src/main/java/org/apache/impala/common/JniUtil.java
M fe/src/main/java/org/apache/impala/service/JniCatalog.java
M fe/src/main/java/org/apache/impala/service/JniCatalogOp.java
3 files changed, 61 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/19557/2
-- 
To view, visit http://gerrit.cloudera.org:8080/19557
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 2
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/19557/2/fe/src/main/java/org/apache/impala/common/JniUtil.java
File fe/src/main/java/org/apache/impala/common/JniUtil.java:

http://gerrit.cloudera.org:8080/#/c/19557/2/fe/src/main/java/org/apache/impala/common/JniUtil.java@207
PS2, Line 207: logOperation
Optional: I would not use the same name as for the public function, would use something like 'logOperationInternal' or '...Helper'.


http://gerrit.cloudera.org:8080/#/c/19557/2/fe/src/main/java/org/apache/impala/common/JniUtil.java@219
PS2, Line 219: logOperationSilent
I would consider calling it '...SilentStopAndFinish' here also (and also the appropriate functions in JniCatalog.java and JniCatalogOp.java. It is longer but much clearer.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 2
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Tue, 28 Feb 2023 12:18:21 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 1:

Build Successful 

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 1
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Tue, 28 Feb 2023 10:16:31 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-11948: Remove operation logging from getCatalogServerMetrics

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

Change subject: IMPALA-11948: Remove operation logging from getCatalogServerMetrics
......................................................................


Patch Set 3: Code-Review+2

Thanks for fixing this quickly!


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd01e9f42ccc6a4adce41caf8884ea3c2c781452
Gerrit-Change-Number: 19557
Gerrit-PatchSet: 3
Gerrit-Owner: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 00:02:29 +0000
Gerrit-HasComments: No