Marklogic数据集线器问题-获取输入“找不到流”错误

时间:2018-11-05 04:08:11

标签: marklogic marklogic-dhf

我使用开发人员许可证在Windows上安装了marklogic 9.0.7和data-hub版本4.0.1。安装顺利,我能够毫无问题地创建我的第一个输入流程。我去创建了第二个输入流,并做了与第一个输入流相同的操作,但是我收到了“找不到流”错误,我认为没有任何原因。输入流肯定已保存。两次。救命!

这是快速入门生成的MLCP:

mlcp.bat import -mode "local" -host "localhost" -port "8010" -username -password "*****" -input_file_path "C:\Users\XXXX\Documents\data-hub\input\providers\address" -input_file_type "delimited_text" -output_collections "ProviderAddress,ProviderAddress201810,input" -output_permissions "rest-reader,read,rest-writer,update" -output_uri_replace "/C:/Users/XXXX/Documents/data-hub/input/providers/address,''" -document_type "json" -generate_uri "true" -transform_module "/data-hub/4/transforms/mlcp-flow-transform.sjs" -transform_namespace "http://marklogic.com/data-hub/mlcp-flow-transform" -transform_param "entity-name=Provider%20Address,flow-name=ProviderAddress201810"

所有路径似乎都是正确的,并且其中有一个CSV文件,就像第一个运行良好的文件一样。

这是我运行它时得到的轨迹...

2018-11-04 19:28:47.704 ERROR 272716 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.marklogic.client.ResourceNotFoundException: Local message: Could not read resource at resources/ml:flow. Server Message: The requested flow was not found] with root cause

com.marklogic.client.ResourceNotFoundException: Local message: Could not read resource at resources/ml:flow. Server Message: The requested flow was not found
        at com.marklogic.client.impl.OkHttpServices.checkStatus(OkHttpServices.java:4313)
        at com.marklogic.client.impl.OkHttpServices.getIteratedResourceImpl(OkHttpServices.java:3098)
        at com.marklogic.client.impl.OkHttpServices.getIteratedResource(OkHttpServices.java:3075)
        at com.marklogic.client.impl.ResourceServicesImpl.get(ResourceServicesImpl.java:61)
        at com.marklogic.client.impl.ResourceServicesImpl.get(ResourceServicesImpl.java:57)
        at com.marklogic.hub.impl.FlowManagerImpl.getFlow(FlowManagerImpl.java:208)
        at com.marklogic.quickstart.service.FlowManagerService.getServerFlow(FlowManagerService.java:103)
        at com.marklogic.quickstart.web.EntitiesController.runInputFlow(EntitiesController.java:228)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

0 个答案:

没有答案