Support Questions
Find answers, ask questions, and share your expertise

Trying to add Kafka to our CDH cluster


Hi Experts:

Our Big Data cluster is running CDH 6.3.4. Today we are trying to install and activate Kafka. It seems that the "KAFKA-4.1.0-" downloading worked fine. It failed to activate the parcel.


In the file "cloudera-scm-server.log", I see this error:

2022-05-24 11:05:56,777 INFO scm-web-268076:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/parcel/details, Status:200
2022-05-24 11:05:58,414 INFO scm-web-267966:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/clusters/1/activateParcel
2022-05-24 11:05:58,418 INFO scm-web-267966:com.cloudera.parcel.components.ParcelManagerImpl: Activating parcel KAFKA:4.1.0- on cluster Peel
2022-05-24 11:05:58,429 WARN scm-web-267966:com.cloudera.server.web.cmf.WebController: Failed to activate parcel KAFKA:4.1.0- for cluster DbCluster{id=1, name=Peel}
2022-05-24 11:05:58,429 ERROR scm-web-267966:com.cloudera.server.web.common.JsonResponse: JsonResponse created with throwable:
com.cloudera.parcel.ParcelRelationsException: CDH 6.3.4-1.cdh6.3.4.p0.6626826 replaces KAFKA 4.1.0-
at com.cloudera.parcel.components.ParcelDependencyManagerImpl.validateDependencies(
at com.cloudera.parcel.components.ParcelDependencyManagerImpl.validateDependenciesForActivation(
at com.cloudera.parcel.components.ParcelManagerImpl.activateParcel(
at com.cloudera.parcel.components.ParcelManagerImpl.activateParcel(
at com.cloudera.server.web.cmf.parcel.ParcelActivationController.activateParcel(
at com.cloudera.server.web.cmf.parcel.ParcelActivationController$$FastClassBySpringCGLIB$$9b87c4cb.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
at com.cloudera.server.web.cmf.aop.RetryExecution$
at com.cloudera.server.common.RetryWrapper.executeWithRetry(
at com.cloudera.server.common.RetryUtils.executeWithRetryHelper(
at com.cloudera.server.common.RetryUtils.executeWithRetry(
at com.cloudera.server.web.cmf.aop.RetryExecution.retryOperation(
at sun.reflect.GeneratedMethodAccessor1683.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(


Could you please give some hint where to check for the problem? Thank you!



Expert Contributor



This error may occure when CDH parcel is not activated properly or the version do not match, You can double check it.

And we may need to check complete log file, The above log snippet may not be enough.



Chethan YM




Hi Chethan,

Thank you for the reply. The parcel version was selected automatically after we clicked 'download' in the Cloudera Manager. I suppose it is the correct version. 


2022-05-24 11:04:57,774 INFO New I/O worker #340:com.cloudera.parcel.components.ParcelDownloaderImpl: Completed download of:


However from this page, it shows for CDH 6.3.4, the Apache Kafka version is 2.2.1


Not sure how the parcel version and Apache version relate to each other. We have the complete log file, but I hesitate to send the log here in an open forum. Is there a way to send to you in a protected mode? Thanks again!

; ;