Support Questions

Find answers, ask questions, and share your expertise

Error add management service

avatar
New Contributor

I have issue when i add service management 

error add management service.png

and error log below

2023-11-13 09:59:02,907 INFO scm-web-1336:com.cloudera.server.cmf.cluster.RulesCluster: Beginning automatic role assignment
2023-11-13 09:59:02,909 ERROR scm-web-1336:com.cloudera.server.web.common.JsonResponse: JsonResponse created with throwable:
java.lang.NullPointerException
at com.cloudera.server.cmf.cluster.RulesCluster.createRulesSession(RulesCluster.java:169)
at com.cloudera.server.cmf.cluster.RulesCluster.doRoleAssignment(RulesCluster.java:328)
at com.cloudera.server.cmf.cluster.RulesCluster.createAndConfigureServices(RulesCluster.java:600)
at com.cloudera.server.web.cmf.wizard.service.AddServiceWizardController2.createCustomServiceAndRoles(AddServiceWizardController2.java:893)
at com.cloudera.server.web.cmf.wizard.service.AddServiceWizardController2.buildCluster(AddServiceWizardController2.java:834)
at com.cloudera.server.web.cmf.wizard.service.AddServiceWizardController2.buildTestDatabaseData(AddServiceWizardController2.java:659)
at com.cloudera.server.web.cmf.wizard.service.AddServiceWizardController2.getDbSetupData(AddServiceWizardController2.java:642)
at com.cloudera.server.web.cmf.wizard.service.AddServiceWizardController2$$FastClassBySpringCGLIB$$d99fd210.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
2023-11-13 10:00:30,091 ERROR CommandPusher-1:com.cloudera.cmf.model.DbCommand: Command 1546335867(First Run) has completed. finalstate:FINISHED, success:false, msg:Failed to perform First Run of services.
2023-11-13 09:59:56,034 WARN scm-web-1305:com.cloudera.server.cmf.tsquery.TimeSeriesQueryService: (30 skipped) Could not find a HOST_MONITORING nozzle from SCM.
2023-11-13 09:59:56,034 WARN scm-web-1305:com.cloudera.server.cmf.tsquery.TimeSeriesQueryService: (30 skipped) Could not find a HOST_MONITORING nozzle from SCM.

Thank you very much, if anyone answers.

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@truonghongminh the issue your having is a known bug in the Cloudera Manager server.

The workaround is basically running an API call against the CM server to create an empty Mgmt Cluster to then install the Mgmt Services.

Please run the below API call to create an empty Cloudera Management Service cluster:

 

curl -X PUT -u admin:admin_pwd "http://your-cm-server.com:7180/api/v49/cm/service" -H "Content-Type: application/json" -d "{\"displayName\": \"Cloudera Management Service\"}"

 

Right after, please install the desired Mgmt services in it.

View solution in original post

4 REPLIES 4

avatar
Community Manager

@truonghongminh Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our Cloudera Manager experts @paras @soychago  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
New Contributor
Thank you so much.

avatar
Expert Contributor

@truonghongminh the issue your having is a known bug in the Cloudera Manager server.

The workaround is basically running an API call against the CM server to create an empty Mgmt Cluster to then install the Mgmt Services.

Please run the below API call to create an empty Cloudera Management Service cluster:

 

curl -X PUT -u admin:admin_pwd "http://your-cm-server.com:7180/api/v49/cm/service" -H "Content-Type: application/json" -d "{\"displayName\": \"Cloudera Management Service\"}"

 

Right after, please install the desired Mgmt services in it.

avatar
New Contributor

Thanks you for you reply.

curl -X PUT -u admin:admin_pwd "http://your-cm-server.com:7180/api/v49/cm/service" -H "Content-Typ
e: application/json" -d "{\"displayName\": \"Cloudera Management Service\"}"

this command i run it on VPS cloudera manager?