[
https://issues.apache.org/jira/browse/YARN-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065519#comment-16065519
]
Junping Du commented on YARN-6738:
----------------------------------
+1. Patch LGTM as well.
> LevelDBCacheTimelineStore should reuse ObjectMapper instances
> -------------------------------------------------------------
>
> Key: YARN-6738
> URL: https://issues.apache.org/jira/browse/YARN-6738
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineserver
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Attachments: Screen Shot 2017-06-23 at 2.43.06 PM.png,
> YARN-6738.1.patch, YARN-6738.2.patch
>
>
> Using TezUI sometimes times out...and the cause of it was that the query was
> quite large; and the leveldb handler seems like recreates the
> {{ObjectMapper}} for every read - this is unfortunate; since the ObjectMapper
> have to rescan the class annotations which may take some time.
> Keeping the objectmapper reduces the ATS call time from 17 seconds to 3
> seconds for me...which was enough to get my tez-ui working again :)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]