hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2984) [shell] Altering a family shouldn't reset to default unchanged attributes
Date Sat, 11 Sep 2010 00:03:33 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Daniel Cryans updated HBASE-2984:
--------------------------------------

    Attachment: 2984-meta-offline-fixer.patch

If it ever happens to anyone else (I didn't want to wait for eternity for all the regions
to split), here's a path that makes MetaUtils runnable and that resets the schema like I wanted
it for the specified table. Tailor it to your own need. (yes it's super hacky, kids don't
try this at home!)

> [shell] Altering a family shouldn't reset to default unchanged attributes
> -------------------------------------------------------------------------
>
>                 Key: HBASE-2984
>                 URL: https://issues.apache.org/jira/browse/HBASE-2984
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Priority: Blocker
>             Fix For: 0.90.0
>
>         Attachments: 2984-meta-offline-fixer.patch
>
>
> I changed the replication on a family that was also VERSIONS => 1 and COMPRESSION
=> LZO. I forgot that you have to respecify everything everytime you alter a family, so
both were reset to 3 and NONE. Then the regions were compacted... and it has been splitting
for about 20 minutes now. Fortunately this is our MR environment so our web site isn't affected,
but it's still a major pain. Oh and also the table cannot be disabled to be re-altered since
split parents are always present (I hope it'll stop splitting before midnight).
> The shell should use the old values for attributes that aren't changed.

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


Mime
View raw message