Carte上面的做業一、2天就會丟失的問題

 

發現Carte上面的做業莫名其妙就會沒有,問了客戶的維護人員說也沒刪除。this

對象時間也是No Limit,但仍是隔一、2天就不見了。google

那說明以前配置這裏仍是無效spa

 

<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>

 

發現日誌提示3d

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-10750code

有這個參數設置KETTLE_CARTE_OBJECT_TIMEOUT_MINUTESserver

最後打開Kettle對象

編輯kettle.properties發現這裏默認的仍是1440分鐘(1天)blog

 

修改成一年後,從新啓動觀察一段時間試試。ip

相關文章
相關標籤/搜索