hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4815) ATS 1.5 timelineclinet impl try to create attempt directory for every event call
Date Thu, 17 Mar 2016 13:47:33 GMT

    [ https://issues.apache.org/jira/browse/YARN-4815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199541#comment-15199541
] 

Junping Du commented on YARN-4815:
----------------------------------

bq.  My concern is that we do not need to have separate caches for each use cases if they
can be modeled by Guava.
I see. There are pros and cons to use third party library like Guava. The good thing is it
simply implementation, like: we don't need to handle synchronization in this case. However,
the general concern is the consistent (interface and behavior) of APIs is not that promising
(even Java API has this problem but we have no other choices), also it is hard to follow bug
fix across different versions. I don't have strong preference to use Guava or not. But this
shouldn't be the reason to keep patch get in as no consensus in community yet.

Any other comments on patch?

> ATS 1.5 timelineclinet impl try to create attempt directory for every event call
> --------------------------------------------------------------------------------
>
>                 Key: YARN-4815
>                 URL: https://issues.apache.org/jira/browse/YARN-4815
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-4815.1.patch
>
>
> ATS 1.5 timelineclinet impl, try to create attempt directory for every event call. Since
per attempt only one call to create directory is enough, this is causing perf issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message