hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shweta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14494) Move Server logging of StatedId inside receiveRequestState()
Date Thu, 30 May 2019 20:28:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-14494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16852327#comment-16852327
] 

Shweta commented on HDFS-14494:
-------------------------------

[~xkrogen], [~shv] Can one of you please review this?

> Move Server logging of StatedId inside receiveRequestState()
> ------------------------------------------------------------
>
>                 Key: HDFS-14494
>                 URL: https://issues.apache.org/jira/browse/HDFS-14494
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Konstantin Shvachko
>            Assignee: Shweta
>            Priority: Major
>              Labels: newbie++
>         Attachments: HDFS-14494.001.patch
>
>
> HDFS-14270 introduced logging of the client and server StateIds in trace level. Unfortunately
one of the arguments {{alignmentContext.getLastSeenStateId()}} holds a lock on FSEdits, which
is called even if trace logging level is disabled. I propose to move logging message inside
{{GlobalStateIdContext.receiveRequestState()}} where {{clientStateId}} and {{serverStateId}}
already calculated and can be easily printed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message