You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Doug Service (JIRA)" <ji...@apache.org> on 2017/10/19 03:19:00 UTC
[jira] [Resolved] (REEF-1903) Use canonical class names in
HandlerContainer
[ https://issues.apache.org/jira/browse/REEF-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Service resolved REEF-1903.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.17
https://github.com/apache/reef/pull/1392
> 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)