Issue Details (XML | Word | Printable)

Key: NUCHBASE-80
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: nicolas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store HBase

Extensions for HBase: No effect

Created: 30/Jan/13 12:57 PM   Updated: 01/Feb/13 07:42 AM   Resolved: 30/Jan/13 03:21 PM
Component/s: Schema
Affects Version/s: 3.2.0.m2
Fix Version/s: 3.2.0.m3

File Attachments: 1. Text File ExtensionNotMatched.patch (4 kB)

Environment: JDK 7, Linux Ubuntu 64 bits, Java SE

Datastore: HBase
Severity: Development


 Description  « Hide
The following:

@Extensions({
        @Extension(vendorName = "datanucleus", key = "hbase.columnFamily.data.bloomFilter", value = "ROW"),
        @Extension(vendorName = "datanucleus", key = "hbase.columnFamily.data.inMemory", value = "true")
})
public class ServiceProfile {

    @PrimaryKey
    private long imsi;
    @Persistent
    @Column(name = "data:msisdn")
    @Index(name = "MSISDN_INDEX", unique = "true")
    private long msisdn;

    @Column(name = "data:blob", length = 10000)
    private String blob;

has no effect on the generated schema in HBase: No Bloom filter, no in memory.

Sort Order: Ascending order - Click to sort in descending order
nicolas added a comment - 30/Jan/13 12:57 PM
The way the extension were matched could not have worked... The extensions are documented in lower case, but the matching was done in upper case...

It is fixed in the attached patch.

nicolas added a comment - 30/Jan/13 12:59 PM
the patch.

Andy Jefferson added a comment - 30/Jan/13 03:21 PM
SVN trunk has this now. Thx