Skip to main content
intelia_liem
Silver ⭐️⭐️
March 5, 2023
Question

error when creating parcel to connect from GCS to cloudera

hi after running the create_parcel.sh file and copying the .parcel and .parcel.sha file to cloudera i get the following error

 

error Error when distributing to serverxxx.local [Errno 20] Not a directory u'opt/cloudera/parcels/GCSCONNECTOR-3.0.0xxx.sha/meta/parcel.json'

 

and 

 

error Error when distributing to serverxxx.local [Errno 20] Not a directory u'opt/cloudera/parcels/GCSCONNECTOR-3.0.0xxx.parcel/meta/parcel.json'

6 replies

VidyaSargur
Community Manager
Community Manager
March 6, 2023

@intelia_liem, Welcome to our community! To help you get the best possible answer, I have tagged in our Cloudera Manager experts @rki_ @vamsi_redd @khanarshadazmat who may be able to assist you further.

 

Please feel free to provide any additional information or details about your query, and we hope you will find a satisfactory solution to your question.

Translate
Regards, Vidya Sargur, Community Manager 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.
vamsi_redd
Gold ⭐️
Gold ⭐️
March 6, 2023

Hi @intelia_liem,

 

Cloudera Manager expects a specific directory and file structure in the "/opt/cloudera/parcels" directory (sample below).  There might be  .parcel and .sha files in the "/opt/cloudera/parcels" directory, these files should only be in the "/opt/cloudera/parcel-repo/" directory (as appropriate).

 

Please  remove .sha and .parcel files from the "/opt/cloudera/parcels" directory.

Translate
intelia_liem
Silver ⭐️⭐️
March 6, 2023

Hi @vamsi_redd 

 

Thank you for your help... originally i only had  /opt/cloudera/parcels / folder  so i created the  /parcel-repo/ folder manually and put the two files in there. I then went to to refresh the parcel parcels  page on cloud manager but it didnt appear. Hence i thought i would put it under /opt/cloudera/parcels instead. i will delete the two files from  /opt/cloudera/parcels and put them back in  /opt/cloudera/parcels/parcel-repo/ but do u know why it doesnt appear when i click check for new parcels? thanks!

Translate
vamsi_redd
Gold ⭐️
Gold ⭐️
March 6, 2023

Hi @intelia_liem, 

 

I'm trying to check this behaviour in my cluster but it didn't happen the way. Can you follow the suggestion and let me know if the installation is working.

Translate
intelia_liem
Silver ⭐️⭐️
March 6, 2023

Untitled.pngUntitled2.pngThanks @vamsi_redd yes i did we you suggested. I have deleted the two .parcel and .sha files from

/opt/cloudera/parcels and put them into /opt/cloudera/parcel-repo but they don't appear when i check for new parcels. Is there any logs i can check? 

Translate
intelia_liem
Silver ⭐️⭐️
March 6, 2023

@vamsi_redd heres a screenshot of my parcels page

Capture3.PNGCapture4.PNG

Translate