geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-114) There's race condition in DefaultGemFireConnection.getRegionProxy
Date Thu, 16 Jul 2015 17:33:05 GMT

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

ASF subversion and git services commented on GEODE-114:
-------------------------------------------------------

Commit 89b9aaff835cd3545a94bd5b06ce7f0a4c8a2b4b in incubator-geode's branch refs/heads/feature/GEODE-9
from [~qihong]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=89b9aaf ]

Merge branch 'GEODE-114' into feature/GEODE-9


> There's race condition in DefaultGemFireConnection.getRegionProxy
> -----------------------------------------------------------------
>
>                 Key: GEODE-114
>                 URL: https://issues.apache.org/jira/browse/GEODE-114
>             Project: Geode
>          Issue Type: Sub-task
>          Components: core, extensions
>    Affects Versions: 1.0.0-incubating
>            Reporter: Qihong Chen
>            Assignee: Qihong Chen
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> when multiple threads try to call getRegionProxy with the same region at the same time,
the following exception was thrown:
> com.gemstone.gemfire.cache.RegionExistsException: /debs
> at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.createVMRegion(GemFireCacheImpl.java:2880)
> at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreateRegion(GemFireCacheImpl.java:2835)
> at com.gemstone.gemfire.cache.client.internal.ClientRegionFactoryImpl.create(ClientRegionFactoryImpl.java:223)
> at io.pivotal.gemfire.spark.connector.internal.DefaultGemFireConnection.getRegionProxy(DefaultGemFireConnection.scala:87)
> at io.pivotal.gemfire.spark.connector.internal.rdd.GemFirePairRDDWriter.write(GemFireRDDWriter.scala:47)
> at io.pivotal.gemfire.spark.connector.GemFirePairRDDFunctions$$anonfun$saveToGemfire$2.apply(GemFirePairRDDFunctions.scala:24)
> at io.pivotal.gemfire.spark.connector.GemFirePairRDDFunctions$$anonfun$saveToGemfire$2.apply(GemFirePairRDDFunctions.scala:24)
> at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
> at org.apache.spark.scheduler.Task.run(Task.scala:64)
> at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)



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

Mime
View raw message