Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-14-2017 05:56 AM
Hello:
I have created CSD for a service by referring the following wiki page by cloudera https://github.com/cloudera/cm_ext/wiki/Service-Descriptor-Language-Reference.
This CSD service has three roles inside it. two non-worker and one worker roles. And I have configured those roles to take part in rolling restart, as per the wiki.
But during up-gradation of CDH, I got exception as
Failed due to java.lang.ClassCastException: com.cloudera.cmf.service.csd.components.DynamicServiceHandler cannot be cast to com.cloudera.cmf.service.RollingRestartProvidere
And in cloudera-scm-server logs I get logs:
2017-03-14 05:17:21,286 INFO CommandPusher:com.cloudera.server.cmf.CommandPusherThread: Hard stopping command DbCommand{id=5803, name=RollingRestart, cluster=cluster}.
com.cloudera.cmf.command.CmdExecException: java.lang.ClassCastException: com.cloudera.cmf.service.csd.components.DynamicServiceHandler cannot be cast to com.cloudera.cmf.service.RollingRestartProvider
at com.cloudera.cmf.command.flow.SeqFlowCmd.run(SeqFlowCmd.java:119)
at com.cloudera.cmf.command.flow.SeqFlowCmd.update(SeqFlowCmd.java:249)
at com.cloudera.cmf.command.CmdWorkCommand.update(CmdWorkCommand.java:140)
at com.cloudera.server.cmf.CommandPusherThread.handleCommandInternal(CommandPusherThread.java:456)
at com.cloudera.server.cmf.CommandPusherThread.handleCommandBatched(CommandPusherThread.java:269)
at com.cloudera.server.cmf.CommandPusherThread.innerLoop(CommandPusherThread.java:188)
at com.cloudera.server.cmf.CommandPusherThread.run(CommandPusherThread.java:156)
Caused by: java.lang.ClassCastException: com.cloudera.cmf.service.csd.components.DynamicServiceHandler cannot be cast to com.cloudera.cmf.service.RollingRestartProvider
at com.cloudera.cmf.cluster.RollingRestartClusterCommand.getPreSteps(RollingRestartClusterCommand.java:279)
at com.cloudera.cmf.cluster.RollingRestartClusterCommand.access$100(RollingRestartClusterCommand.java:73)
at com.cloudera.cmf.cluster.RollingRestartClusterCommand$FactoryMethodImpl.prepare(RollingRestartClusterCommand.java:504)
at com.cloudera.cmf.cluster.RollingRestartCmdWork$InitState.runStep(RollingRestartCmdWork.java:445)
at com.cloudera.cmf.cluster.RollingRestartCmdWork.doWork(RollingRestartCmdWork.java:150)
at com.cloudera.cmf.command.flow.CmdStep.doWork(CmdStep.java:164)
at com.cloudera.cmf.command.flow.SeqCmdWork.doWork(SeqCmdWork.java:101)
at com.cloudera.cmf.command.flow.SeqCmdWork.update(SeqCmdWork.java:174)
at com.cloudera.cmf.command.flow.CmdStep.doWork(CmdStep.java:167)
at com.cloudera.cmf.command.flow.SeqFlowCmd.run(SeqFlowCmd.java:117)
Created 06-16-2017 01:49 AM
Hi, thanks for reporting this. The issue has been fixed and will be released in Cloudera Manager 5.13
Created 06-16-2017 01:49 AM
Hi, thanks for reporting this. The issue has been fixed and will be released in Cloudera Manager 5.13