hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-62) [hbase] Allow user add arbitrary key/value pairs to table and column descriptors
Date Tue, 01 Jul 2008 17:50:45 GMT

    [ https://issues.apache.org/jira/browse/HBASE-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609650#action_12609650

Andrew Purtell commented on HBASE-62:

I'd like to see these changes go in for 0.2, if possible. Changes are contained largely to
HTableDescriptor and HColumnDescriptor. The most signification change elsewhere is support
in HRegion for read only tables.

Patch attached. On second thought using a MapWritable was kind of ugly, so I just used a map
with byte[] keys and values and the utilities for reading/writing byte arrays in Byte instead.
Basically the same thing but the code is cleaner.

The patch passes all 'ant test' tests for me.

These items are outstanding:
* Unit test for read-only tables -- New test TestReadOnly
* Unit test for user table and column metadata -- Probably can modify TestHTable for this
* Migration script to deal with HTableDescriptor changes

I'll work on the unit tests.

> [hbase] Allow user add arbitrary key/value pairs to table and column descriptors
> --------------------------------------------------------------------------------
>                 Key: HBASE-62
>                 URL: https://issues.apache.org/jira/browse/HBASE-62
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: stack
>            Assignee: Andrew Purtell
>            Priority: Trivial
> Folks have asked if they can tag columns and tables with markings of their own designation.
 Examples include 'type' and 'descriptiion'. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message