sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2763) Sqoop2: Sqoop shell is accepting non existing arguments
Date Tue, 05 Jan 2016 15:02:40 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083187#comment-15083187
] 

Hudson commented on SQOOP-2763:
-------------------------------

SUCCESS: Integrated in Sqoop2 #989 (See [https://builds.apache.org/job/Sqoop2/989/])
SQOOP-2763: Sqoop2: Sqoop shell is accepting non existing arguments (jarcec: [https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=c40c23c9e6cb398816ee16ccbd4ee77c0b3df57e])
* shell/src/test/java/org/apache/sqoop/shell/TestUpdateCommand.java
* shell/src/test/java/org/apache/sqoop/shell/TestShowCommand.java
* common/src/main/java/org/apache/sqoop/cli/SqoopGnuParser.java
* common/pom.xml
* shell/src/test/java/org/apache/sqoop/shell/TestEnableCommand.java
* shell/src/test/java/org/apache/sqoop/shell/TestGrantCommand.java
* shell/src/test/java/org/apache/sqoop/shell/TestDeleteCommand.java
* tools/src/main/java/org/apache/sqoop/tools/tool/RepositoryDumpTool.java
* shell/src/test/java/org/apache/sqoop/shell/TestStartCommand.java
* shell/src/test/java/org/apache/sqoop/shell/TestSetCommand.java
* shell/src/test/java/org/apache/sqoop/shell/TestCreateCommand.java
* shell/src/test/java/org/apache/sqoop/shell/TestStatusCommand.java
* shell/src/main/java/org/apache/sqoop/shell/utils/ConfigOptions.java
* tools/src/main/java/org/apache/sqoop/tools/tool/RepositoryLoadTool.java
* shell/src/test/java/org/apache/sqoop/shell/TestStopCommand.java
* shell/pom.xml
* shell/src/main/java/org/apache/sqoop/shell/SqoopFunction.java
* shell/src/test/java/org/apache/sqoop/shell/TestCloneCommand.java
* shell/src/test/java/org/apache/sqoop/shell/TestDisableCommand.java
* shell/src/test/java/org/apache/sqoop/shell/TestRevokeCommand.java


> Sqoop2: Sqoop shell is accepting non existing arguments
> -------------------------------------------------------
>
>                 Key: SQOOP-2763
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2763
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.7
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Dian Fu
>             Fix For: 1.99.7
>
>         Attachments: SQOOP-2763.001.patch, SQOOP-2763.002.patch, SQOOP-2763.003.patch,
SQOOP-2763.003.patch
>
>
> We happily accept non-existing arguments in the shell which is highly deceptive:
> {code}
> sqoop:000> set server --name x
> Server is set successfully
> sqoop:000>
> {code}
> or
> {code}
> sqoop:000> show connector --please
> ...
> sqoop:000>
> {code}
> We should throw an exception or something if one is using incorrect/non-existing arguments.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message