Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Not able to install kafka parcels through local repository

Not able to install kafka parcels through local repository

Explorer

Hi,

 

We are running cdh 5.14.0 version cluster.Actually we were trying to install kafka parcels through local repository.We have downloaded the parcels and kept it under local repo dir and created hash file also.

 

[root@hadoop-admin cdh5.14.0]# pwd
/var/www/html/cdh5.14.0
[root@hadoop-admin cdh5.14.0]# ls -l
total 1878248
-rwxr-xr-x. 1 root root 1849867708 Aug 23 20:21 CDH-5.14.0-1.cdh5.14.0.p0.24-el6.parcel
-rwx------. 1 cloudera-scm cloudera-scm 73369070 Jan 20 12:29 KAFKA-3.1.0-1.3.1.0.p0.35-el6.parcel
-rw-r--r--. 1 cloudera-scm cloudera-scm 41 Jan 20 16:14 KAFKA-3.1.0-1.3.1.0.p0.35-el6.parcel.sha
-rwx------. 1 root root 74072 Aug 26 17:08 manifest.json
 

After that we had set local repo path under cloudera manager.

 

kafka.PNG

 

but after that when checking for new parcels ,then this error is coming.

Error for parcel KAFKA-3.1.0-1.3.1.0.p0.35-el6.parcel : No valid hash file found.

kafka1.PNG

Do anyone have any idea on this.Please share.

 

Thanks

pdev

1 REPLY 1
Highlighted

Re: Not able to install kafka parcels through local repository

Expert Contributor

@pdev The file permission on manifest.json file should be like below

-rw-r--r--. 1 root root 0 Jan 21 00:15 test.txt

Please run below command on manifest.json file and then restart the CM server.

chmod -R ugo+rX manifest.json
service cloudera-scm-agent restart

Let me know if this resolves the issue. For more details on how to use/configure repo please follow the Cloudera doc: https://docs.cloudera.com/documentation/enterprise/5-14-x/topics/cm_ig_create_local_parcel_repo.html...

 

Don't forget to mark the post as solution if this resolves the issue.

 

Cheers,

Don't have an account?
Coming from Hortonworks? Activate your account here