Review Board 1.7.22


SQOOP-768 Sqoop2: Compilation on hadoop profile 100 will fail

Review Request #8597 - Created Dec. 14, 2012 and submitted

Jarek Cecho
SQOOP-768
Reviewers
Sqoop
sqoop-sqoop2
I've changed the code so that it can compile on Hadoop 1 profile.
Unit tests seems to be passing.
pom.xml
Revision 231193463706866ef57d4f60f17a39452f87bd82 New Change
[20] 127 lines
[+20]
128
        <dependencies>
128
        <dependencies>
129
          <dependency>
129
          <dependency>
130
            <groupId>com.google.guava</groupId>
130
            <groupId>com.google.guava</groupId>
131
            <artifactId>guava</artifactId>
131
            <artifactId>guava</artifactId>
132
            <version>${guava.version}</version>
132
            <version>${guava.version}</version>
133
            <scope>provided</scope>

   
134
          </dependency>
133
          </dependency>
135

    
   
134

   
136
          <dependency>
135
          <dependency>
137
            <groupId>org.apache.hadoop</groupId>
136
            <groupId>org.apache.hadoop</groupId>
138
            <artifactId>hadoop-core</artifactId>
137
            <artifactId>hadoop-core</artifactId>
[+20] [20] 391 lines
execution/mapreduce/pom.xml
Revision 9e1d2ec0c670d08c09b698b775a21a29377efbc6 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/execution/mapreduce/MapreduceExecutionEngine.java
Revision 06872ca73fb6da388205ca482870fcdf31e6c676 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/JobConstants.java
Revision f5123a21556ae7816625182467b49ee4be0603ab New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportPartitioner.java
Revision 7ffd97c3ec2276ada556601ccb569ca32331e19c New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsSequenceExportExtractor.java
Revision 0693a095c541c1e9e7b4a598f5974e7aa29b1311 New Change
 
execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsTextExportExtractor.java
Revision c412c81047d2ada9f5ab6d62c872e08c9ca423b9 New Change
 
execution/mapreduce/src/test/java/org/apache/sqoop/job/TestHdfsExtract.java
Revision ba44de9446cc0c4d39040f7596ceed6ef09726b8 New Change
 
  1. pom.xml: Loading...
  2. execution/mapreduce/pom.xml: Loading...
  3. execution/mapreduce/src/main/java/org/apache/sqoop/execution/mapreduce/MapreduceExecutionEngine.java: Loading...
  4. execution/mapreduce/src/main/java/org/apache/sqoop/job/JobConstants.java: Loading...
  5. execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportPartitioner.java: Loading...
  6. execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsSequenceExportExtractor.java: Loading...
  7. execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsTextExportExtractor.java: Loading...
  8. execution/mapreduce/src/test/java/org/apache/sqoop/job/TestHdfsExtract.java: Loading...