Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2110

Namespaces with underscore crashes region servers

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 3.0.1, 3.0.0
    • Component/s: Namespaces
    • Labels:
      None
    • Rank:
      1|hzyr0v:

      Description

      2015-04-14 21:21:59,629 FATAL org.apache.hadoop.hbase.regionserver.HRegionServer: ABORTING region server <host>,60020,1429046477322: The coprocessor co.cask.cdap.data2.transaction.coprocessor.hbase98.DefaultTransactionProcessor threw java.lang.IllegalArgumentException: expected hbase namespace to have a '_': cdap_UX_01
      java.lang.IllegalArgumentException: expected hbase namespace to have a '_': cdap_UX_01
              at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
              at co.cask.cdap.data2.util.hbase.HTableNameConverter.fromHBaseTableName(HTableNameConverter.java:125)
              at co.cask.cdap.data2.util.hbase.HTable98NameConverter.prefixedTableIdFromTableName(HTable98NameConverter.java:50)
              at co.cask.cdap.data2.util.hbase.HTable98NameConverter.getNamespacePrefix(HTable98NameConverter.java:41)
              at co.cask.cdap.data2.util.hbase.HTable98NameConverter.getSysConfigTablePrefix(HTable98NameConverter.java:31)
              at co.cask.cdap.data2.transaction.coprocessor.hbase98.DefaultTransactionProcessor.getTransactionStateCacheSupplier(DefaultTransactionProcesso
      r.java:39)
              at co.cask.tephra.hbase98.coprocessor.TransactionProcessor.start(TransactionProcessor.java:108)
              at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$Environment.startup(CoprocessorHost.java:680)
              at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadInstance(CoprocessorHost.java:266)
              at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.load(CoprocessorHost.java:219)
              at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.loadTableCoprocessors(RegionCoprocessorHost.java:227)
              at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.<init>(RegionCoprocessorHost.java:183)
              at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:625)
              at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:532)
              at sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown Source)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
              at org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:4254)
              at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4565)
              at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4538)
              at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4494)
              at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4445)
              at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:465)
              at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:139)
              at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              poorna Poorna Chandra
              Reporter:
              poorna Poorna Chandra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: