由于时间限制,marklogic MLCP导入失败

时间:2018-07-02 15:01:42

标签: marklogic

使用MLCP导入zip文件时如何避免“超过时间限制”。

18/07/02 10:39:19 INFO contentpump.LocalJobRunner: Content type: XML
18/07/02 10:39:19 INFO contentpump.FileAndDirectoryInputFormat: Total input 
paths to process : 12
18/07/02 10:39:22 INFO contentpump.LocalJobRunner:  completed 0%
18/07/02 10:41:53 INFO contentpump.LocalJobRunner:  completed 8%
18/07/02 10:42:16 INFO contentpump.LocalJobRunner:  completed 17%
18/07/02 10:42:38 INFO contentpump.LocalJobRunner:  completed 25%
18/07/02 10:42:43 INFO contentpump.LocalJobRunner:  completed 33%
18/07/02 10:44:09 INFO contentpump.LocalJobRunner:  completed 42%
18/07/02 10:44:49 INFO contentpump.LocalJobRunner:  completed 50%
18/07/02 10:52:47 ERROR mapreduce.ContentWriter: SVC-EXTIME: Time limit exceeded
18/07/02 10:56:55 WARN mapreduce.ContentWriter: Failed document /R10/3F_7_3600_PaB_2010.xml

1 个答案:

答案 0 :(得分:1)

我将从使用body { background-color: darkgray; background-image: url('../images/website.jpg'); background-repeat: repeat-x; } #logo { position: fixed; display: inline-block; left: 0px; top: 0px; margin: 0 10%; z-index: 2; } #header { position: fixed; display: inline-block; margin: 0 10%; top: 0px; width: 80%; height : 150px; background: rgb(217, 47, 54); z-index: 1; } -transaction_size 1开始。这将使批处理更快地完成。如果您发现MarkLogic服务器的mem或cpu电量不足,请考虑同时调低-batch_size 1

如果对上述参数进行的调整不足,您还可以考虑增加用于上传的MarkLogic端口后面的应用服务器的-thread_count设置。

HTH!