Sqoop
  1. Sqoop
  2. SQOOP-985

Sqoop2: Introduce synchronous job submission to Client API

    Details

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

      Description

      Our Client API should have ability to be blocking on job submission.

      1. SQOOP-985.patch
        10 kB
        Vasanth kumar RJ

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #286 (See https://builds.apache.org/job/Sqoop2-hadoop100/286/)
          SQOOP-985: Sqoop2: Introduce synchronous job submission to Client API (Revision cd4a822ab74264c89767cadd6c7132a722fd9b81)

          Result = FAILURE
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=cd4a822ab74264c89767cadd6c7132a722fd9b81
          Files :

          • client/src/main/java/org/apache/sqoop/client/core/Constants.java
          • client/src/main/java/org/apache/sqoop/client/core/ClientError.java
          • client/src/main/java/org/apache/sqoop/client/SqoopClient.java
          • client/src/main/java/org/apache/sqoop/client/SubmissionCallback.java
          • docs/src/site/sphinx/ClientAPI.rst
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #286 (See https://builds.apache.org/job/Sqoop2-hadoop100/286/ ) SQOOP-985 : Sqoop2: Introduce synchronous job submission to Client API (Revision cd4a822ab74264c89767cadd6c7132a722fd9b81) Result = FAILURE jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=cd4a822ab74264c89767cadd6c7132a722fd9b81 Files : client/src/main/java/org/apache/sqoop/client/core/Constants.java client/src/main/java/org/apache/sqoop/client/core/ClientError.java client/src/main/java/org/apache/sqoop/client/SqoopClient.java client/src/main/java/org/apache/sqoop/client/SubmissionCallback.java docs/src/site/sphinx/ClientAPI.rst client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #291 (See https://builds.apache.org/job/Sqoop2-hadoop200/291/)
          SQOOP-985: Sqoop2: Introduce synchronous job submission to Client API (Revision cd4a822ab74264c89767cadd6c7132a722fd9b81)

          Result = FAILURE
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=cd4a822ab74264c89767cadd6c7132a722fd9b81
          Files :

          • client/src/main/java/org/apache/sqoop/client/core/Constants.java
          • docs/src/site/sphinx/ClientAPI.rst
          • client/src/main/java/org/apache/sqoop/client/SqoopClient.java
          • client/src/main/java/org/apache/sqoop/client/core/ClientError.java
          • client/src/main/java/org/apache/sqoop/client/SubmissionCallback.java
          • client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #291 (See https://builds.apache.org/job/Sqoop2-hadoop200/291/ ) SQOOP-985 : Sqoop2: Introduce synchronous job submission to Client API (Revision cd4a822ab74264c89767cadd6c7132a722fd9b81) Result = FAILURE jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=cd4a822ab74264c89767cadd6c7132a722fd9b81 Files : client/src/main/java/org/apache/sqoop/client/core/Constants.java docs/src/site/sphinx/ClientAPI.rst client/src/main/java/org/apache/sqoop/client/SqoopClient.java client/src/main/java/org/apache/sqoop/client/core/ClientError.java client/src/main/java/org/apache/sqoop/client/SubmissionCallback.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java
          Hide
          Jarek Jarcec Cecho added a comment -
          Show
          Jarek Jarcec Cecho added a comment - The patch is in: https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=commit;h=cd4a822ab74264c89767cadd6c7132a722fd9b81 Thank you Vasanth for your contribution! Jarcec
          Hide
          Vasanth kumar RJ added a comment -

          This patch solves a bug.

          Getting NullPointerException when using --poll-timeout option

          sqoop:000> submission start --synchronous --jid 1 --poll-timeout 1000
          Submission details
          Job id: 1
          Status: BOOTING
          Creation date: 2013-05-01 00:47:14 IST
          Last update date: 2013-05-01 00:47:14 IST
          External Id: job_201304302251_0020
          http://localhost:50030/jobdetails.jsp?jobid=job_201304302251_0020
          Progress: Progress is not available
          Exception has occurred during processing command
          Exception: java.lang.NullPointerException Message: null

          Show
          Vasanth kumar RJ added a comment - This patch solves a bug. Getting NullPointerException when using --poll-timeout option sqoop:000> submission start --synchronous --jid 1 --poll-timeout 1000 Submission details Job id: 1 Status: BOOTING Creation date: 2013-05-01 00:47:14 IST Last update date: 2013-05-01 00:47:14 IST External Id: job_201304302251_0020 http://localhost:50030/jobdetails.jsp?jobid=job_201304302251_0020 Progress: Progress is not available Exception has occurred during processing command Exception: java.lang.NullPointerException Message: null

            People

            • Assignee:
              Vasanth kumar RJ
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development