incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron McCurry (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BLUR-77) Fix the readonly version of BlurIndex
Date Mon, 22 Apr 2013 17:29:16 GMT

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

Aaron McCurry commented on BLUR-77:
-----------------------------------

Yes, there is a read only version of the BlurIndex class.  Just hasn't been updated in 0.1.5
to use the TableContext object like the BlurNRTIndex class.  Checkout:

https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=blob;f=src/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexReader.java;h=28e393a433d5814f1fb1068959c1d2f66b4d902a;hb=0.1.5

A little background:

There are two ways to update a table that is online in a Blur cluster.  The first way is to
call mutate on the given controller/shard servers that perform NRT (near real time) updates
on the indexes.  The second way is to use Map/Reduce to update the indexes directly.  In the
MR method of updating, the reducers in the MR job actually open the indexes (that are being
served by the blur shard servers) and perform the updates directly.  The reason for the read-only
attribute on the table is because if you want to use the MR way of mutates then the indexes
can NOT be open for writing in the shard servers.  Lucene allows only a single index writer
at a time.  The other reason for a read-only table is to simple not allow changes to the table.
                
> Fix the readonly version of BlurIndex
> -------------------------------------
>
>                 Key: BLUR-77
>                 URL: https://issues.apache.org/jira/browse/BLUR-77
>             Project: Apache Blur
>          Issue Type: Bug
>    Affects Versions: 0.1.5
>            Reporter: Aaron McCurry
>             Fix For: 0.1.5
>
>
> If you try and create a readonly version of a Blur table it will fail because it's not
implemented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message