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

Cannot Specify Namespace via the hbase.table Option in Spark Connector

    XMLWordPrintableJSON

Details

    Description

      When using the old mapping format and specifying the HBase table via theĀ 
      hbase.table option, the connector passes the namespaced string to HBase, and we get

      Caused by: java.lang.IllegalArgumentException: Illegal character code:58, <:> at 7. User-space table qualifiers may only contain 'alphanumeric characters' and digits: staplesHbaseNamespace:staplesHbaseTableName
      at org.apache.hadoop.hbase.TableName.isLegalTableQualifierName(TableName.java:187)
      at org.apache.hadoop.hbase.TableName.isLegalTableQualifierName(TableName.java:138)
      at org.apache.hadoop.hbase.TableName.<init>(TableName.java:320)
      at org.apache.hadoop.hbase.TableName.createTableNameIfNecessary(TableName.java:354)
      at org.apache.hadoop.hbase.TableName.valueOf(TableName.java:484)

      This seems to be related to the changes in HBASE-24276

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: