core-site.xml doesn't need credentials. hbase user doesn't need /bin/bash to run sudo command. Mappers should be same as number of region servers.