This topic contains 3 replies, has 0 voices, and was last updated by CREECE 7 years, 10 months ago.

  • Author
    Posts
  • #1301

    ssilveri77

    I am having trouble debugging map reduce. It fails and I do net get any error log. I have log.debug statements. Trouble shooting says create a mock test script, but I am not sure how to do this and my attempts did not work.

    Has anyone done this?
    This is a cached copy. Click here to see the original post.

  • #1302

    erictgrubaugh

    If you can share your code, we’ll be able to better help troubleshoot.

  • #1303

    chanarbon

    Also, one good approach is to iterate on the mapSummary, reduceSummary errors object on the summarize phase

  • #1304

    CREECE

    I wrap code that can cause errors in a try/catch which seems to work in map/reduce scripts. Otherwise, you don’t see any errors like you mentioned. If you wrap in try/catch and log the error are you still not seeing it? That would be a bit odd.

You must be logged in to reply to this topic.