Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
We want to import multiple projects and while importing into new environment, we would like to bulk replace connection from "file system" to "HDFS".
Standard Export - Import only allows to choose/replace connections of same type. But in our case, we would like to change connection type itself.
Since there are multiple projects (and each having multiple datasets) doing this manually would be very time consuming and error prone.
I thought of modifying bundle zip file; eventually thinking of modifying datasets and recipe references to change connection type.
But the moment we unzip and re-zip without even modifying ANYTHING the import fails throwing error that bundle zip is not valid.
Wondering what kind of ZIP format Dataiku is using? Why import fails if all I did was unzip and re-zipping of exact same project content/bundle (without making any single change)?
Any help here would be greatly appreciated!
The reason you are seeing the error is likely because you are adding an extra root directory so we are unable to find the manifest.json.
When extracting the zip it will extract by default in the root directory PROJECTID.
When you recreate the zip make sure to exclude the parent directory , one way of doing this would be
cd PROJECTID zip -r PROJECTIDv2.zip ./*
This should allow you to reimport the project export zip. Hope this helps!