@Override
    public byte[] getHashPrefix(byte[] originalKey) {
        int hash = MathUtils.fastAbs(hashBytes(originalKey));
        return new byte[] {(byte) (hash % mod)};
    }
Provides handy methods to distribute

pinpoint copy and modify : https://github.com/sematext/HBaseWD/blob/master/src/main/java/com/sematext/hbase/wd/RowKeyDistributorByHashPrefix.java
@author Alex Baranau
@author emeroad
commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/distributor/RangeOneByteSimpleHash.java