switch from overriding partitioner to overriding getPartitioner