You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2019/10/18 20:42:00 UTC
[jira] [Resolved] (HDDS-2318) Avoid proto::tostring in
preconditions to save CPU cycles
[ https://issues.apache.org/jira/browse/HDDS-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharat Viswanadham resolved HDDS-2318.
--------------------------------------
Fix Version/s: 0.5.0
Resolution: Fixed
> Avoid proto::tostring in preconditions to save CPU cycles
> ---------------------------------------------------------
>
> Key: HDDS-2318
> URL: https://issues.apache.org/jira/browse/HDDS-2318
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Manager
> Reporter: Rajesh Balamohan
> Assignee: Bharat Viswanadham
> Priority: Major
> Labels: performance, pull-request-available
> Fix For: 0.5.0
>
> Attachments: Screenshot 2019-10-17 at 6.10.22 PM.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [https://github.com/apache/hadoop-ozone/blob/61f4aa30f502b34fd778d9b37b1168721abafb2f/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerProtocolServerSideTranslatorPB.java#L117]
>
> This ends up converting proto toString in precondition checks and burns CPU cycles. {{request.toString()}} can be added in debug log on need basis.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org