美文网首页
Mac 下安装 kettle 启动闪退及数据库连接问题

Mac 下安装 kettle 启动闪退及数据库连接问题

作者: zhangyin | 来源:发表于2021-05-26 23:24 被阅读0次

    首先备注下现在时间:2021/5/26
    所有的问题都是时间的函数,如果你正在参考这篇文章,请留意这个时间,如果距离这个时间过于久远,这篇文章可能就是毒药。吾之蜜糖,汝之砒霜~

    本机环境

    macOs Big Sur 11.3.1

    第1步

    首先要去开源网站下载kettle,地址:
    https://sourceforge.net/projects/pentaho/files/Data%20Integration/

    WeChat41135e946157ffafce91262beb377a8e.png

    如上图所示,我下载的版本为当前的最新版本:
    pdi-ce-9.1.0.0-324.zip(1.8GB)


    下载完成后,文件夹会自动解压,将文件夹拷贝到一个合适的地方,文件夹的内容如下:


    WeChatc3c3f46847f6207382d712ebe6c37bf9.png

    第2步

    下载mysql驱动程序,然后拷贝到 da ta-integration/lib 文件夹中
    https://dev.mysql.com/downloads/file/?id=476197

    WeChatfa2c4889754b60060dacf27c4253da4c.png

    第3步

    解决启动闪退
    启动闪退是因为 xxxxxx/data-integration/libswt/osx64/swt.jar 这个文件导致的;
    SWT(Standard Widget Toolkit)则是由Eclipse项目组织开发的一套完整的图形界面开发包,我的操作系统为:
    macOS Big Sur 11.3.1
    两者似乎有冲突,需要用以下新的文件进行替换:
    下载最新的eclipse.swt包,替换kettle中的原文件(下载地址)

    下载地址:
    https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.swt.cocoa.macosx.x86_64

    下载后的文件名称为:org.eclipse.swt.cocoa.macosx.x86_64-3.116.0.jar

    将此文件拷贝到 data-integration/libswt/osx64 文件夹下,并将之前的 swt.jar 删除掉,如下图所示:


    WeChatb59cf3c7fae983da102578ea041d16ef.png

    第4步

    启动
    在控制台进入data-integration 文件夹,然后运行 spoon.sh

    cd data-integration
    sh spoon.sh
    
    控制台会打印以下内容:
    17:13:13,821 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
    17:13:14,113 INFO  [KarafInstance] 
    *******************************************************************************
    *** Karaf Instance Number: 1 at /Users/9tong/Documents/mactools/数据库/data-in ***
    ***   tegration/./system/karaf/caches/spoon/data-1                          ***
    *** Karaf Port:8802                                                         ***
    *** OSGI Service Port:9051                                                  ***
    *******************************************************************************
    五月 26, 2021 5:13:16 下午 org.apache.karaf.main.Main$KarafLockCallback lockAcquired
    信息: Lock acquired. Setting startlevel to 100
    五月 26, 2021 5:13:20 下午 org.apache.aries.spifly.BaseActivator log
    信息: Examining bundle for SPI provider: org.eclipse.jetty.http
    五月 26, 2021 5:13:20 下午 org.apache.aries.spifly.BaseActivator log
    信息: Found SPI resource: bundle://113.0:0/META-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder
    五月 26, 2021 5:13:20 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.http.Http1FieldPreEncoder
    五月 26, 2021 5:13:20 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@597b8e5d
    五月 26, 2021 5:13:20 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: org.eclipse.jetty.http.HttpFieldPreEncoder in bundle org.eclipse.jetty.http
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Examining bundle for SPI provider: org.eclipse.jetty.websocket.common
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Found SPI resource: bundle://130.0:0/META-INF/services/org.eclipse.jetty.websocket.api.extensions.Extension
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.common.extensions.identity.IdentityExtension
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@1d347acd
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: org.eclipse.jetty.websocket.api.extensions.Extension in bundle org.eclipse.jetty.websocket.common
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.common.extensions.fragment.FragmentExtension
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@7b2e70d7
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: org.eclipse.jetty.websocket.api.extensions.Extension in bundle org.eclipse.jetty.websocket.common
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@4b8d95d6
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: org.eclipse.jetty.websocket.api.extensions.Extension in bundle org.eclipse.jetty.websocket.common
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.common.extensions.compress.DeflateFrameExtension
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@50cb85c2
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: org.eclipse.jetty.websocket.api.extensions.Extension in bundle org.eclipse.jetty.websocket.common
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.common.extensions.compress.XWebkitDeflateFrameExtension
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@22a94e92
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: org.eclipse.jetty.websocket.api.extensions.Extension in bundle org.eclipse.jetty.websocket.common
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Examining bundle for SPI provider: org.eclipse.jetty.websocket.javax.websocket
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Found SPI resource: bundle://131.0:0/META-INF/services/javax.websocket.ContainerProvider
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.jsr356.JettyClientContainerProvider
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@337431ab
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: javax.websocket.ContainerProvider in bundle org.eclipse.jetty.websocket.javax.websocket
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Examining bundle for SPI provider: org.eclipse.jetty.websocket.javax.websocket.server
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Found SPI resource: bundle://132.0:0/META-INF/services/javax.servlet.ServletContainerInitializer
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@59f39205
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: javax.servlet.ServletContainerInitializer in bundle org.eclipse.jetty.websocket.javax.websocket.server
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Found SPI resource: bundle://132.0:0/META-INF/services/javax.websocket.server.ServerEndpointConfig$Configurator
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.jsr356.server.ContainerDefaultConfigurator
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@74110778
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: javax.websocket.server.ServerEndpointConfig$Configurator in bundle org.eclipse.jetty.websocket.javax.websocket.server
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Examining bundle for SPI provider: org.eclipse.jetty.websocket.server
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Found SPI resource: bundle://133.0:0/META-INF/services/javax.servlet.ServletContainerInitializer
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Loaded SPI provider: class org.eclipse.jetty.websocket.server.NativeWebSocketServletContainerInitializer
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered service: org.apache.felix.framework.ServiceRegistrationImpl@3f06448
    五月 26, 2021 5:13:21 下午 org.apache.aries.spifly.BaseActivator log
    信息: Registered provider: javax.servlet.ServletContainerInitializer in bundle org.eclipse.jetty.websocket.server
    2021-05-26 17:13:21.304:INFO::FelixStartLevel: Logging initialized @11673ms to org.eclipse.jetty.util.log.StdErrLog
    五月 26, 2021 5:13:21 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
    信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-management (157) [org.apache.cxf.management.InstrumentationManager]
    五月 26, 2021 5:13:21 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
    信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-rs-service-description (162) [org.apache.cxf.jaxrs.model.wadl.WadlGenerator]
    五月 26, 2021 5:13:21 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
    信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (164) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http.HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
    五月 26, 2021 5:13:22 下午 org.apache.cxf.transport.http.osgi.ServletExporter updated
    信息: Registering new instance of "/cxf" servlet
    17:13:22,755 INFO  [DriverManager] Installing driver kars.
    17:13:22,758 INFO  [DriverManager] 0 drivers will be installed.
    17:13:22,758 INFO  [DriverManager] Finished installing drivers kars.
    2021-05-26 17:13:23.047:INFO:oejws.WebSocketServerFactory:CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi]): No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:23.236:INFO:oejs.session:CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi]): DefaultSessionIdManager workerName=node0
    2021-05-26 17:13:23.237:INFO:oejs.session:CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi]): No SessionScavenger set, using defaults
    2021-05-26 17:13:23.238:INFO:oejs.session:CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi]): node0 Scavenging every 600000ms
    2021-05-26 17:13:23.286:INFO:oejsh.ContextHandler:CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi]): Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=org.apache.cxf.cxf-rt-transports-http [164], contextID=default]}
    2021-05-26 17:13:23.294:INFO:oejs.Server:CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi]): jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_291-b10
    2021-05-26 17:13:23.377:INFO:oejs.AbstractConnector:CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi]): Started default@2b4864{HTTP/1.1,[http/1.1]}{0.0.0.0:9051}
    2021-05-26 17:13:23.381:INFO:oejs.Server:CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi]): Started @13750ms
    五月 26, 2021 5:13:23 下午 org.apache.cxf.endpoint.ServerImpl initDestination
    信息: Setting the server's publish address to be /i18n
    五月 26, 2021 5:13:23 下午 org.pentaho.caching.impl.PentahoCacheManagerFactory$RegistrationHandler$1 onSuccess
    信息: New Caching Service registered
    2021-05-26 17:13:23.712:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:23.722:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-i18n-webservice-bundle [176], contextID=default]}
    2021-05-26 17:13:25.234:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:25.241:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-pdi-platform [248], contextID=default]}
    2021-05-26 17:13:26.713:INFO:oejws.WebSocketServerFactory:FelixDispatchQueue: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.718:INFO:oejsh.ContextHandler:FelixDispatchQueue: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=core-ui [264], contextID=default]}
    2021-05-26 17:13:26.792:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.796:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=org.pentaho.requirejs-manager-impl [265], contextID=default]}
    2021-05-26 17:13:26.808:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.813:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-angular [266], contextID=default]}
    2021-05-26 17:13:26.825:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.829:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-angular-animate [267], contextID=default]}
    2021-05-26 17:13:26.847:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.860:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-angular-i18n [268], contextID=default]}
    2021-05-26 17:13:26.877:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.888:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-angular-sanitize [269], contextID=default]}
    2021-05-26 17:13:26.910:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.915:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-angular-translate [270], contextID=default]}
    2021-05-26 17:13:26.935:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.939:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-dojo [271], contextID=default]}
    2021-05-26 17:13:26.957:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.961:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-require-css [272], contextID=default]}
    2021-05-26 17:13:26.974:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.980:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-requirejs-text [273], contextID=default]}
    2021-05-26 17:13:26.992:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:26.996:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-uirouter__angularjs [274], contextID=default]}
    2021-05-26 17:13:27.011:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:27.019:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-uirouter__core [275], contextID=default]}
    五月 26, 2021 5:13:27 下午 org.apache.cxf.endpoint.ServerImpl initDestination
    信息: Setting the server's publish address to be /repositories
    五月 26, 2021 5:13:27 下午 org.apache.cxf.endpoint.ServerImpl initDestination
    信息: Setting the server's publish address to be /browser
    五月 26, 2021 5:13:27 下午 org.apache.cxf.endpoint.ServerImpl initDestination
    信息: Setting the server's publish address to be /browser-new
    五月 26, 2021 5:13:27 下午 org.apache.cxf.endpoint.ServerImpl initDestination
    信息: Setting the server's publish address to be /get-fields
    五月 26, 2021 5:13:27 下午 org.apache.cxf.endpoint.ServerImpl initDestination
    信息: Setting the server's publish address to be /connection
    2021-05-26 17:13:27.664:INFO:oejws.WebSocketServerFactory:FelixDispatchQueue: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:27.676:INFO:oejsh.ContextHandler:FelixDispatchQueue: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=repositories-plugin-core [276], contextID=default]}
    2021-05-26 17:13:28.041:INFO:oejws.WebSocketServerFactory:FelixDispatchQueue: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:28.046:INFO:oejsh.ContextHandler:FelixDispatchQueue: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=file-open-save-core [278], contextID=default]}
    2021-05-26 17:13:28.355:INFO:oejws.WebSocketServerFactory:FelixDispatchQueue: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:28.363:INFO:oejsh.ContextHandler:FelixDispatchQueue: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=file-open-save-new-core [280], contextID=default]}
    2021-05-26 17:13:28.559:INFO:oejws.WebSocketServerFactory:FelixDispatchQueue: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:28.565:INFO:oejsh.ContextHandler:FelixDispatchQueue: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=get-fields-core [281], contextID=default]}
    五月 26, 2021 5:13:28 下午 org.apache.cxf.endpoint.ServerImpl initDestination
    信息: Setting the server's publish address to be /marketplace
    2021-05-26 17:13:29.058:INFO:oejws.WebSocketServerFactory:FelixDispatchQueue: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:29.060:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:29.065:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-angular-route [284], contextID=default]}
    2021-05-26 17:13:29.069:INFO:oejsh.ContextHandler:FelixDispatchQueue: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=connections-ui [282], contextID=default]}
    2021-05-26 17:13:29.079:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:29.085:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-angular-ui-bootstrap-bower [285], contextID=default]}
    2021-05-26 17:13:29.333:INFO:oejws.WebSocketServerFactory:FelixDispatchQueue: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:29.344:INFO:oejsh.ContextHandler:FelixDispatchQueue: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-marketplace-di [283], contextID=default]}
    2021-05-26 17:13:29.345:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:29.350:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-jquery [286], contextID=default]}
    2021-05-26 17:13:29.361:INFO:oejws.WebSocketServerFactory:FelixStartLevel: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:29.365:INFO:oejsh.ContextHandler:FelixStartLevel: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=pentaho-webjars-underscore [287], contextID=default]}
    五月 26, 2021 5:13:29 下午 org.apache.cxf.endpoint.ServerImpl initDestination
    信息: Setting the server's publish address to be /hadoop-cluster
    2021-05-26 17:13:31.201:INFO:oejws.WebSocketServerFactory:FelixDispatchQueue: No DecoratedObjectFactory provided, using new org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
    2021-05-26 17:13:31.208:INFO:oejsh.ContextHandler:FelixDispatchQueue: Started HttpServiceContext{httpContext=DefaultHttpContext [bundle=hadoop-cluster-ui [289], contextID=default]}
    2021-05-26 17:13:49.685 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:49.686 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
    2021-05-26 17:13:50.280 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.280 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.282 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.283 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.288 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.291 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.294 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.297 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.298 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.298 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.299 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.299 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.300 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.300 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.300 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.301 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.301 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.301 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.349 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.349 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.350 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.350 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    2021-05-26 17:13:50.443 java[74910:479201] nil host used in call to allowsSpecificHTTPSCertificateForHost
    2021-05-26 17:13:50.443 java[74910:479201] nil host used in call to allowsAnyHTTPSCertificateForHost:
    
    
    

    此时,界面可以正常启动了!

    WeChat53bbac6843a168bd8927e8c2238ffe6a.png

    如果界面中文字都显示不正常,比如被翻白显示,请试试前往 “系统设置>通用” 将系统界面调整为浅色模式,如下图所示:


    WeChat807d9c6204a90db9543a2c97c0709427.png

    第5步

    连接数据库


    WeChat7c4a1fbc47b74bcfe2a7b781e2be486a.png

    点击菜单“工具>向导>创建数据库连接向导”,可以创建与mysql的连接;


    WeChat173f82ca18ace76424336037beef25df.png

    最后公布一个噩耗,请大家一起帮忙众筹答案:

    我还是没有最终在mac上安装成功,因为swt.jar的缘故,我无法在pdi中打开数据库连接;


    附录

    kettle(Pentaho Data Integration) 使用"最佳"实践

    [MacOS 安装 Kettle 必须使用 JDK1.8.0_202]

    https://blog.csdn.net/ManWZD/article/details/109953243?utm_medium=distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromMachineLearnPai2~default-8.control


    相关文章

      网友评论

          本文标题:Mac 下安装 kettle 启动闪退及数据库连接问题

          本文链接:https://www.haomeiwen.com/subject/onoksltx.html