hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gunt...@apache.org
Subject svn commit: r1535630 - /hive/branches/tez/ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestInputOutputFormat.java
Date Fri, 25 Oct 2013 04:28:09 GMT
Author: gunther
Date: Fri Oct 25 04:28:08 2013
New Revision: 1535630

URL: http://svn.apache.org/r1535630
Log:
HIVE-5645: Cannot compile tests on tez branch (Vikram Dixit K via Gunther Hagleitner)

Modified:
    hive/branches/tez/ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestInputOutputFormat.java

Modified: hive/branches/tez/ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestInputOutputFormat.java
URL: http://svn.apache.org/viewvc/hive/branches/tez/ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestInputOutputFormat.java?rev=1535630&r1=1535629&r2=1535630&view=diff
==============================================================================
--- hive/branches/tez/ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestInputOutputFormat.java
(original)
+++ hive/branches/tez/ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestInputOutputFormat.java
Fri Oct 25 04:28:08 2013
@@ -425,8 +425,8 @@ public class TestInputOutputFormat {
     OrcInputFormat.Context context = new OrcInputFormat.Context(conf);
     OrcInputFormat.SplitGenerator splitter =
         new OrcInputFormat.SplitGenerator(context, fs,
-            fs.getFileStatus(new Path("/a/file")));
-    splitter.createSplit(0, 200);
+            fs.getFileStatus(new Path("/a/file")), null);
+    splitter.createSplit(0, 200, null);
     FileSplit result = context.getResult(-1);
     assertEquals(0, result.getStart());
     assertEquals(200, result.getLength());
@@ -436,14 +436,14 @@ public class TestInputOutputFormat {
     assertEquals("host1-1", locs[0]);
     assertEquals("host1-2", locs[1]);
     assertEquals("host1-3", locs[2]);
-    splitter.createSplit(500, 600);
+    splitter.createSplit(500, 600, null);
     result = context.getResult(-1);
     locs = result.getLocations();
     assertEquals(3, locs.length);
     assertEquals("host2-1", locs[0]);
     assertEquals("host0", locs[1]);
     assertEquals("host2-3", locs[2]);
-    splitter.createSplit(0, 2500);
+    splitter.createSplit(0, 2500, null);
     result = context.getResult(-1);
     locs = result.getLocations();
     assertEquals(1, locs.length);
@@ -468,7 +468,7 @@ public class TestInputOutputFormat {
     OrcInputFormat.Context context = new OrcInputFormat.Context(conf);
     OrcInputFormat.SplitGenerator splitter =
         new OrcInputFormat.SplitGenerator(context, fs,
-            fs.getFileStatus(new Path("/a/file")));
+            fs.getFileStatus(new Path("/a/file")), null);
     splitter.run();
     if (context.getErrors().size() > 0) {
       for(Throwable th: context.getErrors()) {
@@ -496,7 +496,7 @@ public class TestInputOutputFormat {
     conf.setInt(OrcInputFormat.MAX_SPLIT_SIZE, 0);
     context = new OrcInputFormat.Context(conf);
     splitter = new OrcInputFormat.SplitGenerator(context, fs,
-      fs.getFileStatus(new Path("/a/file")));
+      fs.getFileStatus(new Path("/a/file")), null);
     splitter.run();
     if (context.getErrors().size() > 0) {
       for(Throwable th: context.getErrors()) {



Mime
View raw message