There are two ways to configure service accounts:
If you are performing a manual installation of HDP, refer to the "Getting Ready to Install (Create System Users and Groups) section of Installing HDP Manually
If you are installing HDP using Ambari 2.0.1, refer to the "Installing HDP Using Ambari" section in a manual installation of HDP, refer to the "Getting Ready to Install (Create System Users and Groups) section of Installing HDP Using Ambari