Hi,
Seems like you are performing your cluster install using the public repositories for HDP? Typically, the error you are seeing indicates the public repositories are unavailable or unreachable. How is your internet connection from the cluster machines to the public repositories?
If your internet connectivity issues persist, you can always build local repositories for the HDP packages instead:
Cheers.