[Pentaho] - Rodando PDI 5.01 no Linux

Não está conseguindo rodar o Pentaho Data Integration no Linux, na versão 5?

Esta é a mensagem de erro que recebe quando roda o spoon.sh via shell?

$ ./spoon.sh 
/opt/pentaho/data-integration
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fa44ca9f2a1, pid=21708, tid=140345191945984
#
# JRE version: OpenJDK Runtime Environment (7.0_55-b14) (build 1.7.0_55-b14)
# Java VM: OpenJDK 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6c2a1]  soup_session_feature_detach+0x11
#
# Failed to write core dump. Core dumps have been disabled. 
To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/pentaho/data-integration/hs_err_pid21708.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)


Para solucionar este problema, basta editar o script de execução do PDI, chamado spoon.sh, localizar a linha de declaração da variável OPT e acrescentar o seguinte no final: -Dorg.eclipse.swt.browser.DefaultType=mozilla"

Fiz um pouco diferente, para que o ajuste fique mais visível. Redeclarei a variável OPT novamente na linha debaixo. Assim a alteração fica mais visível em caso de manutenção futura. Veja como ficou...

OPT="$OPT -Dorg.eclipse.swt.browser.DefaultType=mozilla"

Aqui abaixo um print do editor de textos, para visualizar melhor o ajuste:


Pelo que entendi, com esse ajuste o Kettle passa a utilizar a engine do Mozilla para exibir conteúdo html, por exemplo, a página de boas vindas. Provavelmente sem esta parametrização estava tentando renderizar internamente.

A solução para este problema encontrei previamente no blog do Paolo Luca Finardi : http://www.sefi.it/linux/ubuntu-14-04-e-pentaho-data-integration-kettle

Comentários

Postagens mais visitadas deste blog

[Openfire] - Ajuste de horário no cliente Spark

Verificar uso de disco em partição ASM do Oracle 11g no Linux

[Kettle] - Ajuste de Memória de Utilização