1、安装Java环境
一路默认即可。
2、配置环境变量
增加Windows系统变量
KETTLE_HOME D:\pdi-ce-4.1.0-stable\data-integration
PENTAHO_JAVA_HOME C:\Program Files \Java\jdk1.6.0_10
3.测试Java环境
cmd命令行下输入Java –version,能正常显示版本号即为正确。
4、登录ETL工具Kettle
打开kettle管理器 D:\pdi-ce-4.1.0-stable\data-integration\Spoon.bat
默认用户名和密码都是admin,如果打开后窗口一闪没了,可以在bat文件中添加pause命名,进行调试。
错误记录:
1、linux下
# ./spoon.sh
/media/drive-1/AppInst/EXP/kettle42
INFO 15-04 00:33:50,666 - Spoon - Logging goes to file:///tmp/spoon_9243e4e8-8664-11e1-bbac-b55eaf9fd2fc.log
WARN 15-04 00:34:07,634 - could not parse [vertical] as Align value
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x83afda7b, pid=3379, tid=3063135040
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) Server VM (20.1-b02 mixed mode linux-x86 )
# Problematic frame:
# C [libxul.so+0xd27a7b] NS_UTF16ToCString_P+0x1aa78
#
./spoon.sh: line 143: 3379 Aborted "$_PENTAHO_JAVA" $OPT $STARTUP -lib $LIBPATH "${1+$@}"
Fix was simple : turn off the welcome screen.
Steps:
- Open up (or create a new one if doesnt exist) ~/.kettle/.spoonrc
- Add (or Edit to set it to 'N') following line to the file
ShowWelcomePageOnStartup=N
Hope this will help someone
华青莲日常点滴,方便自己,成长他人!!!