Netsuite Map 降低产量
Netsuite Map Reduce yielding
我在文档中读到,对治理的软限制会导致 map reduce 脚本屈服并重新安排。我的问题是我在文档中看不到它解释了产量中发生的事情。是否再次调用 getInputData 以重新收集可以映射的相同数据集,或者初始数据集是否保留在某处并且已经映射和减少的记录被排除在处理之外?
随着屈服,getInputData
阶段不再被调用。来自文档;
If a job monopolizes a processor for too long, the system can
naturally finish the job after the current map or reduce function has
completed. In this case, the system creates a new job to continue
executing remaining key/value pairs. Based on its priority and
submission timestamp, the new job either starts right after the
original job has finished, or it starts later, to allow
higher-priority jobs processing other scripts to execute. For more
details, see SuiteScript 2.0 Map/Reduce Yielding.
但是,这与服务器重启或中断不同。
我在文档中读到,对治理的软限制会导致 map reduce 脚本屈服并重新安排。我的问题是我在文档中看不到它解释了产量中发生的事情。是否再次调用 getInputData 以重新收集可以映射的相同数据集,或者初始数据集是否保留在某处并且已经映射和减少的记录被排除在处理之外?
随着屈服,getInputData
阶段不再被调用。来自文档;
If a job monopolizes a processor for too long, the system can naturally finish the job after the current map or reduce function has completed. In this case, the system creates a new job to continue executing remaining key/value pairs. Based on its priority and submission timestamp, the new job either starts right after the original job has finished, or it starts later, to allow higher-priority jobs processing other scripts to execute. For more details, see SuiteScript 2.0 Map/Reduce Yielding.
但是,这与服务器重启或中断不同。