Sqoop
  1. Sqoop
  2. SQOOP-811

Client shell variable substitution for recent commands

    Details

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

      Description

      Variable substitution is not applied for recent commands. Created executeCommand() abstract method in SqoopCommand which invoked after resolving variables. Now first resolves variable and then check the command options.

      1. SQOOP-811.patch
        6 kB
        Vasanth kumar RJ

        Activity

        Hide
        Hudson added a comment -

        Integrated in Sqoop2-hadoop100 #109 (See https://builds.apache.org/job/Sqoop2-hadoop100/109/)
        SQOOP-811: Client shell variable substitution for recent commands (Revision 2016dedce6658ebdf6468593053ed9c7ec8134db)

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

        • client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/CreateCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/CloneCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/DeleteCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/UpdateCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/ShowCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
        Show
        Hudson added a comment - Integrated in Sqoop2-hadoop100 #109 (See https://builds.apache.org/job/Sqoop2-hadoop100/109/ ) SQOOP-811 : Client shell variable substitution for recent commands (Revision 2016dedce6658ebdf6468593053ed9c7ec8134db) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2016dedce6658ebdf6468593053ed9c7ec8134db Files : client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java client/src/main/java/org/apache/sqoop/client/shell/CreateCommand.java client/src/main/java/org/apache/sqoop/client/shell/CloneCommand.java client/src/main/java/org/apache/sqoop/client/shell/DeleteCommand.java client/src/main/java/org/apache/sqoop/client/shell/UpdateCommand.java client/src/main/java/org/apache/sqoop/client/shell/ShowCommand.java client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
        Hide
        Hudson added a comment -

        Integrated in Sqoop2-hadoop200 #104 (See https://builds.apache.org/job/Sqoop2-hadoop200/104/)
        SQOOP-811: Client shell variable substitution for recent commands (Revision 2016dedce6658ebdf6468593053ed9c7ec8134db)

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

        • client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/CloneCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/UpdateCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/ShowCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/DeleteCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/CreateCommand.java
        • client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java
        Show
        Hudson added a comment - Integrated in Sqoop2-hadoop200 #104 (See https://builds.apache.org/job/Sqoop2-hadoop200/104/ ) SQOOP-811 : Client shell variable substitution for recent commands (Revision 2016dedce6658ebdf6468593053ed9c7ec8134db) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2016dedce6658ebdf6468593053ed9c7ec8134db Files : client/src/main/java/org/apache/sqoop/client/shell/SubmissionCommand.java client/src/main/java/org/apache/sqoop/client/shell/CloneCommand.java client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java client/src/main/java/org/apache/sqoop/client/shell/UpdateCommand.java client/src/main/java/org/apache/sqoop/client/shell/ShowCommand.java client/src/main/java/org/apache/sqoop/client/shell/DeleteCommand.java client/src/main/java/org/apache/sqoop/client/shell/CreateCommand.java client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java
        Jarek Jarcec Cecho made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 1.99.2 [ 12323640 ]
        Fix Version/s 2.0.0 [ 12319272 ]
        Resolution Fixed [ 1 ]
        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=2016dedce6658ebdf6468593053ed9c7ec8134db Thank you Vasanth for your contribution! Jarcec
        Hide
        Vasanth kumar RJ added a comment -

        Ok. Attached updated patch.

        Thank you

        -
        Vasanth kumar

        Show
        Vasanth kumar RJ added a comment - Ok. Attached updated patch. Thank you - Vasanth kumar
        Vasanth kumar RJ made changes -
        Attachment SQOOP-811.patch [ 12563492 ]
        Vasanth kumar RJ made changes -
        Attachment SQOOP-811.patch [ 12563439 ]
        Jarek Jarcec Cecho made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Jarek Jarcec Cecho added a comment -

        Setting "Patch available" state as there is patch available

        Show
        Jarek Jarcec Cecho added a comment - Setting "Patch available" state as there is patch available
        Vasanth kumar RJ made changes -
        Attachment SQOOP-811.patch [ 12563439 ]
        Vasanth kumar RJ made changes -
        Field Original Value New Value
        Assignee Vasanth kumar RJ [ vasanthkumar ]
        Vasanth kumar RJ created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development