Review Board 1.7.22


SQOOP-659. Design metadata upgrade procedure

Review Request #10281 - Created April 4, 2013 and submitted

Hari Shreedharan
SQOOP-659
Reviewers
Sqoop
sqoop-sqoop2
Metadata upgrade for connector upgrades. This is an initial patch soliciting feedback. Limited testing has been done. I will add some unit tests once I get feedback.

 
common/src/main/java/org/apache/sqoop/model/MConnection.java
Revision 36dca42 New Change
[20] 54 lines
[+20] [+] public void setName(String name) {
55

    
   
55

   
56
  public long getConnectorId() {
56
  public long getConnectorId() {
57
    return connectorId;
57
    return connectorId;
58
  }
58
  }
59

    
   
59

   

    
   
60
  public void setConnectorId(long connectorId) {

    
   
61
    this.connectorId = connectorId;

    
   
62
  }

    
   
63

   
60
  public MConnectionForms getConnectorPart() {
64
  public MConnectionForms getConnectorPart() {
61
    return connectorPart;
65
    return connectorPart;
62
  }
66
  }
63

    
   
67

   
64
  public MConnectionForms getFrameworkPart() {
68
  public MConnectionForms getFrameworkPart() {
[+20] [20] 11 lines
common/src/main/java/org/apache/sqoop/model/MJob.java
Revision a53f04e New Change
 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnector.java
Revision c315e48 New Change
 
core/src/main/java/org/apache/sqoop/repository/JdbcRepository.java
Revision 32df1e5 New Change
 
core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryHandler.java
Revision ca51313 New Change
 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
Revision 486635d New Change
 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
Revision ea458ac New Change
 
spi/src/main/java/org/apache/sqoop/connector/spi/MetadataUpgrader.java
New File
 
spi/src/main/java/org/apache/sqoop/connector/spi/SqoopConnector.java
Revision 540303a New Change
 
  1. common/src/main/java/org/apache/sqoop/model/MConnection.java: Loading...
  2. common/src/main/java/org/apache/sqoop/model/MJob.java: Loading...
  3. connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnector.java: Loading...
  4. core/src/main/java/org/apache/sqoop/repository/JdbcRepository.java: Loading...
  5. core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryHandler.java: Loading...
  6. repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java: Loading...
  7. repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java: Loading...
  8. spi/src/main/java/org/apache/sqoop/connector/spi/MetadataUpgrader.java: Loading...
  9. spi/src/main/java/org/apache/sqoop/connector/spi/SqoopConnector.java: Loading...