[ 
https://issues.apache.org/jira/browse/TAJO-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282282#comment-14282282
 ] 

Hudson commented on TAJO-1307:
------------------------------

SUCCESS: Integrated in Tajo-master-build #558 (See 
[https://builds.apache.org/job/Tajo-master-build/558/])
TAJO-1307: HBaseStorageManager need to support for users to use hbase-site.xml 
file. (jaehwa) (blrunner: rev 6f07cefd224c8da420ec7ec37974917993a05fc5)
* tajo-dist/src/main/conf/tajo-env.sh
* CHANGES
* 
tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseStorageManager.java
* tajo-dist/src/main/bin/tajo
* tajo-core/src/test/java/org/apache/tajo/engine/query/TestHBaseTable.java


> HBaseStorageManager need to support for users to use hbase-site.xml file.
> -------------------------------------------------------------------------
>
>                 Key: TAJO-1307
>                 URL: https://issues.apache.org/jira/browse/TAJO-1307
>             Project: Tajo
>          Issue Type: Improvement
>          Components: storage
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>             Fix For: 0.10
>
>
> Currently, tajo provides hbase storage integration and you can create a hbase 
> table as follows:
> {code:xml}
> CREATE  TABLE blog (rowkey text, author text, register_date text, title text)
> USING hbase WITH (
>   'table'='blog_backup'
>   , 'columns'=':key,info:author,info:date,content:title'
>   ,'hbase.zookeeper.quorum'='localhost');
> {code}
> But if you don't use the zookeeper property, you will find an error as 
> follows:
> {code:xml}
> CREATE  TABLE blog (rowkey text, author text, register_date text, title text)
> USING hbase WITH (
>   'table'='blog_backup'
>   , 'columns'=':key,info:author,info:date,content:title');
> java.io.IOException: HBase mapped table is required a 
> 'hbase.zookeeper.quorum' attribute.
>         at 
> org.apache.tajo.storage.hbase.HBaseStorageManager.getHBaseConfiguration(HBaseStorageManager.java:304)
> {code}
> Currently, HBaseStorageManager just refer table meta properties and it will 
> be very useful to use multiple hbase cluster. But if users with small hbase 
> cluster may be uncomfortable to above configuration. Thus we need to support 
> for users to create a hbase table without the tajo zookeeper property. 
> For example, if users doesn't set the zookeeper property with create 
> statement, tajo should refer hbase-site.xml. And if users set the zookeeper 
> property with the create statement, tajo should use the property.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to