Khazhismel Kumykov created RAVE-1098:
----------------------------------------
Summary: Rave-MongoDB Map-Reduce fails due to syntax error
Key: RAVE-1098
URL: https://issues.apache.org/jira/browse/RAVE-1098
Project: Rave
Issue Type: Bug
Components: rave-mongodb
Affects Versions: 0.23
Reporter: Khazhismel Kumykov
SEVERE: Error executing Map/Reduce Statistics Aggregation!
org.springframework.dao.InvalidDataAccessApiUsageException: Command execution
failed: Error [exception: SyntaxError: Unexpected token (], Command
That error spams the catalina log.
The JavaScript MapReduce files each have a license comment in them. It seems
like whatever is parsing these files is not recognizing the comments as
comments. Removing the comments seems to fix this.
The documentation for MongoOperations.mapReduce doesn't seem to comment on
whether or not it supports comments in the input string, but it seems like it
doesn't.
--
This message was sent by Atlassian JIRA
(v6.2#6252)