incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Hood (JIRA)" <>
Subject [jira] [Commented] (BLUR-441) Row Mutation Bug
Date Wed, 26 Aug 2015 18:08:45 GMT


Tom Hood commented on BLUR-441:

I attached the test program BlurMutationBug that demonstrates the issue.  It loops forever
until it fails.  This particular test program is only exercising the REPLACE_ROW as opposed
to the UPDATE_ROW where I have also seen the issue.

Before running the test, I create the table like this:  blur create -t blurbug1 -c 1 -l hdfs://localhost:9000/blurbug1

Here's an example of what it looks like when it fails:

Added meta record to index 16338c52-d3c1-4d42-b7bb-597152e2fe01
Exception in thread "main" java.lang.IllegalStateException: corrupt row with bad key(s) [fe17b01f-af87-4564-8b22-2105175542d7,
	at bug.BlurMutationBug.checkForCorruption(
	at bug.BlurMutationBug.addMetaToBlur(
	at bug.BlurMutationBug.runTest(
	at bug.BlurMutationBug.main(

Unlike what I mentioned in my original email post, the above shows that it is not necessarily
true that the most recently mutated row is the same as the one that gets corrupted.

If you now do 2 blur gets on the rows, you see that one looks okay, but the other has the
merged records:

blur (default)> get blurbug1 fe17b01f-af87-4564-8b22-2105175542d7
       id : fe17b01f-af87-4564-8b22-2105175542d7
 recordId : 0
   family : meta
     key : fe17b01f-af87-4564-8b22-2105175542d7
 recordId : 0
   family : meta
     key : 00113851-80a7-417b-bc68-a6a70ead9a80
blur (default)> get blurbug1 00113851-80a7-417b-bc68-a6a70ead9a80
       id : 00113851-80a7-417b-bc68-a6a70ead9a80
 recordId : 0
   family : meta
     key : 00113851-80a7-417b-bc68-a6a70ead9a80
blur (default)> 

Please give this test a try and let me know if you are able to reproduce the problem.  Thanks!

> Row Mutation Bug
> ----------------
>                 Key: BLUR-441
>                 URL:
>             Project: Apache Blur
>          Issue Type: Bug
>          Components: Blur
>    Affects Versions: 0.2.4
>            Reporter: Aaron McCurry
>            Assignee: Aaron McCurry
>            Priority: Blocker
>             Fix For: 0.2.4
>         Attachments:
> Reported on blur-user mail list:

This message was sent by Atlassian JIRA

View raw message