Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      This patch adds Derby configuration documentation.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user hyunsik opened a pull request:

        https://github.com/apache/tajo/pull/163

        TAJO-1077: Add Derby configuration documentation.

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/hyunsik/tajo TAJO-1077

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/tajo/pull/163.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #163


        commit e023a692941ab51c49b4fe7a1023cb7751223a00
        Author: Hyunsik Choi <hyunsik@apache.org>
        Date: 2014-09-26T19:11:28Z

        TAJO-1077: Add Derby configuration documentation.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user hyunsik opened a pull request: https://github.com/apache/tajo/pull/163 TAJO-1077 : Add Derby configuration documentation. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hyunsik/tajo TAJO-1077 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/163.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #163 commit e023a692941ab51c49b4fe7a1023cb7751223a00 Author: Hyunsik Choi <hyunsik@apache.org> Date: 2014-09-26T19:11:28Z TAJO-1077 : Add Derby configuration documentation.
        Hide
        githubbot ASF GitHub Bot added a comment -

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

        https://github.com/apache/tajo/pull/163#discussion_r18122147

        — 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 manully configs in ``conf/catalog-site.xml`` as follows:
        — End diff –

        Only a small typo: "manully" -> "manually"

        All remaining parts of the new content look good to me.

        Show
        githubbot ASF GitHub Bot added a comment - Github user mhthanh commented on a diff in the pull request: https://github.com/apache/tajo/pull/163#discussion_r18122147 — 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 manully configs in ``conf/catalog-site.xml`` as follows: — End diff – Only a small typo: "manully" -> "manually" All remaining parts of the new content look good to me.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/163#issuecomment-57058717

        Hi @mhthanh,

        Thank you for the quick review! I'll fix the typo.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/163#issuecomment-57058717 Hi @mhthanh, Thank you for the quick review! I'll fix the typo.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/163#issuecomment-57547834

        I fixed the typo error, and updated the patch.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/163#issuecomment-57547834 I fixed the typo error, and updated the patch.
        Hide
        githubbot ASF GitHub Bot added a comment -

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

        https://github.com/apache/tajo/pull/163#discussion_r18319026

        — 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 –

        a small typo: specifing -> specifying

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on a diff in the pull request: https://github.com/apache/tajo/pull/163#discussion_r18319026 — 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 – a small typo: specifing -> specifying
        Hide
        githubbot ASF GitHub Bot added a comment -

        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.

        Show
        githubbot ASF GitHub Bot added a comment - 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.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/163#issuecomment-57581285

        Fixed a typo.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/163#issuecomment-57581285 Fixed a typo.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/163#issuecomment-57582174

        +1

        Thank you for your contribution.
        Push it!

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/163#issuecomment-57582174 +1 Thank you for your contribution. Push it!
        Hide
        hyunsik Hyunsik Choi added a comment -

        committed the patch to master branch.

        Show
        hyunsik Hyunsik Choi added a comment - committed the patch to master branch.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/tajo/pull/163

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/163
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #383 (See https://builds.apache.org/job/Tajo-master-build/383/)
        TAJO-1077: Add Derby configuration documentation. (hyunsik: rev d1022fbb8fb182ef1f83997c255f32c5f40f37d0)

        • tajo-docs/src/main/sphinx/getting_started/local_setup.rst
        • tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst
        • CHANGES
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #383 (See https://builds.apache.org/job/Tajo-master-build/383/ ) TAJO-1077 : Add Derby configuration documentation. (hyunsik: rev d1022fbb8fb182ef1f83997c255f32c5f40f37d0) tajo-docs/src/main/sphinx/getting_started/local_setup.rst tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst CHANGES
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-CODEGEN-build #25 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/25/)
        TAJO-1077: Add Derby configuration documentation. (hyunsik: rev d1022fbb8fb182ef1f83997c255f32c5f40f37d0)

        • CHANGES
        • tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst
        • tajo-docs/src/main/sphinx/getting_started/local_setup.rst
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-CODEGEN-build #25 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/25/ ) TAJO-1077 : Add Derby configuration documentation. (hyunsik: rev d1022fbb8fb182ef1f83997c255f32c5f40f37d0) CHANGES tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst tajo-docs/src/main/sphinx/getting_started/local_setup.rst
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-block_iteration-branch-build #15 (See https://builds.apache.org/job/Tajo-block_iteration-branch-build/15/)
        TAJO-1077: Add Derby configuration documentation. (hyunsik: rev d1022fbb8fb182ef1f83997c255f32c5f40f37d0)

        • CHANGES
        • tajo-docs/src/main/sphinx/getting_started/local_setup.rst
        • tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-block_iteration-branch-build #15 (See https://builds.apache.org/job/Tajo-block_iteration-branch-build/15/ ) TAJO-1077 : Add Derby configuration documentation. (hyunsik: rev d1022fbb8fb182ef1f83997c255f32c5f40f37d0) CHANGES tajo-docs/src/main/sphinx/getting_started/local_setup.rst tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst

          People

          • Assignee:
            hyunsik Hyunsik Choi
            Reporter:
            hyunsik Hyunsik Choi
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development