diff --git a/dist/pom.xml b/dist/pom.xml index 17098c35..f0c68ad9 100644 --- a/dist/pom.xml +++ b/dist/pom.xml @@ -125,15 +125,15 @@ limitations under the License. - - + + - + - + @@ -149,38 +149,38 @@ limitations under the License. - - + + - - + + - - - + + + + toDir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/server/webapps"/> - + + toDir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/client/lib"/> - + - + - - + + @@ -190,5 +190,36 @@ limitations under the License. + + + + hadoop100 + + + + hadoop.profile + 100 + + + + + + + hadoop200 + + + true + + hadoop.profile + 200 + + + + + 200 + + + + diff --git a/execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportPartitioner.java b/execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportPartitioner.java index abe986ec..9e7ea4e1 100644 --- a/execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportPartitioner.java +++ b/execution/mapreduce/src/main/java/org/apache/sqoop/job/etl/HdfsExportPartitioner.java @@ -68,7 +68,7 @@ public class HdfsExportPartitioner extends Partitioner { @Override public List getPartitions(ImmutableContext context, - Object connectionConfiguration, Object jobConfiguration) { + long maxPartitions, Object connectionConfiguration, Object jobConfiguration) { Configuration conf = ((PrefixContext)context).getConfiguration(); try {