Skip to content
Browse files

Temporary fix for split combination bug

  • Loading branch information...
1 parent 2a53bb4 commit a70653821da840a8179bdb13fd10c740a6549154 @daggerrz committed Apr 12, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 contrib/hadoop/src/java/voldemort/hadoop/VoldemortInputSplit.java
View
4 contrib/hadoop/src/java/voldemort/hadoop/VoldemortInputSplit.java
@@ -45,7 +45,9 @@ public VoldemortInputSplit(String storeName, Node node) {
*/
@Override
public long getLength() throws IOException, InterruptedException {
- return 0;
+ // Quick test to avoid merging splits. The correct way to do this is
+ // setup getLocations correctly!
+ return Long.MAX_VALUE;
}
public String getStoreName() {

0 comments on commit a706538

Please sign in to comment.
Something went wrong with that request. Please try again.