[
https://issues.apache.org/jira/browse/TAJO-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jaehwa Jung updated TAJO-1838:
------------------------------
Assignee: (was: Jaehwa Jung)
> Create external table fails using hbase if tablespaces don't include the
> location.
> ----------------------------------------------------------------------------------
>
> Key: TAJO-1838
> URL: https://issues.apache.org/jira/browse/TAJO-1838
> Project: Tajo
> Issue Type: Bug
> Reporter: Jaehwa Jung
> Fix For: 0.11.0, 0.12.0
>
>
> When creating external table using Hbase, I failed to create it on my laptop
> as follows:
> - storage-site.xml
> {code:xml}
> {
> "spaces": {
> "hbase-cluster1": {
> "uri": "hbase://localhost:2181/"
> }
> }
> }
> {code}
> - queries
> {code:xml}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)