Review Board 1.7.22


Unify logging across sqoop2 codebase

Review Request #12374 - Created July 9, 2013 and submitted

Raghav Gautam
SQOOP-672
Reviewers
Sqoop
sqoop-sqoop2
This patch unifies logging across sqoop2 codebase and few minor problems related to it.
unit tests are good
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportDestroyer.java
Revision 60a69e0 New Change
[20] 22 lines
[+20]
23
import org.apache.sqoop.job.etl.Destroyer;
23
import org.apache.sqoop.job.etl.Destroyer;
24
import org.apache.sqoop.job.etl.DestroyerContext;
24
import org.apache.sqoop.job.etl.DestroyerContext;
25

    
   
25

   
26
public class GenericJdbcImportDestroyer extends Destroyer<ConnectionConfiguration, ImportJobConfiguration> {
26
public class GenericJdbcImportDestroyer extends Destroyer<ConnectionConfiguration, ImportJobConfiguration> {
27

    
   
27

   
28
  private static final Logger LOG = Logger.getLogger(GenericJdbcExportDestroyer.class);
28
  private static final Logger LOG =

    
   
29
    Logger.getLogger(GenericJdbcImportDestroyer.class);
29

    
   
30

   
30
  @Override
31
  @Override
31
  public void destroy(DestroyerContext context, ConnectionConfiguration connection, ImportJobConfiguration job) {
32
  public void destroy(DestroyerContext context, ConnectionConfiguration connection, ImportJobConfiguration job) {
32
    LOG.info("Running generic JDBC connector destroyer");
33
    LOG.info("Running generic JDBC connector destroyer");
33
  }
34
  }
34

    
   
35

   
35
}
36
}
core/src/main/java/org/apache/sqoop/framework/JobManager.java
Revision 58d6c10 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportExtractor.java
Revision 9281bb4 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/ProgressRunnable.java
Revision 7e87250 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopDestroyerExecutor.java
Revision 4493a45 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopFileOutputFormat.java
Revision 813f370 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopInputFormat.java
Revision 0721b7e New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java
Revision 7715d5f New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopNullOutputFormat.java
Revision 54604a7 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopOutputFormatLoadExecutor.java
Revision d47f861 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopReducer.java
Revision e4ad6ba New Change
 
server/src/main/java/org/apache/sqoop/handler/ConnectionRequestHandler.java
Revision 7842e32 New Change
 
server/src/main/java/org/apache/sqoop/handler/FrameworkRequestHandler.java
Revision 48fe0ff New Change
 
server/src/main/java/org/apache/sqoop/handler/JobRequestHandler.java
Revision 18b9997 New Change
 
server/src/main/java/org/apache/sqoop/handler/SubmissionRequestHandler.java
Revision 1f7a208 New Change
 
test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableExportTest.java
Revision fbf46e9 New Change
 
  1. connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportDestroyer.java: Loading...
  2. core/src/main/java/org/apache/sqoop/framework/JobManager.java: Loading...
  3. execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportExtractor.java: Loading...
  4. execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/ProgressRunnable.java: Loading...
  5. execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopDestroyerExecutor.java: Loading...
  6. execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopFileOutputFormat.java: Loading...
  7. execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopInputFormat.java: Loading...
  8. execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java: Loading...
  9. execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopNullOutputFormat.java: Loading...
  10. execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopOutputFormatLoadExecutor.java: Loading...
  11. execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopReducer.java: Loading...
  12. server/src/main/java/org/apache/sqoop/handler/ConnectionRequestHandler.java: Loading...
  13. server/src/main/java/org/apache/sqoop/handler/FrameworkRequestHandler.java: Loading...
  14. server/src/main/java/org/apache/sqoop/handler/JobRequestHandler.java: Loading...
  15. server/src/main/java/org/apache/sqoop/handler/SubmissionRequestHandler.java: Loading...
  16. test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableExportTest.java: Loading...