[
https://issues.apache.org/jira/browse/SQOOP-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075846#comment-15075846
]
Sqoop QA bot commented on SQOOP-2763:
-------------------------------------
Testing file
[SQOOP-2763.001.patch|https://issues.apache.org/jira/secure/attachment/12780096/SQOOP-2763.001.patch]
against branch sqoop2 took 1:00:51.380748.
{color:red}Overall:{color} -1 due to an error(s), see details below:
{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:red}ERROR:{color} Patch does not add/modify any test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:red}ERROR:{color} Some of unit tests failed
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2061/artifact/patch-process/test_unit.txt],
executed 1580 tests)
* Test {{org.apache.sqoop.shell.TestShowCommand}}
{color:green}SUCCESS:{color} Test coverage did not decreased
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2061/artifact/patch-process/cobertura_report.txt])
{color:green}SUCCESS:{color} No new findbugs warnings
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2061/artifact/patch-process/findbugs_report.txt])
{color:green}SUCCESS:{color} All integration tests passed (executed 150 tests)
Console output is available
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/2061/console].
This message is automatically generated.
> 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
>
>
> 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)