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

ASF GitHub Bot commented on GEODE-1557:
---------------------------------------

GitHub user aparnard opened a pull request:

    https://github.com/apache/incubator-geode/pull/168

    GEODE-1557: Not logging BucketNotFoundException

    Not logging BucketNotFoundException as an error in LuceneEventLister and 
added
    a test shouldIgnoreBucketNotFoundException to verify it

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aparnard/incubator-geode feature/GEODE-1557

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-geode/pull/168.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #168
    
----
commit 65ca0852b968e660b96446ba035736c21e88f5e6
Author: Aparna Dharmakkan <adharmak...@pivotal.io>
Date:   2016-06-16T23:07:04Z

    GEODE-1557: Not logging BucketNotFoundException
    
    Not logging BucketNotFoundException as an error in LuceneEventLister and 
added
    a test shouldIgnoreBucketNotFoundException to verify it

----


> LuceneQueriesPeerPRDUnitTest.returnCorrectResultsAfterRebalance fails with 
> suspect string error
> -----------------------------------------------------------------------------------------------
>
>                 Key: GEODE-1557
>                 URL: https://issues.apache.org/jira/browse/GEODE-1557
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Aparna Dharmakkan
>
> This test failed with the following error
> {noformat}
> Suspicious strings were written to the log during this run.
> Fix the strings or use IgnoredException.addIgnoredException to ignore.
> -----------------------------------------------------------------------
> Found suspect string in log4j at line 61460
> [error 2016/06/16 12:02:33.844 PDT <Event Processor for 
> GatewaySender_AsyncEventQueue_index#_region_0> tid=1453] Unable to save to 
> lucene index
> com.gemstone.gemfire.internal.cache.BucketNotFoundException: User bucket was 
> not found for region Partitioned Region @149884aa [path='/region'; 
> dataPolicy=PARTITION; prId=92; isDestroyed=false; isClosed=false; 
> retryTimeout=3600000; serialNumber=10558; partition 
> attributes=PartitionAttributes@1660363202[redundantCopies=0;localMaxMemory=409;totalMaxMemory=2147483647;totalNumBuckets=113;partitionResolver=null;colocatedWith=null;recoveryDelay=-1;startupRecoveryDelay=0;FixedPartitionAttributes=null;partitionListeners=null];
>  on VM 192.168.1.17(10580)<ec><v49>:1025]key 1 callbackarg null
>       at 
> com.gemstone.gemfire.cache.lucene.internal.PartitionedRepositoryManager.getRepository(PartitionedRepositoryManager.java:102)
>       at 
> com.gemstone.gemfire.cache.lucene.internal.LuceneEventListener.processEvents(LuceneEventListener.java:72)
>       at 
> com.gemstone.gemfire.internal.cache.wan.GatewaySenderEventCallbackDispatcher.dispatchBatch(GatewaySenderEventCallbackDispatcher.java:168)
>       at 
> com.gemstone.gemfire.internal.cache.wan.GatewaySenderEventCallbackDispatcher.dispatchBatch(GatewaySenderEventCallbackDispatcher.java:87)
>       at 
> com.gemstone.gemfire.internal.cache.wan.AbstractGatewaySenderEventProcessor.processQueue(AbstractGatewaySenderEventProcessor.java:613)
>       at 
> com.gemstone.gemfire.internal.cache.wan.AbstractGatewaySenderEventProcessor.run(AbstractGatewaySenderEventProcessor.java:1058)
> -----------------------------------------------------------------------
> {noformat}
> It looks like this test is doing a rebalance, so it may be expected that 
> buckets are not found when writing to the lucent index. The system should 
> probably not log an error just because a bucket has moved.



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

Reply via email to