Renaud Delbru wrote:
Good guess. I have two others table with "valid" characters, and
another one with '-'.
What I should do, start from the beginning using a backup copy of my
hbase directory ?
If you have a backup, this would be the safest thing to do (with the
patch in place).
St.Ack
stack wrote:
Did your install have more than one table? If so, did all tables
have '-' in them or just one of them? Is it possible that your data
was partially migrated? That the migration ran fine until it hit the
'bad' table name?
St.Ack
Renaud Delbru wrote:
I have tried the patch.
The result looks bad. An ArrayIndexOutOfBoundsException is thrown in
v5.HColumnDescriptor.readFields at the following line:
this.compressionType = CompressionType.values()[ordinal];
Here is the log of the upgrade procedure:
08/07/24 20:18:16 FATAL util.Migrate: Upgrade failed
java.lang.ArrayIndexOutOfBoundsException: 926169139
at
org.apache.hadoop.hbase.util.migration.v5.HColumnDescriptor.readFields(HColumnDescriptor.java:355)
at
org.apache.hadoop.hbase.util.migration.v5.HTableDescriptor.readFields(HTableDescriptor.java:263)
at
org.apache.hadoop.hbase.util.migration.v5.HRegionInfo.readFields(HRegionInfo.java:419)
at
org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:84)
at
org.apache.hadoop.hbase.util.migration.v5.MetaUtils.scanRootRegion(MetaUtils.java:203)
at
org.apache.hadoop.hbase.util.Migrate.rewriteMetaHRegionInfo(Migrate.java:228)
at
org.apache.hadoop.hbase.util.Migrate.migrateToV5(Migrate.java:209)
at org.apache.hadoop.hbase.util.Migrate.run(Migrate.java:187)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.hbase.util.Migrate.main(Migrate.java:446)