[
https://issues.apache.org/jira/browse/SQOOP-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237906#comment-14237906
]
Jarek Jarcec Cecho commented on SQOOP-1850:
-------------------------------------------
The proposal seems to suggest to retry the {{ping()}} method n-times whereas
the code seems to be running the method in infinite loop ({{while(true)}})
instead. Am I right in assuming that the intention here is not to run the
{{ping()}} method exact amount of tries, but rather run in it as many times as
need either until the server starts or before the timer expires (whatever came
first) [~abec]?
> Sqoop2: DerbyProvider retry ping
> --------------------------------
>
> Key: SQOOP-1850
> URL: https://issues.apache.org/jira/browse/SQOOP-1850
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-test
> Affects Versions: 1.99.5
> Reporter: Abraham Elmahrek
> Assignee: Abraham Elmahrek
> Fix For: 1.99.5
>
> Attachments: SQOOP-1850.0.patch
>
>
> Sometimes if the server doesn't immediately bind to its port, then "ping"
> command will throw an exception and the provider will not start. The "ping"
> method should be caught and retried "n" times.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)