Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Duplicates region after upgrade to 0.89


Copy link to this message
-
Duplicates region after upgrade to 0.89
After upgrade from 0.20.6 to 0.89 (stumbleupon version)
I mentioned, that i have duplicate entries in .META.
(encoded names are different, but keys are identical)

check_meta.rb sad :
What I can do to recover from this situation? Export/Import only?
And if that, I must export/import production database to be able to
use 0.89?

.... skip ....
REGION => {NAME =>
'bsn.main,\x00\x00\x00\x00\x00G\x1A\x9A,1285148769688.4fbcb0d5a09063998ebf3894552a91f0.',
STARTKEY => '\x00\x00\x00\x00\x00G\x1A\x9A', ENDKEY =>
'\x00\x00\x00\x00\x00J\x9Cd',
ENCODED => 4fbcb0d5a09063998ebf3894552a91f0,
REGION => {NAME =>
'bsn.main,\x00\x00\x00\x00\x00G\x1A\x9A,1285157746310.aaeb272c3d8563f2bb6cebb487ddc10e.',
STARTKEY => '\x00\x00\x00\x00\x00G\x1A\x9A', ENDKEY =>
'\x00\x00\x00\x00\x00J\x9Cd',
ENCODED => aaeb272c3d8563f2bb6cebb487ddc10e,
REGION => {NAME =>
'bsn.main,\x00\x00\x00\x00\x00J\x9Cd,1285148769688.49fa4f03cccfd17f44dcae99d443676c.',
STARTKEY => '\x00\x00\x00\x00\x00J\x9Cd', ENDKEY =>
'\x00\x00\x00\x00\x00N\x14\xBA',
ENCODED => 49fa4f03cccfd17f44dcae99d443676c,
REGION => {NAME =>
'bsn.main,\x00\x00\x00\x00\x00J\x9Cd,1285157746310.11d235841dc91ae49c6c474027c34f31.',
STARTKEY => '\x00\x00\x00\x00\x00J\x9Cd', ENDKEY =>
'\x00\x00\x00\x00\x00N\x14\xBA',
ENCODED => 11d235841dc91ae49c6c474027c34f31,
REGION => {NAME =>
'bsn.main,\x00\x00\x00\x00\x00N\x14\xBA,1283127663502.1023102751',
STARTKEY => '\x00\x00\x00\x00\x00N\x14\xBA', ENDKEY =>
'\x00\x00\x00\x00\x00V\xDDZ',
ENCODED => 1023102751,
.... skip ....

check_mata logs:
check_meta: hole after REGION => {NAME =>
'bsn.main,\x00\x00\x00\x00\x00G\x1A\x9A,1285148769688.4fbcb0d5a09063998ebf3894552a91f0.',
STARTKEY => '\x00\x00\x00\x00\x00G\x1A\x9A', ENDKEY =>
'\x00\x00\x00\x00\x00J\x9Cd', ENCODED =>
4fbcb0d5a09063998ebf3894552a91f0 }

issuing with --fix flag doesn't help.

Andrey.