You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/07/10 01:22:14 UTC

[jira] Created: (HBASE-1638) hfile has entry from wrong family

hfile has entry from wrong family
---------------------------------

                 Key: HBASE-1638
                 URL: https://issues.apache.org/jira/browse/HBASE-1638
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack


I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Commented: (HBASE-1638) hfile has entry from wrong family

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736202#action_12736202 ] 

Andrew Purtell commented on HBASE-1638:
---------------------------------------

Based on some observations, it looks like occasionally a column bundled with others in a Put is "broadcast" into all column families.

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1638.patch, purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Commented: (HBASE-1638) hfile has entry from wrong family

Posted by "ryan rawson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735419#action_12735419 ] 

ryan rawson commented on HBASE-1638:
------------------------------------

this seems to be only happening in .META. hey?  Any idea of which codepath might possibly be triggering this?

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1638.patch, purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Commented: (HBASE-1638) hfile has entry from wrong family

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735403#action_12735403 ] 

Andrew Purtell commented on HBASE-1638:
---------------------------------------

The script does not seem to work if the filesystem is not local:

{noformat}
[hadoop@BOA01 hbase-0.20.0]$ ./bin/hbase shell /var/tmp/purgewrongfamily.rb hdfs://localhost:50000/hbase/.META./1028785192/info/1682440087021188177 info
org/apache/hadoop/fs/FileSystem.java:305:in `checkPath': java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:50000/hbase/.META./1028785192/info/1682440087021188177, expected: file:/// (NativeException)
        from org/apache/hadoop/fs/RawLocalFileSystem.java:47:in `pathToFile'
        from org/apache/hadoop/fs/RawLocalFileSystem.java:357:in `getFileStatus'
        from org/apache/hadoop/fs/FilterFileSystem.java:245:in `getFileStatus'
        from org/apache/hadoop/fs/ChecksumFileSystem.java:125:in `<init>'
        from org/apache/hadoop/fs/ChecksumFileSystem.java:283:in `open'
        from org/apache/hadoop/fs/FileSystem.java:351:in `open'
        from org/apache/hadoop/hbase/io/hfile/HFile.java:688:in `<init>'
        from sun/reflect/NativeConstructorAccessorImpl.java:-2:in `newInstance0'
         ... 38 levels...
        from org/jruby/Main.java:94:in `main'
        from /var/tmp/purgewrongfamily.rb:105:in `load'
        from /opt/hbase-0.20.0/bin/../bin/hirb.rb:105
Complete Java stackTrace
java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:50000/hbase/.META./1028785192/info/1682440087021188177, expected: file:///
        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:305)
        at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:47)
        at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:357)
        at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:245)
        at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:125)
        at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:283)
        at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:351)
        at org.apache.hadoop.hbase.io.hfile.HFile$Reader.<init>(HFile.java:688)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.jruby.javasupport.JavaConstructor.new_instance(JavaConstructor.java:226)
        at org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:80)
        at org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:147)
        at org.jruby.RubyClass.finvoke(RubyClass.java:353)
        at org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:385)
        at org.jruby.java.proxies.ConcreteJavaProxy$2.call(ConcreteJavaProxy.java:40)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:233)
        at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:41)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:46)
        at org.jruby.RubyClass$SpecificArityNew.call(RubyClass.java:542)
        at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:136)
        at org.jruby.java.proxies.ConcreteJavaProxy$ConcreteNewMethod.call(ConcreteJavaProxy.java:148)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:243)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:32)
        at org.jruby.ast.CallManyArgsNode.interpret(CallManyArgsNode.java:59)
        at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
        at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        at org.jruby.ast.RootNode.interpret(RootNode.java:129)
        at org.jruby.Ruby.loadFile(Ruby.java:2247)
        at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58)
        at org.jruby.runtime.load.LoadService.load(LoadService.java:250)
        at org.jruby.RubyKernel.load(RubyKernel.java:851)
        at org.jruby.RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load.call(org/jruby/RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load.gen)
        at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:243)
        at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:152)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:112)
        at opt.hbase_minus_0_dot_20_dot_0.bin.$_dot_dot_.bin.hirb.__file__(hirb.rb:105)
        at opt.hbase_minus_0_dot_20_dot_0.bin.$_dot_dot_.bin.hirb.load(hirb.rb)
        at org.jruby.Ruby.runScript(Ruby.java:577)
        at org.jruby.Ruby.runNormally(Ruby.java:480)
        at org.jruby.Ruby.runFromMain(Ruby.java:354)
        at org.jruby.Main.run(Main.java:229)
        at org.jruby.Main.run(Main.java:110)
        at org.jruby.Main.main(Main.java:94)
{noformat}


> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.20.0
>
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1638:
-------------------------

    Attachment:     (was: purgewrongfamily.rb)

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1638:
-------------------------

    Attachment: purgerow.rb

For jgray to purge bad row in .META.

{code}
$ ./bin/hbase shell purgerow.rb /tmp/hbase-stack/hbase/.META./1028785192/info/2656626100894786616 'METAROW'
Writing new file /tmp/hbase-stack/hbase/.META./1028785192/info/2656626100894786616.rewrite
Dropped bad row: METAROW/METAFAMILY:/1248765129901/Put/vlen=17
Dropped bad row: METAROW/info:/1248817222264/DeleteFamily/vlen=0
Moving /tmp/hbase-stack/hbase/.META./1028785192/info/2656626100894786616.rewrite to /tmp/hbase-stack/hbase/.META./1028785192/info/2656626100894786616
{code}

Will overwrite file if it finds bad entries.

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1638.patch, purgerow.rb, purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1638:
-------------------------

    Attachment: purgewrongfamily.rb

Unfinished repair tool for hfile

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Commented: (HBASE-1638) hfile has entry from wrong family

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735410#action_12735410 ] 

Andrew Purtell commented on HBASE-1638:
---------------------------------------

A modest improvement on the current situation would be to have major compaction drop keys of the wrong family. Then at least we could as a user to force a major compaction from the shell, a simple operation, as opposed to delicate file surgery. 

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Commented: (HBASE-1638) hfile has entry from wrong family

Posted by "Lars George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743411#action_12743411 ] 

Lars George commented on HBASE-1638:
------------------------------------

Note HBASE-1766 has an updated version of purgewrongfamily.rb that has a working file swap. The version here fails silently to rename the new file.

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1638.patch, purgerow.rb, purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1638:
-------------------------

    Attachment: purgewrongfamily.rb

First version of script would not find bad keys if they were first in the file.  This one fixes that.  Also if we rewrote keys, then we move the rewritten file over the original.  Here is what it looks like when it runs and finds a bad key:

{code}
$ ~/checkouts/hbase/cleantrunk/bin/hbase shell purgewrongfamily.rb ./j/.META./1028785192/info/4966765050467496366  info
Writing new file j/.META./1028785192/info/4966765050467496366.rewrite
Dropped bad key: TestTable,,1248127844086/historian:open/1248127848045/Put/vlen=46
Moving j/.META./1028785192/info/4966765050467496366.rewrite to j/.META./1028785192/info/4966765050467496366
$ ~/checkouts/hbase/cleantrunk/bin/hbase shell purgewrongfamily.rb ./j/.META./1028785192/info/4966765050467496366  info
Writing new file j/.META./1028785192/info/4966765050467496366.rewrite
No bad keys found... cleaning up j/.META./1028785192/info/4966765050467496366.rewrite
{code}



> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.20.0
>
>         Attachments: purgewrongfamily.rb, purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Commented: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733387#action_12733387 ] 

stack commented on HBASE-1638:
------------------------------

Above I say 'If successful, it will replace the original file.'  Thats not right.  It does not replace the old fle.

If it finds an errant record, it will emit it.  In this case, replace old file with the new one manually.  New file is named for the old with a '.rewrite' suffix.

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.20.0
>
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-1638:
----------------------------------

    Priority: Blocker  (was: Major)

This happened in my test setup also and was quite a pain. See HBASE-1706. I think this should be a blocker for 0.20. Currently the solution is to take down the cluster and fix hstore files by hand. Any mistake doing that on the META table and the cluster is dead. 

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1638:
-------------------------

    Fix Version/s: 0.20.0

Bringing into 0.20.0.  This and 1634 make a pair.

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.20.0
>
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Commented: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736213#action_12736213 ] 

stack commented on HBASE-1638:
------------------------------

Jgray suspects reconstructionlog... looking.

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1638.patch, purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Resolved: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-1638.
--------------------------

    Resolution: Fixed

Resolving in the belief that HBASE-1718 was cause of this issue.  Will reopen if seen again.

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1638.patch, purgerow.rb, purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-1638:
----------------------------------

    Attachment: HBASE-1638.patch

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1638.patch, purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1638:
-------------------------

    Attachment:     (was: purgewrongfamily.rb)

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.20.0
>
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Updated: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1638:
-------------------------

    Attachment: purgewrongfamily.rb

Here's how you run it:

{code}
$ ./bin/hbase shell ./purgewrongfamily.rb /tmp/hbase-stack/hbase/.META./1028785192/info/1261940636599163 info
{code}

It will run through the file 1261940636599163 and drop key not of the 'info' family.  If successful, it will replace the original file.

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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


[jira] Commented: (HBASE-1638) hfile has entry from wrong family

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729522#action_12729522 ] 

stack commented on HBASE-1638:
------------------------------

How'd this happen?

> hfile has entry from wrong family
> ---------------------------------
>
>                 Key: HBASE-1638
>                 URL: https://issues.apache.org/jira/browse/HBASE-1638
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>         Attachments: purgewrongfamily.rb
>
>
> I have an hfile with an entry from another family.  It was give us by bryan duxbury.

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