I have created a repository of some simple jobs and transformations a put them on a unix box. Then I ran it from command line and it it runs the first job and then fails to load the 2nd of two transformations. I'm using Spoon/kettle 4.3 Stable.
Right before the job tries to call the second transformation I log the ${Internal.Job.Filename.Directory} variable value...
INFO 21-06 13:30:13,582 - JobDirectory - JOB_DIRECTORY zip:file:///pro/java/iconvert/2.24.0/server/bin/etl/REPOSITORY_sis_Quintrex.zip!/system/job
The value is correct, however, the job fails to open the transformation. ( the transformation is in the same place as the first transformation that did run correctly.)
I get the following error...
INFO 21-06 13:30:13,583 - set_connection_properties - Loading transformation from XML file [zip:file:///pro/java/iconvert/2.24.0/server/bin/etl/REPOSITORY_sis_Quintrex.zip!/system/job\..\transformation\util\set_connection_properties.ktr]
ERROR 21-06 13:30:13,584 - initalize_environment_variables - org.pentaho.di.core.exception.KettleException:
Unexpected error during transformation metadata load
Unable to read file [zip:file:///pro/java/iconvert/2.24.0/server/bin/etl/REPOSITORY_sis_Quintrex.zip!/system/transformation/util/set_connection_properties.ktr]
Could not read from "zip:file:///pro/java/iconvert/2.24.0/server/bin/etl/REPOSITORY_sis_Quintrex.zip!/system/transformation/util/set_connection_properties.ktr" because it is a not a file.
This second part makes no sense as it is referencing the exact path that it should be and the file does exist. I found that by extracting the zip and running the job it works.
So, why won't it properly extract it from the zip file?
Any help would be much appreciated. Thanks!
Right before the job tries to call the second transformation I log the ${Internal.Job.Filename.Directory} variable value...
INFO 21-06 13:30:13,582 - JobDirectory - JOB_DIRECTORY zip:file:///pro/java/iconvert/2.24.0/server/bin/etl/REPOSITORY_sis_Quintrex.zip!/system/job
The value is correct, however, the job fails to open the transformation. ( the transformation is in the same place as the first transformation that did run correctly.)
I get the following error...
INFO 21-06 13:30:13,583 - set_connection_properties - Loading transformation from XML file [zip:file:///pro/java/iconvert/2.24.0/server/bin/etl/REPOSITORY_sis_Quintrex.zip!/system/job\..\transformation\util\set_connection_properties.ktr]
ERROR 21-06 13:30:13,584 - initalize_environment_variables - org.pentaho.di.core.exception.KettleException:
Unexpected error during transformation metadata load
Unable to read file [zip:file:///pro/java/iconvert/2.24.0/server/bin/etl/REPOSITORY_sis_Quintrex.zip!/system/transformation/util/set_connection_properties.ktr]
Could not read from "zip:file:///pro/java/iconvert/2.24.0/server/bin/etl/REPOSITORY_sis_Quintrex.zip!/system/transformation/util/set_connection_properties.ktr" because it is a not a file.
This second part makes no sense as it is referencing the exact path that it should be and the file does exist. I found that by extracting the zip and running the job it works.
So, why won't it properly extract it from the zip file?
Any help would be much appreciated. Thanks!