You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/09/17 21:58:04 UTC
[jira] [Resolved] (TAJO-1838) Create external table fails using
hbase if tablespaces don't include the location.
[ https://issues.apache.org/jira/browse/TAJO-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyunsik Choi resolved TAJO-1838.
--------------------------------
Resolution: Duplicate
> 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
> Assignee: Hyunsik Choi
> 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)