[jira] [Assigned] (GEODE-1350) JUnit 4 Category plus Parameterized results in tests being skipped during build

2016-05-11 Thread Jens Deppe (JIRA)

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

Jens Deppe reassigned GEODE-1350:
-

Assignee: Jens Deppe

> JUnit 4 Category plus Parameterized results in tests being skipped during 
> build
> ---
>
> Key: GEODE-1350
> URL: https://issues.apache.org/jira/browse/GEODE-1350
> Project: Geode
>  Issue Type: Bug
>  Components: build, management
>Reporter: Kirk Lund
>Assignee: Jens Deppe
>
> As of JUnit 4.12, the use of Categories with the Parameterized runner is 
> broken and may not get fixed by the JUnit community.
> All Geode tests using Parameterized should be reimplemented to use 
> JUnitParamsRunner.
> Example 1 of test using JUnitParamsRunner:
> {noformat}
> @Category(UnitTest.class)
> @RunWith(JUnitParamsRunner.class)
> public class LogServiceJUnitTest {
>   @Test
>   @Parameters(method = "getToLevelParameters")
>   public void toLevelShouldReturnMatchingLog4jLevel(final int intLevel, final 
> Level level) {
> assertThat(LogService.toLevel(intLevel)).isSameAs(level);
>   }
>   private static final Object[] getToLevelParameters() {
> return $(
> new Object[] { 0, Level.OFF },
> new Object[] { 100, Level.FATAL },
> new Object[] { 200, Level.ERROR },
> new Object[] { 300, Level.WARN },
> new Object[] { 400, Level.INFO },
> new Object[] { 500, Level.DEBUG },
> new Object[] { 600, Level.TRACE },
> new Object[] { Integer.MAX_VALUE, Level.ALL }
> );
>   }
> {noformat}
> Example 2 of test using JUnitParamsRunner:
> {noformat}
> @Category(UnitTest.class)
> @RunWith(JUnitParamsRunner.class)
> public class RegionEntryFactoryBuilderJUnitTest {
>   /**
>* This method will test that the correct RegionEntryFactory is created
>* dependent on the 5 conditionals:
>* enableStats, enableLRU, enableDisk, enableVersion, enableOffHeap
>*/
>   @Test
>   @Parameters({
>   "VMThinRegionEntryHeapFactory,false,false,false,false,false",
>   "VMThinRegionEntryOffHeapFactory,false,false,false,false,true",
>   "VersionedThinRegionEntryHeapFactory,false,false,false,true,false",
>   "VersionedThinRegionEntryOffHeapFactory,false,false,false,true,true",
>   "VMThinDiskRegionEntryHeapFactory,false,false,true,false,false",
>   "VMThinDiskRegionEntryOffHeapFactory,false,false,true,false,true",
>   "VersionedThinDiskRegionEntryHeapFactory,false,false,true,true,false",
>   "VersionedThinDiskRegionEntryOffHeapFactory,false,false,true,true,true",
>   "VMThinLRURegionEntryHeapFactory,false,true,false,false,false",
>   "VMThinLRURegionEntryOffHeapFactory,false,true,false,false,true",
>   "VersionedThinLRURegionEntryHeapFactory,false,true,false,true,false",
>   "VersionedThinLRURegionEntryOffHeapFactory,false,true,false,true,true",
>   "VMThinDiskLRURegionEntryHeapFactory,false,true,true,false,false",
>   "VMThinDiskLRURegionEntryOffHeapFactory,false,true,true,false,true",
>   "VersionedThinDiskLRURegionEntryHeapFactory,false,true,true,true,false",
>   
> "VersionedThinDiskLRURegionEntryOffHeapFactory,false,true,true,true,true",
>   "VMStatsRegionEntryHeapFactory,true,false,false,false,false",
>   "VMStatsRegionEntryOffHeapFactory,true,false,false,false,true",
>   "VersionedStatsRegionEntryHeapFactory,true,false,false,true,false",
>   "VersionedStatsRegionEntryOffHeapFactory,true,false,false,true,true",
>   "VMStatsDiskRegionEntryHeapFactory,true,false,true,false,false",
>   "VMStatsDiskRegionEntryOffHeapFactory,true,false,true,false,true",
>   "VersionedStatsDiskRegionEntryHeapFactory,true,false,true,true,false",
>   "VersionedStatsDiskRegionEntryOffHeapFactory,true,false,true,true,true",
>   "VMStatsLRURegionEntryHeapFactory,true,true,false,false,false",
>   "VMStatsLRURegionEntryOffHeapFactory,true,true,false,false,true",
>   "VersionedStatsLRURegionEntryHeapFactory,true,true,false,true,false",
>   "VersionedStatsLRURegionEntryOffHeapFactory,true,true,false,true,true",
>   "VMStatsDiskLRURegionEntryHeapFactory,true,true,true,false,false",
>   "VMStatsDiskLRURegionEntryOffHeapFactory,true,true,true,false,true",
>   "VersionedStatsDiskLRURegionEntryHeapFactory,true,true,true,true,false",
>   
> "VersionedStatsDiskLRURegionEntryOffHeapFactory,true,true,true,true,true"
>   })
>   public void testRegionEntryFactoryUnitTest(String factoryName, boolean 
> enableStats, boolean enableLRU, boolean enableDisk,
>   boolean enableVersioning, boolean enableOffHeap) {
> assertEquals(factoryName,
> regionEntryFactoryBuilder.getRegionEntryFactoryOrNull(enableStats, 
> enableLRU, enableDisk, enableVersioning, 
> enableOffHeap).getClass().getSimpleName());
>   

[jira] [Resolved] (GEODE-1370) Rename SharedConfiguration.destroySharedConfiguration_forTestsOnly back to destroySharedConfiguration()

2016-05-11 Thread Kirk Lund (JIRA)

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

Kirk Lund resolved GEODE-1370.
--
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

> Rename SharedConfiguration.destroySharedConfiguration_forTestsOnly back to 
> destroySharedConfiguration()
> ---
>
> Key: GEODE-1370
> URL: https://issues.apache.org/jira/browse/GEODE-1370
> Project: Geode
>  Issue Type: Bug
>  Components: general
>Reporter: Kirk Lund
>Assignee: Kirk Lund
> Fix For: 1.0.0-incubating.M3
>
>
> The method destroySharedConfiguration() was renamed to 
> destroySharedConfiguration_forTestsOnly() because it's an API that should 
> only be used by tests (which is generally a very bad way to handle stuff like 
> this).
> Spring Data GemFire depends on this API so we should just revert this method 
> to its original name.



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


[jira] [Resolved] (GEODE-248) move BoundedLinkedHashMap to internal package and undeprecate

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider resolved GEODE-248.

   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

fixed in revision: 
http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/fc943cb8

> move BoundedLinkedHashMap to internal package and undeprecate
> -
>
> Key: GEODE-248
> URL: https://issues.apache.org/jira/browse/GEODE-248
> Project: Geode
>  Issue Type: Sub-task
>Reporter: Darrel Schneider
>Assignee: Darrel Schneider
> Fix For: 1.0.0-incubating.M3
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> BoundedLinkedHashMap is currently in an external package and looks like one 
> of the apis we support. But it is really for internal use. It was deprecated 
> as an external api.
> So it should be moved to an internal package and the deprecated tag removed.
> Bruce has already been working with this class as part of the jgroups work so 
> I've assigned this task to him.



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


[jira] [Resolved] (GEODE-1282) missing release of GatewaySenderEventImpl when it is removed from tempQueue

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider resolved GEODE-1282.
-
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

fixed in revision: 
http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/463ae16a

> missing release of GatewaySenderEventImpl when it is removed from tempQueue
> ---
>
> Key: GEODE-1282
> URL: https://issues.apache.org/jira/browse/GEODE-1282
> Project: Geode
>  Issue Type: Bug
>  Components: offheap
>Reporter: Darrel Schneider
>Assignee: Darrel Schneider
> Fix For: 1.0.0-incubating.M3
>
>
> This code might be the cause of off-heap orphans in gateway tests:
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelQueueRemovalMessage.destroyFromTempQueue(PartitionedRegion,
>  int, Object)
>   BlockingQueue tempQueue = prq
> .getBucketTmpQueue(bId);
>   if (tempQueue != null) {
> Iterator itr = tempQueue.iterator();
> while (itr.hasNext()) {
>   GatewaySenderEventImpl eventForFilter = itr.next();
>   //fix for #48082
>   
> afterAckForSecondary_EventInTempQueue(qPR.getParallelGatewaySender(), 
> eventForFilter);
>   if (eventForFilter.getShadowKey().equals(key)) {
> itr.remove();
> isDestroyed = true;
>   }
> }
>   }
> The bug is when it does "itr.remove();". It needs to also do 
> "eventForFilter.release();".



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


[jira] [Resolved] (GEODE-1356) DataAsAddress should not be used in comments and strings

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider resolved GEODE-1356.
-
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

fixed in revision: 
http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/4d522605

> DataAsAddress should not be used in comments and strings
> 
>
> Key: GEODE-1356
> URL: https://issues.apache.org/jira/browse/GEODE-1356
> Project: Geode
>  Issue Type: Bug
>  Components: offheap
>Reporter: Darrel Schneider
>Assignee: Darrel Schneider
>Priority: Trivial
> Fix For: 1.0.0-incubating.M3
>
>
> The offheap implementation used to have a class named DataAsAddress.
> It no longer does. But we still have some places in the code that use this 
> name.
> For example:
> UnsupportedOperationException("Did not expect DataAsAddress to be 
> compressed");
> should be changed to:
> UnsupportedOperationException("Did not expect encoded address to be 
> compressed");
> Another:
> // else it is DataAsAddress. This code just returns it as prepared.
> should be:
> // else it is has no refCount so just return it as prepared.
> Also the method: getSerializedLengthFromDataAsAddress should be renamed (or 
> removed since it is deadcode).



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


[jira] [Resolved] (GEODE-1379) Documentation should make clear that offheap regions will always clone when deltas are applied

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider resolved GEODE-1379.
-
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

fixed in revision: 
http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/f4a16799

> Documentation should make clear that offheap regions will always clone when 
> deltas are applied
> --
>
> Key: GEODE-1379
> URL: https://issues.apache.org/jira/browse/GEODE-1379
> Project: Geode
>  Issue Type: Improvement
>  Components: docs, offheap
>Reporter: Darrel Schneider
>Assignee: Darrel Schneider
> Fix For: 1.0.0-incubating.M3
>
>
> Regions have a cloning-enabled attribute that when false usually means that a 
> clone of the object will not be created when a Delta is applied.
> But when the region is also offheap the cloning-enabled attribute will be 
> ignored and the region will behave as if it was set to true.
> This is because offheap regions store the value in serialized form. To apply 
> a Delta to the value requires that the value be deserialized. Doing a 
> deserialization is the same as making a clone.



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


[jira] [Assigned] (GEODE-1354) CI failure:Simple2CacheServerDUnitTest.testNormalClient2MultipleCacheServer

2016-05-11 Thread xiaojian zhou (JIRA)

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

xiaojian zhou reassigned GEODE-1354:


Assignee: xiaojian zhou

> CI failure:Simple2CacheServerDUnitTest.testNormalClient2MultipleCacheServer
> ---
>
> Key: GEODE-1354
> URL: https://issues.apache.org/jira/browse/GEODE-1354
> Project: Geode
>  Issue Type: Bug
>  Components: client queues
>Reporter: Hitesh Khamesra
>Assignee: xiaojian zhou
>  Labels: CI
>
> Stacktrace
> junit.framework.AssertionFailedError
>   at junit.framework.Assert.fail(Assert.java:55)
>   at junit.framework.Assert.assertTrue(Assert.java:22)
>   at junit.framework.Assert.assertTrue(Assert.java:31)
>   at junit.framework.TestCase.assertTrue(TestCase.java:201)
>   at 
> com.gemstone.gemfire.internal.cache.wan.Simple2CacheServerDUnitTest.doMultipleCacheServer(Simple2CacheServerDUnitTest.java:87)
>   at 
> com.gemstone.gemfire.internal.cache.wan.Simple2CacheServerDUnitTest.testNormalClient2MultipleCacheServer(Simple2CacheServerDUnitTest.java:52)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:252)
>   at junit.framework.TestSuite.run(TestSuite.java:247)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
>   at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
>   at 
> org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)



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


[jira] [Resolved] (GEODE-1354) CI failure:Simple2CacheServerDUnitTest.testNormalClient2MultipleCacheServer

2016-05-11 Thread xiaojian zhou (JIRA)

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

xiaojian zhou resolved GEODE-1354.
--
Resolution: Fixed

It's fixed in revision 4ad4d63ca7b40c1450df1253ece0912f8529220f

> CI failure:Simple2CacheServerDUnitTest.testNormalClient2MultipleCacheServer
> ---
>
> Key: GEODE-1354
> URL: https://issues.apache.org/jira/browse/GEODE-1354
> Project: Geode
>  Issue Type: Bug
>  Components: client queues
>Reporter: Hitesh Khamesra
>Assignee: xiaojian zhou
>  Labels: CI
>
> Stacktrace
> junit.framework.AssertionFailedError
>   at junit.framework.Assert.fail(Assert.java:55)
>   at junit.framework.Assert.assertTrue(Assert.java:22)
>   at junit.framework.Assert.assertTrue(Assert.java:31)
>   at junit.framework.TestCase.assertTrue(TestCase.java:201)
>   at 
> com.gemstone.gemfire.internal.cache.wan.Simple2CacheServerDUnitTest.doMultipleCacheServer(Simple2CacheServerDUnitTest.java:87)
>   at 
> com.gemstone.gemfire.internal.cache.wan.Simple2CacheServerDUnitTest.testNormalClient2MultipleCacheServer(Simple2CacheServerDUnitTest.java:52)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:252)
>   at junit.framework.TestSuite.run(TestSuite.java:247)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
>   at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
>   at 
> org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)



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


[jira] [Resolved] (GEODE-1289) RegionEntry.getValueInVM result should not be @Retained

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider resolved GEODE-1289.
-
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

fixed in revision: 
http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/3ebcf1f7

> RegionEntry.getValueInVM result should not be @Retained
> ---
>
> Key: GEODE-1289
> URL: https://issues.apache.org/jira/browse/GEODE-1289
> Project: Geode
>  Issue Type: Bug
>  Components: offheap
>Reporter: Darrel Schneider
>Assignee: Darrel Schneider
> Fix For: 1.0.0-incubating.M3
>
>
> The method RegionEntry.getValueInVM has its result marked as @Retained.
> However the implementation always copies the result to the heap (see 
> AbstractRegionEntry.getValueInVM which uses copyAndReleaseIfNeeded).
> All the callers of this method need to also be checked because many of them 
> also say they are @Retained and they even have try/finally code to do a 
> release that is not needed.



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


[jira] [Resolved] (GEODE-1330) XML is generated for internal lucene _data.files and _data.chunks regions

2016-05-11 Thread Barry Oglesby (JIRA)

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

Barry Oglesby resolved GEODE-1330.
--
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

> XML is generated for internal lucene _data.files and _data.chunks regions
> -
>
> Key: GEODE-1330
> URL: https://issues.apache.org/jira/browse/GEODE-1330
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Barry Oglesby
>Assignee: Barry Oglesby
> Fix For: 1.0.0-incubating.M3
>
>
> If a {{Cache}} is created from this xml:
> {noformat}
> 
>   
> 
>  analyzer="org.apache.lucene.analysis.core.KeywordAnalyzer"/>
> 
>   
> 
> {noformat}
> Xml generated from that {{Cache}} includes the internal *{{_data.files}}* and 
> *{{_data.chunks}}* {{Regions}}:
> {noformat}
> 
>   http://geode.apache.org/schema/lucene"; 
> name="trade_index">
> 
>  analyzer="org.apache.lucene.analysis.core.KeywordAnalyzer"/>
> 
>   
> 
> 
>   ...
> 
> 
>  ...
> 
> {noformat}



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


[jira] [Assigned] (GEODE-1252) CI failure: ClientToServerDeltaDUnitTest.testClientsConnectedToEmptyServer

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider reassigned GEODE-1252:
---

Assignee: Darrel Schneider

> CI failure: ClientToServerDeltaDUnitTest.testClientsConnectedToEmptyServer
> --
>
> Key: GEODE-1252
> URL: https://issues.apache.org/jira/browse/GEODE-1252
> Project: Geode
>  Issue Type: Bug
>  Components: regions
>Reporter: Jens Deppe
>Assignee: Darrel Schneider
>  Labels: CI
>
> Build # 2299
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest$$Lambda$462/36078231.call
>  in VM 1 running on Host japan.gemstone.com with 4 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest$$Lambda$462/36078231.call
>  in VM 1 running on Host japan.gemstone.com with 4 VMs
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:389)
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:355)
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:320)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest.testClientsConnectedToEmptyServer(ClientToServerDeltaDUnitTest.java:747)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:252)
>   at junit.framework.TestSuite.run(TestSuite.java:247)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
>   at 
> org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.T

[jira] [Updated] (GEODE-1380) PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores fails with AssertionFailedError

2016-05-11 Thread Kirk Lund (JIRA)

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

Kirk Lund updated GEODE-1380:
-
Labels: Ci Flaky  (was: )

> PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores
>  fails with AssertionFailedError
> --
>
> Key: GEODE-1380
> URL: https://issues.apache.org/jira/browse/GEODE-1380
> Project: Geode
>  Issue Type: Bug
>  Components: persistence
>Reporter: Kirk Lund
>  Labels: Ci, Flaky
>
> {noformat}
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.partitioned.PersistentPartitionedRegionTestBase$5.run
>  in VM 0 running on Host ip-10-32-38-210.ore1.vpc.pivotal.io with 4 VMs
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:389)
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:355)
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:293)
>   at 
> com.gemstone.gemfire.internal.cache.partitioned.PersistentPartitionedRegionTestBase.checkData(PersistentPartitionedRegionTestBase.java:188)
>   at 
> com.gemstone.gemfire.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.rebalanceWithOfflineChildRegion(PersistentColocatedPartitionedRegionDUnitTest.java:1543)
>   at 
> com.gemstone.gemfire.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores(PersistentColocatedPartitionedRegionDUnitTest.java:1401)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:252)
>   at junit.framework.TestSuite.run(TestSuite.java:247)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
>   at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
>   at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
>   at 
> org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java

[jira] [Created] (GEODE-1380) PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores fails with AssertionFailedError

2016-05-11 Thread Kirk Lund (JIRA)
Kirk Lund created GEODE-1380:


 Summary: 
PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores
 fails with AssertionFailedError
 Key: GEODE-1380
 URL: https://issues.apache.org/jira/browse/GEODE-1380
 Project: Geode
  Issue Type: Bug
  Components: persistence
Reporter: Kirk Lund


{noformat}
com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.internal.cache.partitioned.PersistentPartitionedRegionTestBase$5.run
 in VM 0 running on Host ip-10-32-38-210.ore1.vpc.pivotal.io with 4 VMs
at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:389)
at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:355)
at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:293)
at 
com.gemstone.gemfire.internal.cache.partitioned.PersistentPartitionedRegionTestBase.checkData(PersistentPartitionedRegionTestBase.java:188)
at 
com.gemstone.gemfire.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.rebalanceWithOfflineChildRegion(PersistentColocatedPartitionedRegionDUnitTest.java:1543)
at 
com.gemstone.gemfire.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores(PersistentColocatedPartitionedRegionDUnitTest.java:1401)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at 
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at 
org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at 
org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
at 
org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at 
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at 
org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
at 
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
at 
org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: junit.framework.AssertionFailedError: For key 14 expected: but 
was:
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.TestCase.assertEquals(TestCase.java:24

[jira] [Commented] (GEODE-1380) PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores fails with AssertionFailedError

2016-05-11 Thread Kirk Lund (JIRA)

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

Kirk Lund commented on GEODE-1380:
--

Previously run tests: [RemoveGlobalDUnitTest, SingleHopStatsDUnitTest, 
SizingFlagDUnitTest, SystemFailureDUnitTest, 
PersistentPartitionedRegionWithTransactionDUnitTest, Bug39356DUnitTest, 
Bug43684DUnitTest, Bug47388DUnitTest, Bug51400DUnitTest, ElidedPutAllDUnitTest, 
PartitionResolverDUnitTest, PartitionedRegionLoaderWriterDUnitTest, 
PartitionedRegionMetaDataCleanupDUnitTest, PersistPRKRFDUnitTest, 
PersistentColocatedPartitionedRegionDUnitTest]

> PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores
>  fails with AssertionFailedError
> --
>
> Key: GEODE-1380
> URL: https://issues.apache.org/jira/browse/GEODE-1380
> Project: Geode
>  Issue Type: Bug
>  Components: persistence
>Reporter: Kirk Lund
>  Labels: Ci, Flaky
>
> {noformat}
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.partitioned.PersistentPartitionedRegionTestBase$5.run
>  in VM 0 running on Host ip-10-32-38-210.ore1.vpc.pivotal.io with 4 VMs
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:389)
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:355)
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:293)
>   at 
> com.gemstone.gemfire.internal.cache.partitioned.PersistentPartitionedRegionTestBase.checkData(PersistentPartitionedRegionTestBase.java:188)
>   at 
> com.gemstone.gemfire.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.rebalanceWithOfflineChildRegion(PersistentColocatedPartitionedRegionDUnitTest.java:1543)
>   at 
> com.gemstone.gemfire.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.testRebalanceWithOfflineChildRegionTwoDiskStores(PersistentColocatedPartitionedRegionDUnitTest.java:1401)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:252)
>   at junit.framework.TestSuite.run(TestSuite.java:247)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
>   at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
>   at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remot

[jira] [Commented] (GEODE-1252) CI failure: ClientToServerDeltaDUnitTest.testClientsConnectedToEmptyServer

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider commented on GEODE-1252:
-

If a concurrent thread is also setting the bits field then it can cause the 
recorded bit to not have been set by the caller if "setRecorded" which will 
cause the assert to fail. But the code continues on to actually record the 
version and then in the future may redundantly record it again since the bit 
was not set. So as long as assertions are not enabled this bug should not cause 
any problem for a customer.


> CI failure: ClientToServerDeltaDUnitTest.testClientsConnectedToEmptyServer
> --
>
> Key: GEODE-1252
> URL: https://issues.apache.org/jira/browse/GEODE-1252
> Project: Geode
>  Issue Type: Bug
>  Components: regions
>Reporter: Jens Deppe
>Assignee: Darrel Schneider
>  Labels: CI
>
> Build # 2299
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest$$Lambda$462/36078231.call
>  in VM 1 running on Host japan.gemstone.com with 4 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest$$Lambda$462/36078231.call
>  in VM 1 running on Host japan.gemstone.com with 4 VMs
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:389)
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:355)
>   at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:320)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest.testClientsConnectedToEmptyServer(ClientToServerDeltaDUnitTest.java:747)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:252)
>   at junit.framework.TestSuite.run(TestSuite.java:247)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.jav

[jira] [Resolved] (GEODE-1371) Delete unused test/java/com/gemstone/gemfire/test/golden/log4j2-test.xml

2016-05-11 Thread Kirk Lund (JIRA)

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

Kirk Lund resolved GEODE-1371.
--
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

> Delete unused test/java/com/gemstone/gemfire/test/golden/log4j2-test.xml
> 
>
> Key: GEODE-1371
> URL: https://issues.apache.org/jira/browse/GEODE-1371
> Project: Geode
>  Issue Type: Wish
>  Components: tests
>Reporter: Kirk Lund
>Assignee: Kirk Lund
>Priority: Trivial
> Fix For: 1.0.0-incubating.M3
>
>
> test/java/com/gemstone/gemfire/test/golden/log4j2-test.xml is in the wrong 
> src set and should be removed.
> test/resources/com/gemstone/gemfire/test/golden/log4j2-test.xml is already in 
> the correct place and should be left alone.



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


[jira] [Assigned] (GEODE-1203) gfsh connect --use-http reports a ClassNotFoundException

2016-05-11 Thread Jinmei Liao (JIRA)

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

Jinmei Liao reassigned GEODE-1203:
--

Assignee: Jinmei Liao

> gfsh connect --use-http reports a ClassNotFoundException
> 
>
> Key: GEODE-1203
> URL: https://issues.apache.org/jira/browse/GEODE-1203
> Project: Geode
>  Issue Type: Bug
>  Components: rest (admin)
>Affects Versions: 1.0.0-incubating.M2
>Reporter: Dan Smith
>Assignee: Jinmei Liao
> Fix For: 1.0.0-incubating.M3
>
>
> Connecting with the admin REST API is now broken. I think it's because the 
> spring-web jar is no longer placed in the lib directory or added to the 
> gfsh-deps.jar. In geode-assembly/build.gradle, the gfshDepsJars tries to add 
> spring-web to the classpath, but it is not actually part of the runtime 
> configuration so this expression evaluates to null
> {code}
>   def springWeb = configurations.runtime.collect { it.getName() }.find { 
> it.contains('spring-web') }
> {code}
> {noformat}
> gfsh>connect --use-http  --url=http://localhost:7070/gemfire/v1
> Exception in thread "Gfsh Launcher" java.lang.NoClassDefFoundError: 
> org/springframework/http/client/ClientHttpRequestFactory
>   at 
> com.gemstone.gemfire.management.internal.cli.commands.ShellCommands.connect(ShellCommands.java:214)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
>   at 
> com.gemstone.gemfire.management.internal.cli.shell.GfshExecutionStrategy.execute(GfshExecutionStrategy.java:110)
>   at 
> org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:127)
>   at 
> com.gemstone.gemfire.management.internal.cli.shell.Gfsh.promptLoop(Gfsh.java:891)
>   at org.springframework.shell.core.JLineShell.run(JLineShell.java:179)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: 
> org.springframework.http.client.ClientHttpRequestFactory
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   ... 11 more
> Exception in thread "main" java.lang.NullPointerException
>   at 
> com.gemstone.gemfire.management.internal.cli.Launcher.parseOptions(Launcher.java:235)
>   at 
> com.gemstone.gemfire.management.internal.cli.Launcher.parseCommandLine(Launcher.java:243)
>   at 
> com.gemstone.gemfire.management.internal.cli.Launcher.main(Launcher.java:95)
> {noformat}



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


[jira] [Resolved] (GEODE-1203) gfsh connect --use-http reports a ClassNotFoundException

2016-05-11 Thread Jinmei Liao (JIRA)

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

Jinmei Liao resolved GEODE-1203.

Resolution: Fixed

added the spring-web dependency

> gfsh connect --use-http reports a ClassNotFoundException
> 
>
> Key: GEODE-1203
> URL: https://issues.apache.org/jira/browse/GEODE-1203
> Project: Geode
>  Issue Type: Bug
>  Components: rest (admin)
>Affects Versions: 1.0.0-incubating.M2
>Reporter: Dan Smith
>Assignee: Jinmei Liao
> Fix For: 1.0.0-incubating.M3
>
>
> Connecting with the admin REST API is now broken. I think it's because the 
> spring-web jar is no longer placed in the lib directory or added to the 
> gfsh-deps.jar. In geode-assembly/build.gradle, the gfshDepsJars tries to add 
> spring-web to the classpath, but it is not actually part of the runtime 
> configuration so this expression evaluates to null
> {code}
>   def springWeb = configurations.runtime.collect { it.getName() }.find { 
> it.contains('spring-web') }
> {code}
> {noformat}
> gfsh>connect --use-http  --url=http://localhost:7070/gemfire/v1
> Exception in thread "Gfsh Launcher" java.lang.NoClassDefFoundError: 
> org/springframework/http/client/ClientHttpRequestFactory
>   at 
> com.gemstone.gemfire.management.internal.cli.commands.ShellCommands.connect(ShellCommands.java:214)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
>   at 
> com.gemstone.gemfire.management.internal.cli.shell.GfshExecutionStrategy.execute(GfshExecutionStrategy.java:110)
>   at 
> org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:127)
>   at 
> com.gemstone.gemfire.management.internal.cli.shell.Gfsh.promptLoop(Gfsh.java:891)
>   at org.springframework.shell.core.JLineShell.run(JLineShell.java:179)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: 
> org.springframework.http.client.ClientHttpRequestFactory
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   ... 11 more
> Exception in thread "main" java.lang.NullPointerException
>   at 
> com.gemstone.gemfire.management.internal.cli.Launcher.parseOptions(Launcher.java:235)
>   at 
> com.gemstone.gemfire.management.internal.cli.Launcher.parseCommandLine(Launcher.java:243)
>   at 
> com.gemstone.gemfire.management.internal.cli.Launcher.main(Launcher.java:95)
> {noformat}



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


[jira] [Resolved] (GEODE-1369) ConfigCommandsDUnitTest should use TemporaryFolder

2016-05-11 Thread Kirk Lund (JIRA)

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

Kirk Lund resolved GEODE-1369.
--
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

> ConfigCommandsDUnitTest should use TemporaryFolder
> --
>
> Key: GEODE-1369
> URL: https://issues.apache.org/jira/browse/GEODE-1369
> Project: Geode
>  Issue Type: Test
>  Components: tests
>Reporter: Kirk Lund
>Assignee: Kirk Lund
> Fix For: 1.0.0-incubating.M3
>
>
> This test creates a bunch of files in the current working directory of the 
> build:
>   File managerConfigFile = new File("Manager-cache.xml");
>   File managerPropsFile = new File("Manager-gf.properties");
>   File vm1ConfigFile = new File("VM1-cache.xml");
>   File vm1PropsFile = new File("VM1-gf.properties");
>   File vm2ConfigFile = new File("VM2-cache.xml");
>   File vm2PropsFile = new File("VM2-gf.properties");
>   File shellConfigFile = new File("Shell-cache.xml");
>   File shellPropsFile = new File("Shell-gf.properties");
>   File subDir = new File("ConfigCommandsDUnitTestSubDir");
>   File subManagerConfigFile = new File(subDir, managerConfigFile.getName());
> These should be created in the TemporaryFolder that is in the super class 
> CliCommandTestBase.



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


[jira] [Resolved] (GEODE-951) Repackage classes in com.gemstone.org.apache.logging.log4j.message

2016-05-11 Thread Kirk Lund (JIRA)

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

Kirk Lund resolved GEODE-951.
-
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

> Repackage classes in com.gemstone.org.apache.logging.log4j.message
> --
>
> Key: GEODE-951
> URL: https://issues.apache.org/jira/browse/GEODE-951
> Project: Geode
>  Issue Type: Bug
>  Components: logging
>Reporter: Kirk Lund
>Assignee: Kirk Lund
> Fix For: 1.0.0-incubating.M3
>
>
> The package com.gemstone.org.apache.logging.log4j.message currently contains 
> two log4j2 classes optimized for Regions:
> {noformat}
> * GemFireParameterizedMessage.java
> * GemFireParameterizedMessageFactory.java
> {noformat}
> Before we repackage com.gemstone.gemfire to org.apache.geode, I think we 
> should move these classes to a gemfire package such as 
> com.gemstone.gemfire.internal.logging.log4j.message.



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


[jira] [Commented] (GEODE-699) PartitionedRegionSingleHopDUnitTest.test_MetadataServiceCallAccuracy

2016-05-11 Thread Jianxia Chen (JIRA)

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

Jianxia Chen commented on GEODE-699:


When the fetch task threads are spawned in the client metadata service for 
single hop, It is possible that certain thread is still lingering during the 
second round of PUTs, which assumes all such fetch tasks should be completed at 
that time. The lingering thread causes the isMetadataRefreshed_TEST_ONLY flag 
to be set during second round of PUTs, which results in test failure. 

> PartitionedRegionSingleHopDUnitTest.test_MetadataServiceCallAccuracy
> 
>
> Key: GEODE-699
> URL: https://issues.apache.org/jira/browse/GEODE-699
> Project: Geode
>  Issue Type: Bug
>  Components: client/server
>Affects Versions: 1.0.0-incubating
>Reporter: Jens Deppe
>Assignee: Jianxia Chen
>  Labels: CI, Flaky
>
> git rev 5d1f38ed3c2bcff5871630abbe92df032988b881 build #936
> {noformat}
> Error Message
> junit.framework.AssertionFailedError: Event never occurred after 6 ms: 
> expected no metadata to be refreshed
> Stacktrace
> junit.framework.AssertionFailedError: Event never occurred after 6 ms: 
> expected no metadata to be refreshed
>   at junit.framework.Assert.fail(Assert.java:57)
>   at junit.framework.TestCase.fail(TestCase.java:227)
>   at 
> dunit.DistributedTestCase.waitForCriterion(DistributedTestCase.java:1136)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopDUnitTest.test_MetadataServiceCallAccuracy(PartitionedRegionSingleHopDUnitTest.java:459)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:252)
>   at junit.framework.TestSuite.run(TestSuite.java:247)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
>   at 
> org.gradle.internal.concurrent.Stoppabl

[jira] [Commented] (GEODE-951) Repackage classes in com.gemstone.org.apache.logging.log4j.message

2016-05-11 Thread Kirk Lund (JIRA)

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

Kirk Lund commented on GEODE-951:
-

commit 96c67d4af01277b2d782cb0a5d52159e146b0d63
Author: Kirk Lund 
Date:   Wed May 11 14:37:56 2016 -0700

GEODE-951: repackage GemFireParameterizedMessage and its factory

* move to package com.gemstone.gemfire.internal.logging.log4j.message
* add javadocs about original source of these classes
* add comments pointing out Geode optimizations in these classes

> Repackage classes in com.gemstone.org.apache.logging.log4j.message
> --
>
> Key: GEODE-951
> URL: https://issues.apache.org/jira/browse/GEODE-951
> Project: Geode
>  Issue Type: Bug
>  Components: logging
>Reporter: Kirk Lund
>Assignee: Kirk Lund
> Fix For: 1.0.0-incubating.M3
>
>
> The package com.gemstone.org.apache.logging.log4j.message currently contains 
> two log4j2 classes optimized for Regions:
> {noformat}
> * GemFireParameterizedMessage.java
> * GemFireParameterizedMessageFactory.java
> {noformat}
> Before we repackage com.gemstone.gemfire to org.apache.geode, I think we 
> should move these classes to a gemfire package such as 
> com.gemstone.gemfire.internal.logging.log4j.message.



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


[jira] [Created] (GEODE-1381) Support creating analyzers per field

2016-05-11 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1381:


 Summary: Support creating analyzers per field
 Key: GEODE-1381
 URL: https://issues.apache.org/jira/browse/GEODE-1381
 Project: Geode
  Issue Type: Sub-task
Reporter: Dan Smith






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


[jira] [Issue Comment Deleted] (GEODE-1376) distributedTests fail with hydra.HydraRuntimeException: Log writer has already been created

2016-05-11 Thread Kirk Lund (JIRA)

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

Kirk Lund updated GEODE-1376:
-
Comment: was deleted

(was: Commit b9b0757fae600851dfd5afa647bda2964ab40253 in incubator-geode's 
branch refs/heads/feature/GEODE-1376 from [~apa...@the9muses.net]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=b9b0757 ]

Merge remote-tracking branch 'origin/develop' into feature/GEODE-1376
)

> distributedTests fail with hydra.HydraRuntimeException: Log writer has 
> already been created
> ---
>
> Key: GEODE-1376
> URL: https://issues.apache.org/jira/browse/GEODE-1376
> Project: Geode
>  Issue Type: Bug
>  Components: tests
>Reporter: Kirk Lund
>Assignee: Kirk Lund
>
> If DUnitLauncher fails to startup VMs within 30 seconds, then the next DUnit 
> tests that run before forking a new JUnit VM will all fail because a Hydra 
> LogWriter already exists.
> {noformat}
> java.lang.RuntimeException: Unable to launch dunit VMS
>   at 
> com.gemstone.gemfire.test.dunit.standalone.DUnitLauncher.launchIfNeeded(DUnitLauncher.java:131)
>   at 
> com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.initializeDistributedTestCase(JUnit4DistributedTestCase.java:118)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
>   at 
> org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: hydra.HydraRuntimeException: Log writer has already been created
>   at hydra.Log.createLogWriter(Log.java:56)
>   at 
> com.gemstone.gemfire.test.dunit.standalone.DUnitLauncher.launch(DUnitLauncher.

[jira] [Commented] (GEODE-493) CI failure: PartitionedRegionSingleHopDUnitTest.test_MetadataContents

2016-05-11 Thread Jianxia Chen (JIRA)

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

Jianxia Chen commented on GEODE-493:


Similar to GEODE-699, it is due to thread scheduling for fetch task in 
ClientMetaService, although the test has been waiting for 60 seconds for all 
threads to complete. Note that there are 312 PUTs in the test, each of these 
PUTs can potentially spawn a fetch task thread. And if there is GC involved, 
completion of these thread can be further delayed.

> CI failure: PartitionedRegionSingleHopDUnitTest.test_MetadataContents
> -
>
> Key: GEODE-493
> URL: https://issues.apache.org/jira/browse/GEODE-493
> Project: Geode
>  Issue Type: Bug
>  Components: client/server
>Reporter: Sai Boorlagadda
>Assignee: Jianxia Chen
>  Labels: CI, Flaky
>
> {noformat}
> junit.framework.AssertionFailedError: expected:<4> but was:<3>
>   at junit.framework.Assert.fail(Assert.java:57)
>   at junit.framework.Assert.failNotEquals(Assert.java:329)
>   at junit.framework.Assert.assertEquals(Assert.java:78)
>   at junit.framework.Assert.assertEquals(Assert.java:234)
>   at junit.framework.Assert.assertEquals(Assert.java:241)
>   at junit.framework.TestCase.assertEquals(TestCase.java:409)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopDUnitTest.verifyMetadata(PartitionedRegionSingleHopDUnitTest.java:2237)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopDUnitTest.test_MetadataContents(PartitionedRegionSingleHopDUnitTest.java:386)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:252)
>   at junit.framework.TestSuite.run(TestSuite.java:247)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
>   at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>   at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>   at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>   at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
>   at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java

[jira] [Updated] (GEODE-131) Implement Apache Ambari installer plugin for Geode

2016-05-11 Thread Mark Bretl (JIRA)

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

Mark Bretl updated GEODE-131:
-
Assignee: (was: Mark Bretl)

> Implement Apache Ambari installer plugin for Geode
> --
>
> Key: GEODE-131
> URL: https://issues.apache.org/jira/browse/GEODE-131
> Project: Geode
>  Issue Type: New Feature
>  Components: build
>Reporter: Christian Tzolov
> Attachments: geode-ambari-screenshot-1.png
>
>
> This ticket is used to track the overall progress of the Geode Ambari plugin 
> project. 
> Apache Ambari (https://ambari.apache.org) is cluster installation and 
> management tool used in (but not limited to ) Hadoop. 
> Ambari provides an extension mechanisms for integration of 3rd-party tools 
> [1][2] and declarative Blueprint configuration model [3] which allows to 
> create, test and share deployment blueprints and configurations. 
> [1] https://gist.github.com/Filirom1/8d74adb39e7e1023aa50
> [2] https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=38571133
> [3] https://cwiki.apache.org/confluence/display/AMBARI/Blueprints



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


[jira] [Resolved] (GEODE-1224) AttributesMutator.setCloningEnabled does not modify PR bucket regions

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider resolved GEODE-1224.
-
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

Fixed in revision: 
http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/123ddb7c

> AttributesMutator.setCloningEnabled does not modify PR bucket regions
> -
>
> Key: GEODE-1224
> URL: https://issues.apache.org/jira/browse/GEODE-1224
> Project: Geode
>  Issue Type: Bug
>  Components: regions
>Reporter: Darrel Schneider
>Assignee: Scott Jewell
> Fix For: 1.0.0-incubating.M3
>
>
> PartitionedRegions are implemented with multiple BucketRegion. When the PR 
> creates a bucket region it sets cloningEnabled on the bucket. But when 
> AttributesMutator.setCloningEnabled is called it only changes the flag on the 
> top level PR region and not on any of the buckets.
> It is not clear if the BucketRegion cloningEnabled flag is ever used but 
> since we do set it at bucket creation we should make it consistent when it is 
> changed by the mutator.
> To fix this it might make more sense to just change 
> BucketRegion.getCloningEnabled to always call 
> this.partitionedRegion.getCloningEnabled().



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


[jira] [Assigned] (GEODE-1222) InsufficientDiskSpaceException should be removed

2016-05-11 Thread Darrel Schneider (JIRA)

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

Darrel Schneider reassigned GEODE-1222:
---

Assignee: Darrel Schneider

> InsufficientDiskSpaceException should be removed
> 
>
> Key: GEODE-1222
> URL: https://issues.apache.org/jira/browse/GEODE-1222
> Project: Geode
>  Issue Type: Bug
>  Components: persistence
>Reporter: Darrel Schneider
>Assignee: Darrel Schneider
>
> The internal exception InsufficientDiskSpaceException should be removed. 
> Instead the parent exception DiskAccessException should be used.
> One of the problems with InsufficientDiskSpaceException is it gets thrown to 
> external callers but is an internal exception. 



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