The visit function from Gradle in HadoopZipExtension.mergeTempPropsWithFlowFiles() visits files multiple times. This causes the error below when trying to create a merge file it already created on a previous visit to the same file and marked it as read only.
Caused by: java.io.FileNotFoundException:/Users/ypadron/azkaban/myProject/aFlow.flow (Permission denied)
at com.linkedin.gradle.zip.YamlMerge.merge(YamlMerge.groovy:42)
at com.linkedin.gradle.zip.YamlMerge$merge$0.call(Unknown Source)
at com.linkedin.gradle.zip.HadoopZipExtension$_mergeTempPropsWithFlowFiles_closure4.doCall(HadoopZipExtension.groovy:247)
... 55 more
Because the root cause of the issue is in code we don’t control the best option is to implement a workaround to handle the multiple visits.
The visit function from Gradle in HadoopZipExtension.mergeTempPropsWithFlowFiles() visits files multiple times. This causes the error below when trying to create a merge file it already created on a previous visit to the same file and marked it as read only.
Because the root cause of the issue is in code we don’t control the best option is to implement a workaround to handle the multiple visits.