Java调用Kettle时,报Can't run transformation due to plugin missing错误的解决方法
2017-12-08 17:29
1531 查看
如题,近期公司做的报表项目有用到Kettle导数据到Elastic,然后用唯品会的Saturn定时调度kettle job文件进行增量导数据。
在java调用job文件时,报Can't run transformation due to plugin missing 错误初始化步骤 ElasticSearch Bulk Insert,
在网上找解决方法时,stackoverflow里有完整的解决方法,
以上意思是在Kettle环境初始化前,增加plugins。new PluginFolder("xxx/xxx/xxx")此处为kettle安装目录下的plugins文件夹,当然我kettle文件只用到elasticsearch-bulk-insert-plugin插件,那就可以只add (new PluginFolder("/home/data-integration/plugins/elasticsearch-bulk-insert-plugin"))。
同理,此方法可解决其他插件缺失错误。
在java调用job文件时,报Can't run transformation due to plugin missing 错误初始化步骤 ElasticSearch Bulk Insert,
在网上找解决方法时,stackoverflow里有完整的解决方法,
以上意思是在Kettle环境初始化前,增加plugins。new PluginFolder("xxx/xxx/xxx")此处为kettle安装目录下的plugins文件夹,当然我kettle文件只用到elasticsearch-bulk-insert-plugin插件,那就可以只add (new PluginFolder("/home/data-integration/plugins/elasticsearch-bulk-insert-plugin"))。
同理,此方法可解决其他插件缺失错误。
相关文章推荐
- php调用存储过程返回结果集,解决can't return a result set in the given context错误的方法
- 出现500错误[code=CANT_CONNECT_LOOPBACK] Cannot connect due to potential loopback problems的解决方法
- Delphi调用Java的WebService报错can not find dispatch method for{null}terminalNo using "Payload QName-based Dispatcher"的解决方法
- c++ mk文件出错Jni调用产生java.lang.UnsatisfiedLinkError错误解决方法
- 关于错误“Cannot connect to the Citrix MetaFrame server.Can't assign requested address”的解决方法
- eclipse中出现Context startup failed due to previous errors错误解决方法
- The method contains(CharSequence) from the type String refers to the missing type CharSequence错误解决方法
- windows 2008 下C#调用office组件访问拒绝的解决方法(failed due to the following error: 80070005 拒绝访问)
- Eclipse开启错误“Failed to create the java virtual machine.”的解决方法
- Linux上 Can't connect to X11 window server 错误解决方法
- Android调用GSon时java.lang.NoClassDefFoundError: com.google.gson.GsonBuilder错误解决方法
- Linux上 Can't connect to X11 window server 错误解决方法
- This application failed to start because it could not find or load the Qt platform plugin “windows”错误解决方法
- phpcms v9出现Can not connect to MySQL server错误的原因和解决方法
- php调用存储过程返回结果集,解决can't return a result set in the given context错误的方法
- java.lang.IllegalAccessException: access to class not allowed 错误解决方法
- java调用CICS服务遇到的错误及解决方法
- java.lang.IllegalAccessException: access to class not allowed 错误解决方法
- 使用sqlyog远程连接mysql 错误2003 cant connect to mysql 10060/10061 解决方法最强合集
- php调用存储过程返回结果集,解决can't return a result set in the given context错误的方法