[
https://issues.apache.org/jira/browse/YARN-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16063720#comment-16063720
]
Jason Lowe commented on YARN-6738:
----------------------------------
Thanks for the report and patch!
+1 lgtm. I'll commit this tomorrow if there are no objections.
> 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
> 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]