Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/352#discussion_r23140577
--- Diff: tajo-docs/src/main/sphinx/hbase_integration.rst ---
@@ -0,0 +1,181 @@
+*************************************
+HBase Integration
+*************************************
+
+Apache Tajo⢠storage supports integration with Apache HBaseâ¢.
+This integration allows Tajo to access all tables used in Apache HBase.
+
+In order to use this feature, you need to build add some configs into
``conf/tajo-env.sh`` and then add some properties into a table create statement.
+
+This section describes how to setup HBase integration.
+
+First, you need to set your HBase home directory to the environment
variable ``HBASE_HOME`` in conf/tajo-env.sh as follows: ::
+
+ export HBASE_HOME=/path/to/your/hive/directory
+
+If you set the directory, Tajo will add HBase library file to classpath.
+
+
+
+========================
+CREATE TABLE
+========================
+
+*Synopsis*
+
+.. code-block:: sql
+
+ CREATE [EXTERNAL] TABLE [IF NOT EXISTS] <table_name> [(<column_name>
<data_type>, ... )]
+ USING hbase
+ WITH ('table'='<hbase_table_name>'
+ , 'columns'=':key,<column_family_name>:<qualifier_name>, ...'
+ , 'hbase.zookeeper.quorum'='<zookeeper_address>')
+
+Options
+
+* ``table`` : Set hbase origin table name. If you want to create an
external table, the table must exists on HBase. The other way, if you want to
create a managed table, the table must doesn't exist on HBase.
+* ``columns`` : :key means HBase row key. The number of columns entry need
to equals to the number of Tajo table column
+* ``hbase.zookeeper.quorum`` : Set zookeeper quorum address. You can use
different zookeeper cluster on the same Tajo database. If you don't set the
zookeeper address, Tajo will refer the property of hbase-site.xml file.
+
+
+``IF NOT EXISTS`` allows ``CREATE [EXTERNAL] TABLE`` statement to avoid an
error which occurs when the table does not exist.
+
+
+
+========================
+ DROP TABLE
+========================
+
+*Synopsis*
+
+.. code-block:: sql
+
+ DROP TABLE [IF EXISTS] <table_name> [PURGE]
+
+``IF EXISTS`` allows ``DROP TABLE`` statement to avoid an error which
occurs when the database does not exist. ``DROP TABLE`` statement removes a
table from Tajo catalog, but it does not remove the contents on HBase cluster.
If ``PURGE`` option is given, ``DROP TABLE`` statement will eliminate the entry
in the catalog as well as the contents on HBase cluster.
--- End diff --
In the first statement, you may mean the ```table``` instead of the
```database```.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---