Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4677

Map/Reduce job fails with the wrong explanation on underlying TimeoutException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.CR2
    • 7.0.0.Beta1
    • Clustered Executor
    • None

    Description

      I'm running a task which is throwing the following exception during the Map phase:

      org.infinispan.util.concurrent.TimeoutException: Node main-NodeC-22183 timed out

      The user facing error however is this very confusing message:

      org.infinispan.commons.CacheException: java.util.concurrent.ExecutionException: Map phase executing at main-NodeA-39904 did not complete within 0 sec timeout

      I have no timeout enabled.

      The problem is the instanceof operation on the cause of the error in org.infinispan.distexec.mapreduce.MapReduceTask.executeMapPhaseWithLocalReduction(Map<KOut, VOut>): the check on the type only is not good enough.

      Attachments

        Activity

          People

            vblagoje Vladimir Blagojevic (Inactive)
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: