Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1838

Create external table fails using hbase if tablespaces don't include the location.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 0.11.0, 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      When creating external table using Hbase, I failed to create it on my laptop as follows:

      • storage-site.xml
        {
          "spaces": {
            "hbase-cluster1": {
              "uri": "hbase://localhost:2181/"
            }
          }
        }
        
      • queries
        default> CREATE EXTERNAL TABLE external_hbase_blog (rowkey text, author text, register_date text, title text)
        > USING hbase WITH ('table'='blog', 'columns'=':key,info:author,info:date,content:title')
        > LOCATION 'hbase://localhost:2181';
        ERROR: tablespace 'hbase://localhost:2181' does not exist
        
        default> CREATE EXTERNAL TABLE external_hbase_blog (rowkey text, author text, register_date text, title text)
        > USING hbase WITH ('table'='blog', 'columns'=':key,info:author,info:date,content:title')
        > LOCATION 'hbase://localhost:2181/';
        OK
        

        Issue Links

          Activity

          Hide
          hyunsik Hyunsik Choi added a comment -

          Its essential problem will be solved in TAJO-1868.

          Show
          hyunsik Hyunsik Choi added a comment - Its essential problem will be solved in TAJO-1868 .

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              blrunner Jaehwa Jung
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development