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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

              vblagoje Vladimir Blagojevic (Inactive)
              sgrinove Sanne Grinovero (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: