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

Sangjin Lee commented on YARN-3437:
-----------------------------------

Thanks Junping. I initially went with ConcurrentHashMap when I first created 
this as that is my preference as well. But it was really preventing multiple 
threads from starting their collector (should that situation arise) that made 
ConcurrentHashMap not an option. Again, if we want both, we would need to look 
at the LoadingCache. But since this is really a low contention situation, it 
would be an overkill. The chances of this code running into a lock contention 
should be low.

> convert load test driver to timeline service v.2
> ------------------------------------------------
>
>                 Key: YARN-3437
>                 URL: https://issues.apache.org/jira/browse/YARN-3437
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Sangjin Lee
>            Assignee: Sangjin Lee
>         Attachments: YARN-3437.001.patch, YARN-3437.002.patch, 
> YARN-3437.003.patch, YARN-3437.004.patch
>
>
> This subtask covers the work for converting the proposed patch for the load 
> test driver (YARN-2556) to work with the timeline service v.2.



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

Reply via email to