hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5340) Race condition in RollingLevelDBTimelineStore#getAndSetStartTime()
Date Mon, 18 Jul 2016 18:09:20 GMT

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

Li Lu commented on YARN-5340:
-----------------------------

bq. we are making levelDB inserts with the lock held after the patch
Not really... Getting the start timestamp is one step inside the insert process. We're making
the step of getting the timestamp synchronized, but the insert process itself is not. Most
of times, the get timestamp operation involves a synchronized hashmap query, which was protected
by a coarse grain lock before. 

> Race condition in RollingLevelDBTimelineStore#getAndSetStartTime()
> ------------------------------------------------------------------
>
>                 Key: YARN-5340
>                 URL: https://issues.apache.org/jira/browse/YARN-5340
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>            Reporter: Sumana Sathish
>            Assignee: Li Lu
>            Priority: Critical
>         Attachments: YARN-5340-trunk.001.patch
>
>
> App Name/User/RPC Port/AM Host info is missing from ATS web service or YARN CLI's app
info
> {code}
> RUNNING: /usr/hdp/current/hadoop-yarn-client/bin/yarn --config /tmp/hadoopConf application
-status application_1467931619679_0001
> Application Report :
> Application-Id : application_1467931619679_0001
> Application-Name : null
> Application-Type : null
> User : null
> Queue : null
> Application Priority : null
> Start-Time : 0
> Finish-Time : 1467931672057
> Progress : 100%
> State : FINISHED
> Final-State : SUCCEEDED
> Tracking-URL : N/A
> RPC Port : -1
> AM Host : N/A
> Aggregate Resource Allocation : 290014 MB-seconds, 74 vcore-seconds
> Log Aggregation Status : N/A
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message