Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role configuration group reference in host template is not valid #65

Open
tostroski opened this issue Apr 28, 2020 · 1 comment
Open

Comments

@tostroski
Copy link

I cannot seem to get around this:

TASK [cdh : Import cluster template] **************************************************************************************************************************************************************
fatal: [xxxxxxxxxxxxxxxxx]: FAILED! => {"changed": false, "connection": "close", "content": "{\n "message" : "Role configuration group reference in host template SPARK2_ON_YARN-1-SPARK2_YARN_HISTORY_SERVER-BASE is not valid.\nRole configuration group reference in host template SPARK2_ON_YARN-1-GATEWAY-BASE is not valid."\n}", "content_type": "application/json", "date": "Tue, 28 Apr 2020 18:30:08 GMT", "elapsed": 0, "expires": "Thu, 01-Jan-1970 00:00:00 GMT", "json": {"message": "Role configuration group reference in host template SPARK2_ON_YARN-1-SPARK2_YARN_HISTORY_SERVER-BASE is not valid.\nRole configuration group reference in host template SPARK2_ON_YARN-1-GATEWAY-BASE is not valid."}, "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "server": "Jetty(6.1.26.cloudera.4)", "set_cookie": "CLOUDERA_MANAGER_SESSIONID=qz8i0dbv9an36cbnv88y8xdk;Path=/;HttpOnly", "status": 400, "url": "http://xxxxxxxxxxxxxx:7180/api/v19/cm/importClusterTemplate?addRepositories=true"}

@Data-drone
Copy link

check if the csd has been deployed on cloudera manager and also check in cloudera manager if the parcel was deployed properly.

Note if you check the all file that the code picks csds based on detecting the cluster manager version.
So it will download CSD for Spark2 only if CM is 5.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants