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 setConnectorPart(MConnectionForms connectorPart) {

    
   
61
    this.connectorPart = connectorPart;

    
   
62
  }

    
   
63

   

    
   
64
  public void setFrameworkPart(MConnectionForms frameworkPart) {

    
   
65
    this.frameworkPart = frameworkPart;

    
   
66
  }

    
   
67

   

    
   
68
  public void setConnectorId(long connectorId) {

    
   
69
    this.connectorId = connectorId;

    
   
70
  }

    
   
71

   
60
  public MConnectionForms getConnectorPart() {
72
  public MConnectionForms getConnectorPart() {
61
    return connectorPart;
73
    return connectorPart;
62
  }
74
  }
63

    
   
75

   
64
  public MConnectionForms getFrameworkPart() {
76
  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
 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorMetadataUpgrader.java
New File
 
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
 
core/src/main/java/org/apache/sqoop/repository/Repository.java
Revision d6ec303 New Change
 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoError.java
Revision 95f6570 New Change
 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
Revision 32cef8a 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. connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorMetadataUpgrader.java: Loading...
  5. core/src/main/java/org/apache/sqoop/repository/JdbcRepository.java: Loading...
  6. core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryHandler.java: Loading...
  7. core/src/main/java/org/apache/sqoop/repository/Repository.java: Loading...
  8. repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoError.java: Loading...
  9. repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java: Loading...
  10. repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java: Loading...
  11. spi/src/main/java/org/apache/sqoop/connector/spi/MetadataUpgrader.java: Loading...
  12. spi/src/main/java/org/apache/sqoop/connector/spi/SqoopConnector.java: Loading...