How to check Pentaho kettle version from the command line?
Asked Answered
Y

2

5

I know I can check the Pentaho version by opening the spoon.sh in vi mode, but the Pentaho that is installed in production environment doesn't have that information in it. Probably some employee before me has edited it. So is there any other way that I can know the version of the Pentaho that is being used on the server?

Youngling answered 17/10, 2016 at 13:29 Comment(1)
you can also check the version of the kettle-core jar in the lib folder. Bit hacky that though :)Smalltime
M
10

Go to the command line and type this command to see the version of kettle. Now your production server may a Linux box or a Windows box. Depending on the type of the platform, use the command below:

Linux:

./kitchen.sh -version

Windows:

Kitchen.bat -version

To check the version of the bi-server, just go to the Pentaho User Console (PUC). Help --> About.

Musset answered 17/10, 2016 at 15:49 Comment(8)
[root@chq02-dwapp01-d data-integration]# kitchen.sh -version -bash: kitchen.sh: command not found [root@chq02-dwapp01-d data-integration]# kitchen.bat -version -bash: kitchen.bat: command not foundYoungling
Dont forget "./" if it is Linux based server. ./kitchen.sh -versionMusset
I just ran it and here's the output: "[[email protected] data-integration]$ ./kitchen.sh -version /home/pentaho/pentaho/design-tools/data-integration DEBUG: Using PENTAHO_JAVA_HOME DEBUG: _PENTAHO_JAVA_HOME=/usr/java/default DEBUG: _PENTAHO_JAVA=/usr/java/default/bin/java DEBUG: PENTAHO_INSTALLED_LICENSE_PATH=/home/pentaho/.pentaho/.insta‌​lledLicenses.xml 2016/10/17 14:10:28 - Kitchen - Kettle version 5.4.0.6-154, build 1, build date : 2015-11-09 08.54.47"Musset
It is Linux based server and my permission is deniedYoungling
[root@chq02-dwapp01-d data-integration]# ./kitchen.sh -version -bash: ./kitchen.sh: Permission deniedYoungling
That's the administration issue. Contact your system administrator to grant you the permission. But, the command I gave you, works perfectly. :)Musset
or just enter $KETTLE_HOME/lib/ and look onto kettle-core-$VERSION_NUMBER____$BUILD_NUMBER.jarIrita
@Nikhil: It's actually ./kitchen.sh. k is in the small case.Schechter
Y
1

I was able to find out the version by logging into the Pentaho User Console. Then go to Help and click on About. There i can see the version number being used. This gives the version number for the Pentaho Bi Server.

For the Development tool. I have checked the logs for errors and got the version number there.

Youngling answered 21/10, 2016 at 15:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.