Friday, November 8, 2013

Installing Pentaho Kettle on RedHat Linux

I downloaded Pentaho Kettle from http://sourceforge.net/projects/pentaho/files/Data%20Integration/4.4.0-stable/

[root@isvx3 ~]# java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
[root@isvx3 ~]#
[root@isvx3 ~]# cat /proc/version
Linux version 2.6.18-348.16.1.el5 (mockbuild@x86-012.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Sat Jul 27 01:05:23 EDT 2013
[root@isvx3 ~]#
[root@isvx3 ~]# uname -m
x86_64

On untarring pdi-ce-4.4.0-stable.tar it created the data-integration directory

[root@isvx3 Desktop]# cd data-integration/
[root@isvx3 data-integration]# ls
Carte.bat                    libswt
carte.sh                     Pan.bat
Data Integration 32-bit.app  pan.sh
Data Integration 64-bit.app  plugins
docs                         plugins_old
Encr.bat                     pwd
encr.sh                      README_INFOBRIGHT.txt
generateClusterSchema.sh     README_LINUX.txt
hs_err_pid10080.log          README_OSX.txt
hs_err_pid10405.log          README_UNIX_AS400.txt
hs_err_pid3841.log           run_kettle_cluster_example.bat
hs_err_pid4875.log           runSamples.sh
hs_err_pid7690.log           samples
Import.bat                   set-pentaho-env.bat
import-rules.xml             set-pentaho-env.sh
import.sh                    simple-jndi
Kitchen.bat                  Spoon.bat
kitchen.sh                   spoon.ico
launcher                     spoon.png
lib                          spoon.sh
libext                       ui


On running spoon.sh I got a SIGSEGV

[root@isvx7 data-integration]# ./spoon.sh
/root/Desktop/data-integration
WARN  08-11 11:41:00,110 - Unable to load Hadoop Configuration from "file:///root/Desktop/data-integration/plugins/pentaho-big-data-plugin/hadoop-configurations/mapr". For more information enable debug logging.
INFO  08-11 11:41:00,139 - Spoon - Logging goes to file:///tmp/spoon_5011469f-48a5-11e3-bce7-cf39551697e4.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=30616, tid=48006614890816
#
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode linux-amd64 )
# Problematic frame:
# C  0x0000000000000000
#
# An error report file with more information is saved as:
# /root/Desktop/data-integration/hs_err_pid30616.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./spoon.sh: line 163: 30616 Aborted                 "$_PENTAHO_JAVA" $OPT $STARTUP -lib $LIBPATH "${1+$@}"
[root@isvx7 data-integration]#


I found the fix to this issue on one of the stackoverflow postings: http://stackoverflow.com/questions/15943531/jdk-fatal-error-when-launching-pentaho-spoon-on-centos

[root@isvx7 data-integration]# export OPT="-Dorg.eclipse.swt.browser.XULRunnerPath=/dev/null"
[root@isvx7 data-integration]# ./spoon.sh




No comments: