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

Elek, Marton updated HDDS-282:
------------------------------
    Status: Patch Available  (was: Open)

> Consolidate logging in scm/container-service 
> ---------------------------------------------
>
>                 Key: HDDS-282
>                 URL: https://issues.apache.org/jira/browse/HDDS-282
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-282.001.patch
>
>
> During real cluster tests, I found some logging/error handling very annoying.
> I propose to improve the following behaviour:
>  # In case of datanode-> scm communication failure we don't log the 
> exception. As there (EndpointStateMachine.java:L206). As the messages have 
> already been throttled I think it's safe to log the exception.
>  # In BlockDeletingServlce:L123, I would log the message (Plan to choose {} 
> containers for block deletion, actually returns {} valid containers) only if 
> the number of valid containers is greater than 0.
>  # EventQueue could log a warning if handlers is missing for a message 
> (instead of an exception)
>  # TypedEvent should have a toString method (as it's used in the EventQueue 
> logging).



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

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

Reply via email to