kettle中的karaf设置
Spoon.sh设置
-Dpentaho.karaf.root.copy.dest.folder=$PENTAHO_KARAF_ROOT -Dpentaho.karaf.root.transient=false
Directory cleanup:-Dpentaho.karaf.root.transient=true
- True forces the karaf folder to delete itself on exit of the application.
- False allows the deployed files to stay in this location and be reused for a later execution.
基于有些JOB需要清除缓存
调度的时候
增加 export PENTAHO_KARAF_ROOT=/app/kettle/etl/LAB/tmp/inv 为这些JOB 增加一个单独的karaf缓存路径