SQOOP-3303: Fix warnings during Sqoop compilation
authorBoglarka Egyed <bogi@apache.org>
Sun, 25 Mar 2018 15:27:44 +0000 (17:27 +0200)
committerBoglarka Egyed <bogi@apache.org>
Sun, 25 Mar 2018 15:27:44 +0000 (17:27 +0200)
(Szabolcs Vasas via Boglarka Egyed)

src/test/org/apache/sqoop/TestAvroExport.java
src/test/org/apache/sqoop/TestParquetExport.java

index d1f1054..bc6ccb1 100644 (file)
@@ -474,7 +474,7 @@ public class TestAvroExport extends ExportJobTestCase {
     final int TOTAL_RECORDS = 2;
     // ColumnGenerator gen = colGenerator("100",
     // Schema.create(Schema.Type.STRING), null, "VARCHAR(64)");
-    createAvroFile(0, TOTAL_RECORDS, null);
+    createAvroFile(0, TOTAL_RECORDS);
     createTableWithInsert();
 
     thrown.expect(Exception.class);
@@ -489,7 +489,7 @@ public class TestAvroExport extends ExportJobTestCase {
     final int TOTAL_RECORDS = 1;
     // ColumnGenerator gen = colGenerator("100",
     // Schema.create(Schema.Type.STRING), null, "VARCHAR(64)");
-    createAvroFile(0, TOTAL_RECORDS, null);
+    createAvroFile(0, TOTAL_RECORDS);
     createTableWithInsert();
     runExport(getArgv(true, 10, 10, newStrArray(argv, "-m", "" + 1)));
     verifyExport(getMsgPrefix() + "0");
index fdaa5d8..c8bb663 100644 (file)
@@ -419,7 +419,7 @@ public class TestParquetExport extends ExportJobTestCase {
   public void testParquetWithUpdateKey() throws IOException, SQLException {
     String[] argv = { "--update-key", "ID" };
     final int TOTAL_RECORDS = 1;
-    createParquetFile(0, TOTAL_RECORDS, null);
+    createParquetFile(0, TOTAL_RECORDS);
     createTableWithInsert();
     runExport(getArgv(true, 10, 10, newStrArray(argv, "-m", "" + 1)));
     verifyExport(getMsgPrefix() + "0");
@@ -432,7 +432,7 @@ public class TestParquetExport extends ExportJobTestCase {
     final int TOTAL_RECORDS = 2;
     // ColumnGenerator gen = colGenerator("100",
     // Schema.create(Schema.Type.STRING), null, "VARCHAR(64)");
-    createParquetFile(0, TOTAL_RECORDS, null);
+    createParquetFile(0, TOTAL_RECORDS);
     createTableWithInsert();
 
     thrown.expect(Exception.class);