Uploaded image for project: 'Rave'
  1. Rave
  2. RAVE-1098

Rave-MongoDB Map-Reduce fails due to syntax error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.23
    • None
    • rave-mongodb
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kkumykov Khazhismel Kumykov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: