[ 
https://issues.apache.org/jira/browse/HADOOP-13742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brahma Reddy Battula updated HADOOP-13742:
------------------------------------------
    Attachment: HADOOP-13742-003.patch

Uploading the patch to address the race .


bq.one can step over another one adding a new count for the same user.
This can't happen now, since AtomicInteger is used.

bq.Also the decrement method could remove the hash map entry after this method 
verified it not being null.
Now,Increment will recheck again if the count was decremented.



> Expose "NumOpenConnectionsPerUser" as a metric
> ----------------------------------------------
>
>                 Key: HADOOP-13742
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13742
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HADOOP-13742-002.patch, HADOOP-13742-003.patch, 
> HADOOP-13742.patch
>
>
> To track user level connections( How many connections for each user) in busy 
> cluster where so many connections to server.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to