Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Documentation, Java Client
    • Labels:
      None

      Description

      This patch adds the example code for TajoClient v2.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user hyunsik opened a pull request:

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

        TAJO-1757: Add examples for TajoClient v2.

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

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

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

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


        commit 5acc167944a7a6f05591b648b7365e0c80d0bed7
        Author: Hyunsik Choi <hyunsik@apache.org>
        Date: 2015-08-13T13:01:08Z

        TAJO-1757: Add examples for TajoClient v2.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user hyunsik opened a pull request: https://github.com/apache/tajo/pull/689 TAJO-1757 : Add examples for TajoClient v2. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hyunsik/tajo TAJO-1757 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/689.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 #689 commit 5acc167944a7a6f05591b648b7365e0c80d0bed7 Author: Hyunsik Choi <hyunsik@apache.org> Date: 2015-08-13T13:01:08Z TAJO-1757 : Add examples for TajoClient v2.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jinossy commented on the pull request:

        https://github.com/apache/tajo/pull/689#issuecomment-132084010

        Looks like this PR requires JDK8. Please add link in jira issue
        ```
        [INFO] -------------------------------------------------------------
        [ERROR] COMPILATION ERROR :
        [INFO] -------------------------------------------------------------
        [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java:[24,33] cannot find symbol
        symbol: class QueryFailedException
        location: package org.apache.tajo.exception
        [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java:[25,33] cannot find symbol
        symbol: class QueryKilledException
        location: package org.apache.tajo.exception
        [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java:[41,16] cannot find symbol
        symbol: class QueryFailedException
        location: class org.apache.tajo.client.v2.example.TajoClientExample
        [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java:[43,16] cannot find symbol
        symbol: class QueryKilledException
        location: class org.apache.tajo.client.v2.example.TajoClientExample
        [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientAsyncExample.java:[35,24] try-with-resources not applicable to variable type
        required: java.lang.AutoCloseable
        found: org.apache.tajo.client.v2.QueryFuture
        [INFO] 5 errors
        ```

        Show
        githubbot ASF GitHub Bot added a comment - Github user jinossy commented on the pull request: https://github.com/apache/tajo/pull/689#issuecomment-132084010 Looks like this PR requires JDK8. Please add link in jira issue ``` [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java: [24,33] cannot find symbol symbol: class QueryFailedException location: package org.apache.tajo.exception [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java: [25,33] cannot find symbol symbol: class QueryKilledException location: package org.apache.tajo.exception [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java: [41,16] cannot find symbol symbol: class QueryFailedException location: class org.apache.tajo.client.v2.example.TajoClientExample [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java: [43,16] cannot find symbol symbol: class QueryKilledException location: class org.apache.tajo.client.v2.example.TajoClientExample [ERROR] /Users/jhkim/tajo/asf/tajo/tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientAsyncExample.java: [35,24] try-with-resources not applicable to variable type required: java.lang.AutoCloseable found: org.apache.tajo.client.v2.QueryFuture [INFO] 5 errors ```
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jinossy commented on the pull request:

        https://github.com/apache/tajo/pull/689#issuecomment-132404544

        I misunderstood. please rebase it

        Show
        githubbot ASF GitHub Bot added a comment - Github user jinossy commented on the pull request: https://github.com/apache/tajo/pull/689#issuecomment-132404544 I misunderstood. please rebase it
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jinossy commented on the pull request:

        https://github.com/apache/tajo/pull/689#issuecomment-132428086

        +1 Looks great to me!

        Show
        githubbot ASF GitHub Bot added a comment - Github user jinossy commented on the pull request: https://github.com/apache/tajo/pull/689#issuecomment-132428086 +1 Looks great to me!
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

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

        committed.

        Show
        hyunsik Hyunsik Choi added a comment - committed.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #445 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/445/)
        TAJO-1757: Add examples for TajoClient v2. (hyunsik: rev b4098353d142c84d5fa881b25b8334650212ffed)

        • tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java
        • tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java
        • pom.xml
        • tajo-client/src/main/java/org/apache/tajo/client/v2/TajoClient.java
        • CHANGES
        • tajo-dist/pom.xml
        • tajo-common/src/main/java/org/apache/tajo/exception/ErrorMessages.java
        • tajo-client/src/main/java/org/apache/tajo/client/v2/QueryFuture.java
        • tajo-project/pom.xml
        • tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientAsyncExample.java
        • tajo-client-example/pom.xml
        • tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #445 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/445/ ) TAJO-1757 : Add examples for TajoClient v2. (hyunsik: rev b4098353d142c84d5fa881b25b8334650212ffed) tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java pom.xml tajo-client/src/main/java/org/apache/tajo/client/v2/TajoClient.java CHANGES tajo-dist/pom.xml tajo-common/src/main/java/org/apache/tajo/exception/ErrorMessages.java tajo-client/src/main/java/org/apache/tajo/client/v2/QueryFuture.java tajo-project/pom.xml tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientAsyncExample.java tajo-client-example/pom.xml tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #806 (See https://builds.apache.org/job/Tajo-master-build/806/)
        TAJO-1757: Add examples for TajoClient v2. (hyunsik: rev b4098353d142c84d5fa881b25b8334650212ffed)

        • tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java
        • tajo-dist/pom.xml
        • tajo-common/src/main/java/org/apache/tajo/exception/ErrorMessages.java
        • tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java
        • tajo-client/src/main/java/org/apache/tajo/client/v2/TajoClient.java
        • tajo-project/pom.xml
        • tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientAsyncExample.java
        • tajo-client-example/pom.xml
        • pom.xml
        • tajo-client/src/main/java/org/apache/tajo/client/v2/QueryFuture.java
        • tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java
        • CHANGES
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #806 (See https://builds.apache.org/job/Tajo-master-build/806/ ) TAJO-1757 : Add examples for TajoClient v2. (hyunsik: rev b4098353d142c84d5fa881b25b8334650212ffed) tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java tajo-dist/pom.xml tajo-common/src/main/java/org/apache/tajo/exception/ErrorMessages.java tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientExample.java tajo-client/src/main/java/org/apache/tajo/client/v2/TajoClient.java tajo-project/pom.xml tajo-client-example/src/main/java/org/apache/tajo/client/v2/example/TajoClientAsyncExample.java tajo-client-example/pom.xml pom.xml tajo-client/src/main/java/org/apache/tajo/client/v2/QueryFuture.java tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java CHANGES

          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