Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-771

Names legal in 0.1 are not in 0.2; breaks migration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      From the list:

      08/07/24 18:34:35 INFO v5.HLog: New log writer created at /user/sindice/log_1216920866949/hlog.dat.1216920874958
      08/07/24 18:34:35 INFO v5.HLog: removing old log file /user/sindice/log_1216920866949/hlog.dat.0 whose highest sequence/edit id is 496415052
      08/07/24 18:34:35 FATAL util.Migrate: Upgrade failed
      java.lang.IllegalArgumentException: Illegal character <45>. User-space table names can only contain 'word characters':i.e. [a-zA-Z_0-9]: page-repository
      	at org.apache.hadoop.hbase.HTableDescriptor.isLegalTableName(HTableDescriptor.java:220)
      	at org.apache.hadoop.hbase.HTableDescriptor.<init>(HTableDescriptor.java:130)
      	at org.apache.hadoop.hbase.util.Migrate.updateHRegionInfo(Migrate.java:266)
      	at org.apache.hadoop.hbase.util.Migrate$1$1.processRow(Migrate.java:244)
      	at org.apache.hadoop.hbase.util.migration.v5.MetaUtils.scanMetaRegion(MetaUtils.java:264)
      	at org.apache.hadoop.hbase.util.migration.v5.MetaUtils.scanMetaRegion(MetaUtils.java:237)
      	at org.apache.hadoop.hbase.util.Migrate$1.processRow(Migrate.java:241)
      	at org.apache.hadoop.hbase.util.migration.v5.MetaUtils.scanRootRegion(MetaUtils.java:211)
      	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)
      

      Attachments

        1. tablename-v2.patch
          0.9 kB
          Michael Stack

        Activity

          People

            jimk Jim Kellerman
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: