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

ASF GitHub Bot commented on TAJO-1077:
--------------------------------------

Github user hyunsik commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/163#discussion_r18319851
  
    --- Diff: tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst 
---
    @@ -24,6 +24,39 @@ If you want to customize the catalog service, copy 
``$TAJO_HOME/conf/catalog-sit
     
+-----------------------------------+------------------------------------------------+
     
     =========================
    +Derby Configuration
    +=========================
    +
    +By default, Tajo uses `Apache Derby <http://db.apache.org/derby/>`_ as a 
persistent storage in order to manage table meta data. So, without any 
configuration, you can use Derby for catalog store.
    +
    +Also, you can set manually configs in ``conf/catalog-site.xml`` as follows:
    +
    +.. code-block:: xml
    +
    +  <property>
    +    <name>tajo.catalog.store.class</name>
    +    <value>org.apache.tajo.catalog.store.DerbyStore</value>
    +  </property>
    +
    +  <property>
    +    <name>tajo.catalog.uri</name>
    +    <value>jdbc:derby:<absolute directory>;create=true</value>
    +  </property>
    +
    +Since Derby is a file-based embedded database, it stores data into a 
specified directory. So, you need to specify the directory for storing data 
files instead of specifing JDBC URI with hostname and port. For example, in 
case where you use '/var/data/tajo-catalog' as a derby store directory, you 
should set configs as follows:
    --- End diff --
    
    Thank you for the review. I'll fix it.


> Add Derby configuration documentation
> -------------------------------------
>
>                 Key: TAJO-1077
>                 URL: https://issues.apache.org/jira/browse/TAJO-1077
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>            Priority: Trivial
>             Fix For: 0.9.0
>
>
> This patch adds Derby configuration documentation.



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

Reply via email to