Sqoop
  1. Sqoop
  2. SQOOP-876

Expose the xid and cid when show status of job in sqoop2 client

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.1
    • Fix Version/s: 1.99.2
    • Component/s: sqoop2-client
    • Labels:
      None

      Description

      Hi,

      It would be useful for the sqoop2 client to show the cid and xid associated with the job that I would like to see status for. For example, if I have a failing job and I need to modify its associated connection object due to some connection error, then I would like to know the xid associated with that job when I do "show job --jid 1" so that I can update it with "update job --jid N"

      1. SQOOP-876.patch
        4 kB
        Vasanth kumar RJ

        Issue Links

          Activity

          Hide
          Vasanth kumar RJ added a comment -

          Patch include a fix in create connection function where it was printing resource key in shell.

          Show
          Vasanth kumar RJ added a comment - Patch include a fix in create connection function where it was printing resource key in shell.
          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=3865f7deec722948a60cc1746e2330bd1c5cb9e4 Thank you Vasanth! Jarcec
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #264 (See https://builds.apache.org/job/Sqoop2-hadoop100/264/)
          SQOOP-876: Expose the xid and cid when show status of job in sqoop2 client (Revision 3865f7deec722948a60cc1746e2330bd1c5cb9e4)

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

          • client/src/main/java/org/apache/sqoop/client/core/Constants.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/CreateConnectionFunction.java
          • client/src/main/resources/client-resource.properties
          • client/src/main/java/org/apache/sqoop/client/shell/ShowConnectionFunction.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #264 (See https://builds.apache.org/job/Sqoop2-hadoop100/264/ ) SQOOP-876 : Expose the xid and cid when show status of job in sqoop2 client (Revision 3865f7deec722948a60cc1746e2330bd1c5cb9e4) Result = FAILURE jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3865f7deec722948a60cc1746e2330bd1c5cb9e4 Files : client/src/main/java/org/apache/sqoop/client/core/Constants.java client/src/main/java/org/apache/sqoop/client/shell/ShowJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/CreateConnectionFunction.java client/src/main/resources/client-resource.properties client/src/main/java/org/apache/sqoop/client/shell/ShowConnectionFunction.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #264 (See https://builds.apache.org/job/Sqoop2-hadoop200/264/)
          SQOOP-876: Expose the xid and cid when show status of job in sqoop2 client (Revision 3865f7deec722948a60cc1746e2330bd1c5cb9e4)

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

          • client/src/main/java/org/apache/sqoop/client/shell/ShowJobFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/ShowConnectionFunction.java
          • client/src/main/java/org/apache/sqoop/client/shell/CreateConnectionFunction.java
          • client/src/main/resources/client-resource.properties
          • client/src/main/java/org/apache/sqoop/client/core/Constants.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #264 (See https://builds.apache.org/job/Sqoop2-hadoop200/264/ ) SQOOP-876 : Expose the xid and cid when show status of job in sqoop2 client (Revision 3865f7deec722948a60cc1746e2330bd1c5cb9e4) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3865f7deec722948a60cc1746e2330bd1c5cb9e4 Files : client/src/main/java/org/apache/sqoop/client/shell/ShowJobFunction.java client/src/main/java/org/apache/sqoop/client/shell/ShowConnectionFunction.java client/src/main/java/org/apache/sqoop/client/shell/CreateConnectionFunction.java client/src/main/resources/client-resource.properties client/src/main/java/org/apache/sqoop/client/core/Constants.java

            People

            • Assignee:
              Vasanth kumar RJ
              Reporter:
              Will McQueen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development