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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 0.11.0, 0.12.0
    • None
    • 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
        

      Attachments

        Issue Links

          Activity

            People

              hyunsik Hyunsik Choi
              blrunner JaeHwa Jung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: