hashmap in partition