Project

General

Profile

« Previous | Next » 

Revision 48701

Upgraded incremental harvesting and other stuff

View differences:

DNGFKeyPartitioner.java
10 10

  
11 11
	@Override
12 12
	public int getPartition(DNGFKey key, ImmutableBytesWritable  val, int numPartitions) {
13
		return Math.abs(key.getId().hashCode() % numPartitions);
13
        final int res = Math.abs(key.getId().hashCode() % numPartitions);
14

  
15
        return res;
16

  
17

  
14 18
	}
15 19

  
16 20
}

Also available in: Unified diff