MLHR-865: distributed distinct application
MLHR-865: fixed test cases
MLHR-865: review changes
MLHR-865: distributed distinct app