reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Matusevych (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (REEF-1903) Use canonical class names in HandlerContainer
Date Mon, 23 Oct 2017 17:39:00 GMT

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

Sergiy Matusevych updated REEF-1903:
------------------------------------
    Issue Type: Improvement  (was: Sub-task)
        Parent:     (was: REEF-335)

> Use canonical class names in HandlerContainer
> ---------------------------------------------
>
>                 Key: REEF-1903
>                 URL: https://issues.apache.org/jira/browse/REEF-1903
>             Project: REEF
>          Issue Type: Improvement
>          Components: Wake
>            Reporter: Sergiy Matusevych
>            Assignee: Sergiy Matusevych
>            Priority: Trivial
>              Labels: logging
>             Fix For: 0.17
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> {{HandlerContainer}} and a few other related classes in Wake use regular {{Class.getName()}}
method to log class name of the object being processed. That does not work for certain cases,
e.g. for arrays of primitive types, like {{byte[]}}, which results in unreadable log messages.
We need to use {{Class.getCanonicalName()}} instead to produce human-readable logs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message