Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
MarkLogic-mlcp作业失败,返回代码为0_Marklogic_Marklogic 9_Mlcp - Fatal编程技术网

MarkLogic-mlcp作业失败,返回代码为0

MarkLogic-mlcp作业失败,返回代码为0,marklogic,marklogic-9,mlcp,Marklogic,Marklogic 9,Mlcp,MarkLogic版本-9.0-6.2 当我通过我们的企业调度器Zena(类似于Control-M)运行下面的mlcp代码(TestLoad.sh)时,即使mlcp成功完成,并且所有记录都被接收到暂存数据库中,Zena作业也会失败 Command '"./TestLoad.sh"' failed with return code 0 and error message MLCP代码(TestLoad.sh) 我在bash脚本的末尾添加了“exit 0”,但仍然收到相同的失败消息 这是我可以在m

MarkLogic版本-9.0-6.2

当我通过我们的企业调度器Zena(类似于Control-M)运行下面的mlcp代码(TestLoad.sh)时,即使mlcp成功完成,并且所有记录都被接收到暂存数据库中,Zena作业也会失败

Command '"./TestLoad.sh"'
failed with return code 0 and error message
MLCP代码(TestLoad.sh) 我在bash脚本的末尾添加了“exit 0”,但仍然收到相同的失败消息


这是我可以在mlcp脚本中处理的吗?

您使用的是最新的mlcp吗?我记得MLCP在这方面做了一些更改。您使用的是最新的MLCP吗?我记得MLCP在这方面发生了变化。。
#!/bin/bash
mlcp.sh import -ssl \
-host localhost \
-port 8010 \
-username uname \
-password pwd \
-mode local \
-input_file_path /inputfilepath/test \
-input_file_type documents \
-aggregate_record_namespace "http://new.webservice.namespace" \
-output_collections test \
-output_uri_prefix /test/ \
-transform_module /ext/transform.sjs