You can configure service accounts using:
If you are performing a Manual Install of HDP, refer to the Manual instructions on Service User and Group accounts
If you are performing a Ambari Install of HDP, refer to the Ambari instructions in the Ambari Install Guide .