Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1867

TajoMaster should handle the change of ${tajo.root}.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: TajoMaster
    • Labels:
      None

      Description

      Currently, TajoMaster uses the configuration property tajo.root as a default tablespace. But, many users have suffered from tablespace mismatch problem when they change tajo.root. This patch lets TajoMaster to fix the location of default tablespace if {{tajo.root} has been changed.

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-0.11.0-build #57 (See https://builds.apache.org/job/Tajo-0.11.0-build/57/)
        TAJO-1867: TajoMaster should handle the change of $

        {tajo.root}

        . (hyunsik: rev 855127f2c65fdfeb6efddc82d6565f15dc78ff46)

        • tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        • tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto
        • CHANGES
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java
        • tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-0.11.0-build #57 (See https://builds.apache.org/job/Tajo-0.11.0-build/57/ ) TAJO-1867 : TajoMaster should handle the change of $ {tajo.root} . (hyunsik: rev 855127f2c65fdfeb6efddc82d6565f15dc78ff46) tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto CHANGES tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #880 (See https://builds.apache.org/job/Tajo-master-build/880/)
        TAJO-1867: TajoMaster should handle the change of $

        {tajo.root}

        . (hyunsik: rev 61b6ec8e6baa8792b01e4e8f1de4f58f05134105)

        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java
        • tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
        • tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
        • CHANGES
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #880 (See https://builds.apache.org/job/Tajo-master-build/880/ ) TAJO-1867 : TajoMaster should handle the change of $ {tajo.root} . (hyunsik: rev 61b6ec8e6baa8792b01e4e8f1de4f58f05134105) tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java CHANGES
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #521 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/521/)
        TAJO-1867: TajoMaster should handle the change of $

        {tajo.root}

        . (hyunsik: rev 61b6ec8e6baa8792b01e4e8f1de4f58f05134105)

        • tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
        • CHANGES
        • tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #521 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/521/ ) TAJO-1867 : TajoMaster should handle the change of $ {tajo.root} . (hyunsik: rev 61b6ec8e6baa8792b01e4e8f1de4f58f05134105) tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java CHANGES tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        Hide
        hyunsik Hyunsik Choi added a comment -

        committed.

        Show
        hyunsik Hyunsik Choi added a comment - committed.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

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

        Github user jinossy commented on the pull request:

        https://github.com/apache/tajo/pull/767#issuecomment-141298471

        +1 LGTM

        Show
        githubbot ASF GitHub Bot added a comment - Github user jinossy commented on the pull request: https://github.com/apache/tajo/pull/767#issuecomment-141298471 +1 LGTM
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/767#issuecomment-141212021

        It may be hard to make unit tests. I verified it in a local cluster.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/767#issuecomment-141212021 It may be hard to make unit tests. I verified it in a local cluster.
        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user hyunsik opened a pull request:

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

        TAJO-1867: TajoMaster should handle the change of $

        {tajo.root}.



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

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

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

        https://github.com/apache/tajo/pull/767.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 #767

        ----
        commit 73075899a03ad91f21d19ca6a3ee328201f50274
        Author: Hyunsik Choi <hyunsik@apache.org>
        Date: 2015-09-17T18:40:31Z

        TAJO-1867: TajoMaster should handle the change of ${tajo.root}

        .


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user hyunsik opened a pull request: https://github.com/apache/tajo/pull/767 TAJO-1867 : TajoMaster should handle the change of $ {tajo.root}. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hyunsik/tajo TAJO-1867 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/767.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 #767 ---- commit 73075899a03ad91f21d19ca6a3ee328201f50274 Author: Hyunsik Choi <hyunsik@apache.org> Date: 2015-09-17T18:40:31Z TAJO-1867 : TajoMaster should handle the change of ${tajo.root} .

          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