MAC 安装kettle后打开缓慢以及使用卡死解决方案

mac 安装kettle后打开缓慢以及使用卡死现象解决方法

OS: MAC OS 10.14.6

JDK版本:1.8

kettle版本:7.1及8.3

按照网上教程先安装好JDK及做好环境变量后,将下载到的kettle解压到/Volumes/disk2/data-integration,然后进入data-integration目录运行./spoon.sh,运行后需要等待1分多钟才可以正常打开kettle,而且打开后操作时发现会有卡死的情况,错误和信息如下:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
log4j:WARN Continuable parsing error 45 and column 76
log4j:WARN Element type "rollingPolicy" must be declared.
log4j:WARN Continuable parsing error 52 and column 14
log4j:WARN The content of element type "appender" must match "(errorHandler?,param*,layout?,filter*,appender-ref*)".
log4j:WARN Please set a rolling policy for the RollingFileAppender named 'pdi-execution-appender'
21:49:38,468 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
21:49:38,559 INFO  [KarafInstance] 
*******************************************************************************
*** Karaf Instance Number: 1 at /Volumes/disk2/data-integration/./system/ka ***
***   raf/caches/spoon/data-1                                               ***
*** FastBin Provider Port:52901                                             ***
*** Karaf Port:8802                                                         ***
*** OSGI Service Port:9051                                                  ***
*******************************************************************************
ERROR: Error creating bundle cache. (java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException)
java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException
	at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176)
	at org.apache.felix.framework.Felix.init(Felix.java:640)
	at org.apache.karaf.main.Main.launch(Main.java:232)
	at org.pentaho.platform.osgi.KarafBoot$4.run(KarafBoot.java:249)
	at java.lang.Thread.run(Thread.java:748)
	at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:257)
	at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:109)
	at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:565)
	at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:545)
	at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:117)
	at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:80)
	at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:133)
	at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:100)
	at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:81)
	at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:642)
	at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:634)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
21:49:43,821 ERROR [KarafBoot] Error starting Karaf
org.osgi.framework.BundleException: Error creating bundle cache.
	at org.apache.felix.framework.Felix.init(Felix.java:645)
	at org.apache.karaf.main.Main.launch(Main.java:232)
	at org.pentaho.platform.osgi.KarafBoot$4.run(KarafBoot.java:249)
	at java.lang.Thread.run(Thread.java:748)
	at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:257)
	at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:109)
	at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:565)
	at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:545)
	at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:117)
	at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:80)
	at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:133)
	at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:100)
	at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:81)
	at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:642)
	at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:634)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException
	at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176)
	at org.apache.felix.framework.Felix.init(Felix.java:640)
	... 18 more
21:51:25,283 ERROR [KarafLifecycleListener] The Kettle Karaf Lifecycle Listener failed to execute properly after waiting for 100 seconds. Releasing lifecycle hold, but some services may be unavailable.
Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint

百度和google后的处理方案也不能解决,没查到有人和有类似的现象。于是尝试更换JDK,从openjdk换到oracle的JDK,而且多个版本也试过仍然解决不了问题,以及也将kettle 从7.1升级到8.0也一样。毫无头绪的情况下第二天再尝试仍然解决不了,于是理清过往操作细节,发现有一点是路径变更到disk2,虽然disk2是同一个硬盘的一个分区,但格式是 ExFAT。于是尝试将kettle安装目录放到原有user目录下,再次运行后终于解决问题。

我的分区情况是:

Macintosh HD      /                                 文件格式:APFS

disk2                     /Volumes/disk2        文件格式:exfat

仍然存在疑问,如有高手知道请告知一二,万分感谢!

为何更换到其它分区目录后,运行出现异常,是与分区文件格式有关?

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ps3108

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值