Grokbase Groups HBase dev June 2008
FAQ
[ https://issues.apache.org/jira/browse/HBASE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603407#action_12603407 ]

Andrew Purtell commented on HBASE-42:
-------------------------------------

Preliminary patch attached. (Sorry for the delay, just back from Asia...)

Todo:

* Update migration script to rewrite HTableDescriptor with version tag.
* Test case.
* Consider extending "modifyTableMeta" to be a single point for changing all HTable metadata, with corresponding change to HMasterInterface to remove addColumn, deleteColumn, and similar. This wouldn't make much difference on the server side but on the client side having a single RPC through which all table metadata is changed would make it easier to move at some later time to Zookeeper or whatever is chosen. Probably the easiest thing to do is something like the following:
*# Client disables table.
*# Client uses RPC to retrieve a lease and a serialized HTableDescriptor from the HMaster, which is instantiated. If another lease is outstanding, client must retry.
*# Client manipulates the HTableDescriptor via its methods.
*# Client uses RPC to send the updated HTableDescriptor to the HMaster.
*# Master records the updated HTableDescriptor.
*# Client enables table.

Set region split size on table creation
---------------------------------------

Key: HBASE-42
URL: https://issues.apache.org/jira/browse/HBASE-42
Project: Hadoop HBase
Issue Type: New Feature
Reporter: Paul Saab
Assignee: Andrew Purtell
Priority: Minor
Attachments: hbase-regionsize-0.2-r664521.patch


Right now the region size before a split is determined by a global configuration. It would be nice to configure tables independently of the global parameter.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • stack (JIRA) at Jun 10, 2008 at 9:28 pm
    [ https://issues.apache.org/jira/browse/HBASE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604049#action_12604049 ]

    stack commented on HBASE-42:
    ----------------------------

    Hey Andrew. Thanks for the patch. Looks good to me. Didn't try applying it.

    Let us know if you need any facility writing migration scripts (or help); migration scripts are not pretty.

    I'm fine w/ the single point for all table meta changes. Would make API less brittle. If we're going to make the change, lets do it now rather than later. 0.2 already breaks backward compatibility in the API. We're operating under the delusion that we can make all API changes in the one release.


    Set region split size on table creation
    ---------------------------------------

    Key: HBASE-42
    URL: https://issues.apache.org/jira/browse/HBASE-42
    Project: Hadoop HBase
    Issue Type: New Feature
    Reporter: Paul Saab
    Assignee: Andrew Purtell
    Priority: Minor
    Attachments: hbase-regionsize-0.2-r664521.patch


    Right now the region size before a split is determined by a global configuration. It would be nice to configure tables independently of the global parameter.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • stack (JIRA) at Jun 11, 2008 at 12:32 am
    [ https://issues.apache.org/jira/browse/HBASE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604093#action_12604093 ]

    stack commented on HBASE-42:
    ----------------------------

    One other thought Andrew:

    You might want to use VersionedWritable instead of adding your own version to HTableDescriptor.
    Set region split size on table creation
    ---------------------------------------

    Key: HBASE-42
    URL: https://issues.apache.org/jira/browse/HBASE-42
    Project: Hadoop HBase
    Issue Type: New Feature
    Reporter: Paul Saab
    Assignee: Andrew Purtell
    Priority: Minor
    Attachments: hbase-regionsize-0.2-r664521.patch


    Right now the region size before a split is determined by a global configuration. It would be nice to configure tables independently of the global parameter.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedJun 8, '08 at 4:52p
activeJun 11, '08 at 12:32a
posts3
users1
websitehbase.apache.org

1 user in discussion

stack (JIRA): 3 posts

People

Translate

site design / logo © 2022 Grokbase