提示:本环境为centos7.2mini.建议在纯净环境上部署,不然会提示某些依赖包已安装过或者版本过高的问题。
执行./kitchen.sh
报错信息:
[root@lx01 data-integration]# ./kitchen.sh
#######################################################################
WARNING: no libwebkitgtk-1.0 detected, some features will be unavailable
Consider installing the package with apt-get or yum.
e.g. 'sudo apt-get install libwebkitgtk-1.0-0'
#######################################################################
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Options:
-rep = Repository name
-user = Repository username
-pass = Repository password
-job = The name of the job to launch
-dir = The directory (dont forget the leading /)
-file = The filename (Job XML) to launch
-level = The logging level (Basic, Detailed, Debug, Rowlevel, Error, Minimal, Nothing)
-logfile = The logging file to write to
-listdir = List the directories in the repository
-listjobs = List the jobs in the specified directory
-listrep = List the available repositories
-norep = Do not log into the repository
-version = show the version, revision and build date
-param = Set a named parameter =. For example -param:FILE=customers.csv
-listparam = List information concerning the defined parameters in the specified job.
-export = Exports all linked resources of the specified job. The argument is the name of a ZIP file.
-custom = Set a custom plugin specific option as a String value in the job using =, for example: -custom:COLOR=Red
-maxloglines = The maximum number of log lines that are kept internally by Kettle. Set to 0 to keep all rows (default)
-maxlogtimeout = The maximum age (in minutes) of a log line while being kept internally by Kettle. Set to 0 to keep all rows indefinitely (default)
主要信息为:
WARNING: no libwebkitgtk-1.0 detected, some features will be unavailable
Consider installing the package with apt-get or yum.
e.g. 'sudo apt-get install libwebkitgtk-1.0-0'
据官方介绍,这一报错的解决办法为:
但是在我部署的集群为centos7.2最小安装包,通过
[root@lx01 data-integration]# yum install libwebkitgtk
已加载插件:fastestmirror
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): extras/7/x86_64/primary_db | 150 kB 00:00:01
(2/4): base/7/x86_64/group_gz | 166 kB 00:00:03
(3/4): updates/7/x86_64/primary_db | 3.6 MB 00:00:14
(4/4): base/7/x86_64/primary_db | 5.9 MB 00:00:20
Determining fastest mirrors
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.shu.edu.cn
没有可用软件包 libwebkitgtk。
错误:无须任何处理
发现没有可用的软件包。
解决办法:
去rpm库里面找到相关的rpm包,上传至linux环境,通过命令来安装。
点击下面链接kettle libwebkitgtk-1.0.so.0()(64bit)rpm包地址
选择libwebkitgtk-1_0-0-2.4.10-7.2.x86_64.rpm下载,
并将改文件上传至/opt/cm/hadoop/pdi-ce-7.1.0.0-12/data-integration/rpmdir
或者直接通过yum install libwebkitgtk-1_0-0-2.4.10-7.2.x86_64.rpm。
[root@lx01 rpmdir]# rpm -ivh libwebkitgtk-1_0-0-2.4.10-7.2.x86_64.rpm --force
警告:libwebkitgtk-1_0-0-2.4.10-7.2.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID 3dbdc284: NOKEY
错误:依赖检测失败:
libEGL.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libGL.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libX11.so.6()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libXcomposite.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libXdamage.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libXrender.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libXt.so.6()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libatk-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libcairo.so.2()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libenchant.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libfontconfig.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgdk-x11-2.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgdk_pixbuf-2.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgeoclue.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgstapp-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgstaudio-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgstbase-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgstfft-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgstpbutils-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgstreamer-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgstvideo-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libgtk-x11-2.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libharfbuzz-icu.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libharfbuzz.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libicui18n.so.52.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libicuuc.so.52.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libjavascriptcoregtk-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libjpeg.so.8()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libjpeg.so.8(LIBJPEG_8.0)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libpango-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libpng16.so.16()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libpng16.so.16(PNG16_0)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libsecret-1.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libwebp.so.5()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1(LIBXML2_1.0.11)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1(LIBXML2_1.0.22)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1(LIBXML2_1.0.24)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1(LIBXML2_1.1.9)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
通过rpm安装,仍然报错,说明其依赖其他的rpm,解决办法就是依次下载需要的rpm。
关于被需要的39个包,一个一个下载。
所有rpm包的下载地址:libwebkitgtk下载
1.libEGL.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y mesa-libEGL-17.2.3-8.20171019.el7.x86_64.rpm
{
作为依赖被安装:
libX11.x86_64 0:1.6.5-1.el7 libX11-common.noarch 0:1.6.5-1.el7 libXau.x86_64 0:1.0.8-2.1.el7 libwayland-client.x86_64 0:1.14.0-2.el7
libwayland-server.x86_64 0:1.14.0-2.el7 libxcb.x86_64 0:1.12-1.el7 libxshmfence.x86_64 0:1.2-1.el7 mesa-libgbm.x86_64 0:17.2.3-8.20171019.el7
mesa-libglapi.x86_64 0:17.2.3-8.20171019.el7
作为依赖被升级:
libdrm.x86_64 0:2.4.83-2.el7
}
2.libGL.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y mesa-libGL-17.2.3-8.20171019.el7.x86_64.rpm
{
已安装:
mesa-libGL.x86_64 0:17.2.3-8.20171019.el7
作为依赖被安装:
libXdamage.x86_64 0:1.1.4-4.1.el7 libXext.x86_64 0:1.3.3-3.el7 libXfixes.x86_64 0:5.0.3-1.el7 libXxf86vm.x86_64 0:1.1.4-1.el7
}
3.libXcomposite.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libXcomposite-0.4.4-4.1.el7.x86_64.rpm
{
已安装:
libXcomposite.x86_64 0:0.4.4-4.1.el7
}
4.libXrender.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libXrender-0.9.10-1.el7.x86_64.rpm
{
已安装:
libXrender.x86_64 0:0.9.10-1.el7
}
5.libXt.so.6()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libXt-1.1.5-3.el7.x86_64.rpm
{
已安装:
libXt.x86_64 0:1.1.5-3.el7
作为依赖被安装:
libICE.x86_64 0:1.0.9-9.el7 libSM.x86_64 0:1.2.2-2.el7
}
6.libatk-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y atk-2.22.0-3.el7.x86_64.rpm
{
已安装:
atk.x86_64 0:2.22.0-3.el7
}
7.libcairo.so.2()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y cairo-1.14.8-2.el7.x86_64.rpm
{
已安装:
cairo.x86_64 0:1.14.8-2.el7
作为依赖被安装:
fontconfig.x86_64 0:2.10.95-11.el7 fontpackages-filesystem.noarch 0:1.44-8.el7 libpng.x86_64 2:1.5.13-7.el7_2 pixman.x86_64 0:0.34.0-1.el7 stix-fonts.noarch 0:1.1.0-5.el7
}
8.libenchant.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y enchant-1.6.0-8.el7.x86_64.rpm
{
已安装:
enchant.x86_64 1:1.6.0-8.el7
作为依赖被安装:
hunspell.x86_64 0:1.3.2-15.el7 hunspell-en-US.noarch 0:0.20121024-6.el7
}
9.libgdk-x11-2.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y gtk2-2.24.31-1.el7.x86_64.rpm
{
已安装:
gtk2.x86_64 0:2.24.31-1.el7
作为依赖被安装:
cups-libs.x86_64 1:1.6.3-35.el7 gdk-pixbuf2.x86_64 0:2.36.5-1.el7 graphite2.x86_64 0:1.3.10-1.el7_3 gtk-update-icon-cache.x86_64 0:3.22.26-4.el7_5
harfbuzz.x86_64 0:1.3.2-1.el7 hicolor-icon-theme.noarch 0:0.12-7.el7 jasper-libs.x86_64 0:1.900.1-31.el7 jbigkit-libs.x86_64 0:2.0-11.el7
libXcursor.x86_64 0:1.1.14-8.el7 libXft.x86_64 0:2.3.2-2.el7 libXi.x86_64 0:1.7.9-1.el7 libXinerama.x86_64 0:1.1.3-2.1.el7
libXrandr.x86_64 0:1.5.1-2.el7 libjpeg-turbo.x86_64 0:1.2.90-5.el7 libthai.x86_64 0:0.1.14-9.el7 libtiff.x86_64 0:4.0.3-27.el7_3
pango.x86_64 0:1.40.4-1.el7
作为依赖被升级:
glib2.x86_64 0:2.54.2-2.el7
}
10.libgeoclue.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y geoclue-0.12.99-7.el7.x86_64.rpm
{
已安装:
NetworkManager.x86_64 1:1.10.2-16.el7_5 NetworkManager-ppp.x86_64 1:1.10.2-16.el7_5 geoclue.x86_64 0:0.12.99-7.el7
作为依赖被安装:
NetworkManager-glib.x86_64 1:1.10.2-16.el7_5
更新完毕:
NetworkManager-libnm.x86_64 1:1.10.2-16.el7_5
作为依赖被升级:
NetworkManager-tui.x86_64 1:1.10.2-16.el7_5 NetworkManager-wifi.x86_64 1:1.10.2-16.el7_5 dbus.x86_64 1:1.10.24-7.el7 dbus-libs.x86_64 1:1.10.24-7.el7
libnl3.x86_64 0:3.2.28-4.el7
替代:
NetworkManager.x86_64 1:1.0.6-27.el7
}
11 libgstapp-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y gstreamer1-plugins-base-1.10.4-1.el7.x86_64.rpm
{
已安装:
gstreamer1-plugins-base.x86_64 0:1.10.4-1.el7
作为依赖被安装:
cdparanoia-libs.x86_64 0:10.2-17.el7 gstreamer1.x86_64 0:1.10.4-2.el7 iso-codes.noarch 0:3.46-2.el7 libXv.x86_64 0:1.0.11-1.el7 libogg.x86_64 2:1.3.0-7.el7
libtheora.x86_64 1:1.1.1-8.el7 libvisual.x86_64 0:0.4.0-16.el7 libvorbis.x86_64 1:1.3.3-8.el7.1 opus.x86_64 0:1.0.2-6.el7 orc.x86_64 0:0.4.26-1.el7
xml-common.noarch 0:0.6.3-39.el7
完毕!
}
12、libharfbuzz-icu.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y harfbuzz-icu-1.3.2-1.el7.x86_64.rpm
{
已安装:
harfbuzz-icu.x86_64 0:1.3.2-1.el7
作为依赖被安装:
libicu.x86_64 0:50.1.2-15.el7
}
13.libicui18n.so.52.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libicu52_1-52.1-15.1.x86_64.rpm
报错:{
错误:软件包:harfbuzz-icu-1.3.2-1.el7.x86_64 (@/harfbuzz-icu-1.3.2-1.el7.x86_64)
需要:libicudata.so.50()(64bit)
正在删除: libicu-50.1.2-15.el7.x86_64 (@base)
libicudata.so.50()(64bit)
取代,由: libicu52_1-52.1-15.1.x86_64 (/libicu52_1-52.1-15.1.x86_64)
未找到
错误:软件包:libicu52_1-52.1-15.1.x86_64 (/libicu52_1-52.1-15.1.x86_64)
需要:libicu52_1-data
错误:软件包:libicu52_1-52.1-15.1.x86_64 (/libicu52_1-52.1-15.1.x86_64)
需要:timezone
错误:软件包:harfbuzz-icu-1.3.2-1.el7.x86_64 (@/harfbuzz-icu-1.3.2-1.el7.x86_64)
需要:libicuuc.so.50()(64bit)
正在删除: libicu-50.1.2-15.el7.x86_64 (@base)
libicuuc.so.50()(64bit)
取代,由: libicu52_1-52.1-15.1.x86_64 (/libicu52_1-52.1-15.1.x86_64) 未找到 }
yum install -y libicu52_1-data-52.1-15.1.x86_64.rpm
下载timezone以及libicu52_1-data-52.1-15.1.x86_64的rpm包。下载地址分别为timezone-2018d-48.1.x86_64.rpm
libicu52_1-52.1-15.1.x86_64
rpm -ivh timezone-2018d-48.1.x86_64.rpm --force
rpm -e --nodeps libicu-50.1.2-15.el7
rpm -ivh libicu52_1-52.1-15.1.x86_64.rpm --force
14.libjavascriptcoregtk-1.0.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libjavascriptcoregtk-1_0-0-2.4.10-7.2.x86_64.rpm
{
已安装:
libjavascriptcoregtk-1_0-0.x86_64 0:2.4.10-7.2
}
15.libjpeg.so.8()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libjpeg.so.8(LIBJPEG_8.0)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libjpeg8-8.1.2-38.1.x86_64.rpm
{
已安装:
libjpeg8.x86_64 0:8.1.2-38.1
}
16.libpng16.so.16()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libpng16.so.16(PNG16_0)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libpng16-16-1.6.8-10.1.x86_64.rpm
{
已安装:
libpng16-16.x86_64 0:1.6.8-10.1
}
17.libsecret-1.so.0()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libsecret-0.18.5-2.el7.x86_64.rpm
{
已安装:
libsecret.x86_64 0:0.18.5-2.el7
}
18.libwebp.so.5()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libwebp5-0.4.3-7.1.x86_64.rpm
{
已安装:
libwebp5.x86_64 0:0.4.3-7.1
}
19.libxslt.so.1()(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1(LIBXML2_1.0.11)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1(LIBXML2_1.0.22)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1(LIBXML2_1.0.24)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
libxslt.so.1(LIBXML2_1.1.9)(64bit) 被 libwebkitgtk-1_0-0-2.4.10-7.2.x86_64 需要
yum install -y libxslt-1.1.28-5.el7.x86_64.rpm
{
已安装:
libxslt.x86_64 0:1.1.28-5.el7
}
20 . rpm -ivh libwebkitgtk-1_0-0-2.4.10-7.2.x86_64.rpm --force
警告:libwebkitgtk-1_0-0-2.4.10-7.2.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID 3dbdc284: NOKEY
准备中... ################################# [100%]
正在升级/安装...
1:libwebkitgtk-1_0-0-2.4.10-7.2 ################################# [100%]
安装成功!
启动kettle:
[root@lx02 data-integration]# ./kitchen.sh
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Options:
-rep = Repository name
-user = Repository username
-pass = Repository password
-job = The name of the job to launch
-dir = The directory (dont forget the leading /)
-file = The filename (Job XML) to launch
-level = The logging level (Basic, Detailed, Debug, Rowlevel, Error, Minimal, Nothing)
-logfile = The logging file to write to
-listdir = List the directories in the repository
-listjobs = List the jobs in the specified directory
-listrep = List the available repositories
-norep = Do not log into the repository
-version = show the version, revision and build date
-param = Set a named parameter =. For example -param:FILE=customers.csv
-listparam = List information concerning the defined parameters in the specified job.
-export = Exports all linked resources of the specified job. The argument is the name of a ZIP file.
-custom = Set a custom plugin specific option as a String value in the job using =, for example: -custom:COLOR=Red
-maxloglines = The maximum number of log lines that are kept internally by Kettle. Set to 0 to keep all rows (default)
-maxlogtimeout = The maximum age (in minutes) of a log line while being kept internally by Kettle. Set to 0 to keep all rows indefinitely (default)