Skip to main content

Run ETL with Pentaho Data Integration using package files

The Kettle have a small functionality to run ETL, it uses Apache VFS that let you access a set of files from inside an archive and use them directly in your processes. However, you can use this for execute ETL in somewhere on the web.

Run in file system

I create this little sample (a job that executes a transformation). And I compress this two in the zip file.
So, I have this zip file on that path in my own computer: C:\Users\latinojoel\Desktop\
The command line I need to do for execute ETL, is looks like that:
~\data-integration>Kitchen.bat -file=zip:\\"C:\Users\latinojoel\Desktop\!/job.kjb" -level=Detail -param:MSG="Wow, It's works. Very funny! :-)"

Run from web resource

With Apache VFS, you can run a zip file from web too.
For example, you can access of my zip file using this URI.
The command line you need to do is that:
~\data-integration>Kitchen.bat -file="zip:!/job.kjb" -level=Detail -param:MSG="Wow, It's works. Very funny! :-)"

Is available for Pan too. A sample:
~\data-integration>Pan.bat -file="zip:!/transf.ktr" -level=Detail -param:MSG="Wow, It's works. Very funny! :-)"