hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kannan Muthukkaruppan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2984) [shell] Altering a family shouldn't reset to default unchanged attributes
Date Fri, 29 Oct 2010 20:30:19 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926442#action_12926442
] 

Kannan Muthukkaruppan commented on HBASE-2984:
----------------------------------------------

I suppose something like this: 
family.setBloomFilterType(StoreFile.BloomType.valueOf(arg[HColumnDescriptor::BLOOMFILTER]))
 
would do the trick. But I am getting some errors trying to import the required enum into Jruby.
JD: you know how to?


> [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
>            Assignee: Jean-Daniel Cryans
>            Priority: Blocker
>             Fix For: 0.90.0
>
>         Attachments: 2984-meta-offline-fixer.patch, HBASE-2984.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