[ 
https://issues.apache.org/jira/browse/HDDS-3607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Fajth updated HDDS-3607:
-------------------------------
    Description: 
During DataNode startup, when we replay the edits to the StateMachine, a lot of 
warnings are emitted to the log depending on the amount of replayed 
transactions, one warning for each. The warning states the edit is ignored at 
this point in the 
org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl class:

{code}
WARN org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl: 
blockCommitSequenceId 1128422 in the Container Db is greater than the supplied 
value 1120656. Ignoring it
{code}

I think as this does not show any problem, and there can be an awful lot from 
this message just spamming the log at startup, we should move this to DEBUG 
level instead of WARN.
Attaching a PR with the change.

  was:
During DataNode startup, when we replay the edits to the StateMachine, a lot of 
warnings are emitted to the log depending on the amount of replayed 
transactions, one warning for each. The warning states the edit is ignored at 
this point in the 
org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl class:

{code}
2020-05-14 18:22:53,672 WARN 
org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl: 
blockCommitSequenceId 1128422 in the Container Db is greater than the supplied 
value 1120656. Ignoring it
{code}

I think as this does not show any problem, and there can be an awful lot from 
this message just spamming the log at startup, we should move this to DEBUG 
level instead of WARN.
Attaching a PR with the change.


> Lot of warnings at DN startup
> -----------------------------
>
>                 Key: HDDS-3607
>                 URL: https://issues.apache.org/jira/browse/HDDS-3607
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Istvan Fajth
>            Priority: Minor
>
> During DataNode startup, when we replay the edits to the StateMachine, a lot 
> of warnings are emitted to the log depending on the amount of replayed 
> transactions, one warning for each. The warning states the edit is ignored at 
> this point in the 
> org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl class:
> {code}
> WARN org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl: 
> blockCommitSequenceId 1128422 in the Container Db is greater than the 
> supplied value 1120656. Ignoring it
> {code}
> I think as this does not show any problem, and there can be an awful lot from 
> this message just spamming the log at startup, we should move this to DEBUG 
> level instead of WARN.
> Attaching a PR with the change.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to