You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jaehwa Jung (JIRA)" <ji...@apache.org> on 2015/09/11 12:33:45 UTC
[jira] [Created] (TAJO-1838) Create external table fails using
hbase if tablespaces don't include the location.
Jaehwa Jung created TAJO-1838:
---------------------------------
Summary: 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)