Reputation: 309
When one runs a job from the server (by selecting server as below), does PDI pick up the "kettle.properties" file from the server or from the local computer they are running the job from? What about the Pentaho User Console portal - where is the file being picked up from when one runs the jobs from there? Is there anyway to tell PDI which "kettle.properties" file to use?
Upvotes: 1
Views: 10646
Reputation: 136
AFAIK, there is no way to pick a kettle.properties
file location from within the Spoon interface right before executing a job/transformation.
The kettle.properties
file used is always linked to the instance of Kettle that executes the job/transformation.
kettle.properties
file used is the one contained in the directory pointed to by the -DKETTLE_HOME
JVM option (defined when running the spoon.sh
or Spoon.bat
launch scripts).kettle.properties
file used is the one located in the directory pointed to by the -DKETTLE_HOME
JVM option defined when running the start-pentaho.sh
or the start-pentaho.bat
launch scripts.Both the PDI Client and the Pentaho Server set the default location of KETTLE_HOME
to ~/.kettle
.
If you want to use a kettle.properties
file located somewhere else, you will have to define the location of the Kettle Home directory yourself before starting the PDI Client or the Pentaho Server:
KETTLE_HOME
. It has to be set before running the Spoon launching scripts or the Pentaho Server launching scripts-DKETTLE_HOME
to CATALINA_OPTS
(if the Pentaho Server uses Tomcat) by editing the launch script.You can find this information on the Customize the Pentaho Server page.
Upvotes: 3