sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1593) If connector registration is failed, the sqoop2 server cannot startup
Date Mon, 20 Oct 2014 16:52:33 GMT

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

Veena Basavaraj commented on SQOOP-1593:

agree that we can add a developer mode flag to fail silently, but for prod use case I would
not recommend this

> If connector registration is failed, the sqoop2 server cannot startup
> ---------------------------------------------------------------------
>                 Key: SQOOP-1593
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1593
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: connectors
>    Affects Versions: 2.0.0
>            Reporter: Qian Xu
> I noticed that if a connector is failed to registrered (e.g. in case configuration upgrade
failed), the sqoop2 server will NOT startup. My expected behaviors would be disable affected
connector(s) link(s) and job(s), but server should be able to startup. Is the behavior expected
by design?
> {code}
> 2014-10-20 14:15:14,683 ERROR core.SqoopServer [org.apache.sqoop.core.SqoopServer.initialize(SqoopServer.java:56)]
Server startup failure
> org.apache.sqoop.common.SqoopException: CONN_0007:Connector registration failed
> 	at org.apache.sqoop.connector.ConnectorManager.registerConnectors(ConnectorManager.java:206)
> 	at org.apache.sqoop.connector.ConnectorManager.initialize(ConnectorManager.java:167)
> 	at org.apache.sqoop.connector.ConnectorManager.initialize(ConnectorMan
> {code}

This message was sent by Atlassian JIRA

View raw message