chrismattmann commented on a change in pull request #131: Changed the map and
reduce function to work with XmlRpcWorkflowManger
URL: https://github.com/apache/drat/pull/131#discussion_r194242484
##########
File path: proteus/src/main/java/backend/ProcessDratWrapper.java
##########
@@ -128,17 +157,43 @@ private synchronized void solrIndex() throws
InstantiationException, SolrServerE
sIndexer.commit();
sIndexer.optimize();
idl.logInfo("Completed",null);
-
}
@Override
- public void map() throws IOException, DratWrapperException {
- simpleDratExec(MAP_CMD);
+ public void map() {
+ setStatus(MAP_CMD);
+ DratLog mapLog = new DratLog("MAPPING");
+ WorkflowRestResource restResource = new WorkflowRestResource();
+ DynamicWorkflowRequestWrapper requestBody = new
DynamicWorkflowRequestWrapper();
+ requestBody.taskIds = new ArrayList<>();
+ requestBody.taskIds.add("urn:drat:MimePartitioner");
Review comment:
create a static final key for this at the top (like MAPPER_TASK from before).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services