public int getPartition( Object key, Object value, int numReduceTasks ) { return ( hashCode( (Tuple) key ) & Integer.MAX_VALUE ) % numReduceTasks; } }
public TuplePartitioner( Configuration configuration ) { setConf( configuration ); }
public int getPartition( Object key, Object value, int numReduceTasks ) { return ( hashCode( (Tuple) key ) & Integer.MAX_VALUE ) % numReduceTasks; } }
public TuplePartitioner( Configuration configuration ) { setConf( configuration ); }