Hi Forum,
I used tow execute transformations and jobs on windows platform.
Recently, I have been involved in the environment setup in linux.
I have below environment setup
OS :
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
JAVA Version :
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
JAVA location :
/usr/bin/java
JAVA_HOME, JRE_HOME, PATH are as below
/usr/lib/jvm/java-8-oracle
/usr/lib/jvm/java-8-oracle/jre
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
Start pentaho spoon
/opt/pdi-ce#./spoon.sh or (sh spoon.sh) and I am struck with below warning message.
Does it means my PDI started or how to check whether my PDI instance running or not ?
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-pi-gtk-4332 in java.library.path
no swt-pi-gtk in java.library.path
/root/.swt/lib/linux/x86_64/libswt-pi-gtk-4332.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Can't load library: /root/.swt/lib/linux/x86_64/libswt-pi-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.gtk.OS.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:610)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
root@bi:/opt/pdi-ce#
Also, where does .kettle properties file available in Ubuntu ?
I have created a repository with mysql to store trans and jobs on the same Ubuntu
I assumed that the kettle is running though I see above warning message and tried executing a sample ktr from command line and as well repository trans execution from command.
When I run file based ktr from command line I got below message :
root@nutrisafrabi:/opt/pdi-ce# sh pan.sh -file="/opt/test.ktr"
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed i n 8.0
11:02:46,724 INFO [KarafInstance]
*******************************************************************************
*** Karaf Instance Number: 1 at /opt/pdi-ce/./system/karaf//data1 ***
*** Karaf Port:8801 ***
*** OSGI Service Port:9050 ***
*******************************************************************************
Mar 05, 2016 11:02:47 AM org.apache.karaf.main.Main$KarafLockCallback lockAquired
INFO: Lock acquired. Setting startlevel to 100
2016/03/05 11:02:49 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp
2016-03-05 11:02:51.786:INFO:oejs.Server:jetty-8.1.15.v20140411
2016-03-05 11:02:52.076:INFO:oejs.AbstractConnector:Started NIOSocketConnectorWrapper@0.0.0.0:9050
log4j:ERROR Could not parse url [file:/opt/pdi-ce/./system/osgi/log4j.xml].
java.io.FileNotFoundException: /opt/pdi-ce/./system/osgi/log4j.xml (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
............................
............................(b'z of length of post I am not pasting the whole log)
-------------------
----------------
Mar 05, 2016 11:02:53 AM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
http://cxf.apache.org/clustering
Mar 05, 2016 11:02:53 AM org.pentaho.caching.impl.PentahoCacheManagerFactory$RegistrationHandler$1 onSuccess
INFO: New Caching Service registered
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/pdi-ce/launcher/../lib/slf4j-log4j12-1.7.7.jar!/org/slf4j/i mpl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pdi-ce/plugins/pentaho-big-data-plugin/lib/slf4j-log4j12-1. 7.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See
http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Mar 05, 2016 11:02:54 AM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /lineage
2016/03/05 11:02:55 - Pan - Start of run.
2016/03/05 11:02:55 - test - Dispatching started for transformation [test]
2016/03/05 11:02:55 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.2 5 by buildguy) : Error initializing step [Table output]
2016/03/05 11:02:55 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.2 5 by buildguy) : java.lang.NullPointerException
2016/03/05 11:02:55 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.init (TableOutput.java:474)
2016/03/05 11:02:55 - Table output.0 - at org.pentaho.di.trans.step.StepInitThread.run(StepInitTh read.java:69)
2016/03/05 11:02:55 - Table output.0 - at java.lang.Thread.run(Thread.java:745)
2016/03/05 11:02:55 - test - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by build guy) : Step [Table output.0] failed to initialize!
Unable to prepare and initialize this transformation
Can anybody help me here ?
Thank you in advance.
Kind Regards,
Sadakar