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