You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/09/25 09:53:27 UTC
[GitHub] [hadoop-ozone] captainzmc opened a new pull request #1446: HDDS-4274. Change the log level of the SCM Delete block to improve performance.
captainzmc opened a new pull request #1446:
URL: https://github.com/apache/hadoop-ozone/pull/1446
## What changes were proposed in this pull request?
There are scenarios in which the DELETE operation is very frequent. Now that info level logs in SCM are affecting performance, we should change this to Debug
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4274
## How was this patch tested?
no need add ut.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao merged pull request #1446: HDDS-4274. Change the log level of the SCM Delete block to improve performance.
Posted by GitBox <gi...@apache.org>.
xiaoyuyao merged pull request #1446:
URL: https://github.com/apache/hadoop-ozone/pull/1446
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] captainzmc closed pull request #1446: HDDS-4274. Change the log level of the SCM Delete block to improve performance.
Posted by GitBox <gi...@apache.org>.
captainzmc closed pull request #1446:
URL: https://github.com/apache/hadoop-ozone/pull/1446
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] captainzmc commented on a change in pull request #1446: HDDS-4274. Change the log level of the SCM Delete block to improve performance.
Posted by GitBox <gi...@apache.org>.
captainzmc commented on a change in pull request #1446:
URL: https://github.com/apache/hadoop-ozone/pull/1446#discussion_r495517233
##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java
##########
@@ -218,7 +218,7 @@ public void join() throws InterruptedException {
@Override
public List<DeleteBlockGroupResult> deleteKeyBlocks(
List<BlockGroup> keyBlocksInfoList) throws IOException {
- LOG.info("SCM is informed by OM to delete {} blocks", keyBlocksInfoList
+ LOG.debug("SCM is informed by OM to delete {} blocks", keyBlocksInfoList
Review comment:
Thanks for @amaliujia's prompt, judgment has been added.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on pull request #1446: HDDS-4274. Change the log level of the SCM Delete block to improve performance.
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on pull request #1446:
URL: https://github.com/apache/hadoop-ozone/pull/1446#issuecomment-703192638
Thanks @captainzmc for the contribution and all for the reviews. PR has been merged.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] amaliujia commented on a change in pull request #1446: HDDS-4274. Change the log level of the SCM Delete block to improve performance.
Posted by GitBox <gi...@apache.org>.
amaliujia commented on a change in pull request #1446:
URL: https://github.com/apache/hadoop-ozone/pull/1446#discussion_r495508443
##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java
##########
@@ -218,7 +218,7 @@ public void join() throws InterruptedException {
@Override
public List<DeleteBlockGroupResult> deleteKeyBlocks(
List<BlockGroup> keyBlocksInfoList) throws IOException {
- LOG.info("SCM is informed by OM to delete {} blocks", keyBlocksInfoList
+ LOG.debug("SCM is informed by OM to delete {} blocks", keyBlocksInfoList
Review comment:
If changing to debug level, then better to add `if (LOG.isDebugEnabled())`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org