Created 11-14-2023 01:50 AM
I have issue when i add service management
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.
Created 11-14-2023 08:53 AM
@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.
Created 11-14-2023 08:20 AM
@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,Created 11-14-2023 07:04 PM
Created 11-14-2023 08:53 AM
@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.
Created 11-14-2023 07:02 PM
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?