发现Carte上面的作业莫名其妙就会没有,问了客户的维护人员说也没删除。
对象时间也是No Limit,但还是隔1、2天就不见了。
那说明之前配置这里还是无效
<slave_config>
<!--
Document description... - masters: You can list the slave servers to which this slave has to report back to.
If this is a master, we will contact the other masters to get a list of all the slaves in the cluster. - report_to_masters : send a message to the defined masters to let them know we exist (Y/N) - slaveserver : specify the slave server details of this carte instance.
IMPORTANT : the username and password specified here are used by the master instances to connect to this slave. --> <slaveserver>
<name>master1</name>
<hostname>IP地址</hostname>
<port>开放的端口</port>
<master>Y</master>
<username>cluster</username>
<password>cluster</password>
</slaveserver> <max_log_lines>1000</max_log_lines>
<max_log_timeout_minutes>1440</max_log_timeout_minutes>
<object_timeout_minutes>0</object_timeout_minutes> </slave_config>
发现日志提示
2019/04/02 16:36:08 - Carte - Cleaned up job 1五费预算产值发生数据抽取作业 with
id f863d36e-e54d-468f-a1bb-30d5343391c6 from Mon Apr 01 16:36:04 CST 2019
2019/04/02 16:36:28 - Carte - Cleaned up job 阿米巴报表合并作业 with id 4cacf8f7
-4ce9-4fec-bf82-ea49ff02fac0 from Mon Apr 01 16:36:28 CST 2019
2019/04/02 16:37:28 - Carte - Cleaned up job 0费用合并总作业 with id 0ca96c5f-d0
da-49d7-86a5-bf2001514246 from Mon Apr 01 16:37:20 CST 2019
网上google发现
https://jira.pentaho.com/browse/PDI-10750
有这个参数设置KETTLE_CARTE_OBJECT_TIMEOUT_MINUTES
最后打开Kettle
编辑kettle.properties发现这里默认的还是1440分钟(1天)
修改为一年后,重新启动观察一段时间试试。