Any help will be highly appreciated. Thanks, Shakun On Oct 9, 2014 6:21 PM, "shakun grover" <[email protected]> wrote:
> Hi all, > > I wanted to upgrade to Cdh5 with which Sqoop2v1.99.3 is packaged. > I have created a generic connector which works fine with Sqoop2v.199.2 > but when I am trying to load the same connector in Sqoop2v1.99.3 it stopped > working. > > I also modified the sqoop.properties file with the following entries from > false to true: > > > org.apache.sqoop.connector.autoupgrade=true > org.apache.sqoop.framework.autoupgrade=true > > But still I am I am getting the exception as below: > > *org.apache.sqoop.common.SqoopException: CONN_0007:Connector registration > failed* > * at > org.apache.sqoop.connector.ConnectorManager.registerConnectors(ConnectorManager.java:236)* > * at > org.apache.sqoop.connector.ConnectorManager.initialize(ConnectorManager.java:197)* > * at > org.apache.sqoop.connector.ConnectorManager.initialize(ConnectorManager.java:145)* > > > *Caused by: org.apache.sqoop.common.SqoopException: > JDBCREPO_0013:Connector metadata changed - upgrade may be required - > Connector: generic-jdbc-connector given: > connector-generic-jdbc-connector:-1:org.apache.sqoop.connector.jdbc.GenericJdbcConnector, > Connection: Forms: > form-connection:-1:[input-connection.jdbcDriver:-1:STRING:128, > input-connection.connectionString:-1:STRING:128, > input-connection.username:-1:STRING:40, > input-connection.password:-1:STRING:40, > input-connection.jdbcProperties:-1:MAP]Job type: EXPORTForms: > form-table:-1:[input-table.schemaName:-1:STRING:50, > input-table.tableName:-1:STRING:2000, input-table.sql:-1:STRING:50, > input-table.columns:-1:STRING:50]Job type: IMPORTForms: > form-table:-1:[input-table.schemaName:-1:STRING:50, > input-table.tableName:-1:STRING:50, input-table.sql:-1:STRING:2000, > input-table.columns:-1:STRING:50, input-table.partitionColumn:-1:STRING:50, > input-table.partitionColumnNull:-1:BOOLEAN, > input-table.boundaryQuery:-1:STRING:50] found: > connector-generic-jdbc-connector:1:org.apache.sqoop.connector.jdbc.GenericJdbcConnector, > Connection: Forms: > form-connection:1:[input-connection.jdbcDriver:1:STRING:128, > input-connection.connectionString:2:STRING:128, > input-connection.username:3:STRING:40, > input-connection.password:4:STRING:40, > input-connection.jdbcProperties:5:MAP]Job type: EXPORTForms: > form-table:2:[input-table.schemaName:6:STRING:50, > input-table.tableName:7:STRING:2000, input-table.sql:8:STRING:50, > input-table.columns:9:STRING:50, input-table.stageTableName:10:STRING:2000, > input-table.clearStageTable:11:BOOLEAN]Job type: IMPORTForms: > form-table:3:[input-table.schemaName:12:STRING:50, > input-table.tableName:13:STRING:50, input-table.sql:14:STRING:2000, > input-table.columns:15:STRING:50, input-table.partitionColumn:16:STRING:50, > input-table.partitionColumnNull:17:BOOLEAN, > input-table.boundaryQuery:18:STRING:50]* > * at > org.apache.sqoop.repository.JdbcRepository$3.doIt(JdbcRepository.java:195)* > > > Could you please let me know, when can be done for this? > -- > Thanks & Regards, > Shakun Grover >
