sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1838) Sqoop2: While running Integration tests in IDE ( we get Derby Start Error)
Date Wed, 03 Dec 2014 17:57:12 GMT

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

Jarek Jarcec Cecho commented on SQOOP-1838:
-------------------------------------------

I'm wondering what is the exception that you were observing [~vybs]?

> Sqoop2: While running Integration tests in IDE ( we get Derby Start Error)
> --------------------------------------------------------------------------
>
>                 Key: SQOOP-1838
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1838
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.4
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>
> [~richard_zhou] and I run integration tests in IDE and find that intermittently we ger
derby start error
> {code}
>   @Override
>   public void start() {
>     // Start embedded server
>     try {
>       server = new NetworkServerControl(InetAddress.getByName("localhost"), 1527);
>       server.start(new LoggerWriter(LOG, Level.INFO));
>       // Start won't thrown an exception in case that it fails to start, one
>       // have to explicitly call ping() in order to verify if the server is
>       // up. Check DERBY-1465 for more details.
>       server.ping();
>     } catch (Exception e) {
>       LOG.error("Can't start Derby network server", e);
>       throw new RuntimeException("Can't derby server", e);
>     }
> {code}
> The fix is simple to have a thread.sleep until it can start



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

Mime
View raw message