[
https://issues.apache.org/jira/browse/SQOOP-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dian Fu updated SQOOP-2693:
---------------------------
Attachment: SQOOP-2693.001.patch
Attach a quick fix. Skip the review board as the patch is very small.
> Sqoop2: Command line should let user retry when the input is invalid
> --------------------------------------------------------------------
>
> Key: SQOOP-2693
> URL: https://issues.apache.org/jira/browse/SQOOP-2693
> Project: Sqoop
> Issue Type: Bug
> Reporter: Dian Fu
> Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2693.001.patch
>
>
> {quote}
> I'm not sure whether it's a new issue or not, but if I enter invalid name,
> I'm only given error but not the ability to change the name, check it out:
> sqoop:000> create link -c generic-jdbc-connector
> Creating link for connector with id generic-jdbc-connector
> Please fill following values to create new link object
> Name:
> object-name: Error message: Job name or link name cannot be null
> Link configuration
> Shouldn't we make a loop and request valid Name rather then just typing the
> error message?
> {quote}
> As discussed in the review board of SQOOP-2684, we should let user retry when
> the input is invalid.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)