Review Board 1.7.22


SQOOP-967 Sqoop2: Introduce dummy configuration key to easily identify Sqoop2 job

Review Request #10108 - Created March 25, 2013 and submitted

Jarek Cecho
SQOOP-967
Reviewers
Sqoop
sqoop-sqoop2
I've added property "sqoop.job" into every job executed by Sqoop.
Unit and integration tests seems to be passing.
submission/mapreduce/src/main/java/org/apache/sqoop/submission/mapreduce/Constants.java
Revision e5627015782d4a04a300bc1acc6b8b8b5b536018 New Change
[20] 24 lines
[+20] [+] public class Constants {
25
  public static final String PREFIX_MAPREDUCE = "mapreduce.";
25
  public static final String PREFIX_MAPREDUCE = "mapreduce.";
26

    
   
26

   
27
  public static final String CONF_CONFIG_DIR =
27
  public static final String CONF_CONFIG_DIR =
28
    PREFIX_MAPREDUCE + "configuration.directory";
28
    PREFIX_MAPREDUCE + "configuration.directory";
29

    
   
29

   

    
   
30
  public static final String SQOOP_JOB = "sqoop.job";

    
   
31

   
30
  private Constants() {
32
  private Constants() {
31
    // Instantiation is prohibited
33
    // Instantiation is prohibited
32
  }
34
  }
33
}
35
}
submission/mapreduce/src/main/java/org/apache/sqoop/submission/mapreduce/MapreduceSubmissionEngine.java
Revision 77f30ea3b4172217c3e7c40aa4adfee87c754427 New Change
 
  1. submission/mapreduce/src/main/java/org/apache/sqoop/submission/mapreduce/Constants.java: Loading...
  2. submission/mapreduce/src/main/java/org/apache/sqoop/submission/mapreduce/MapreduceSubmissionEngine.java: Loading...