JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
CLOSED  Enhancement JPPF-310  -  Improve the handling of non-serializable tasks in the client.
Posted Aug 15, 2014 - updated Jan 26, 2015
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Enhancement
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Core
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 5.0
Issue description
This is a follow up on Bug report JPPF-309 - Jobs with non-serializable task is still executed remotely:
Ideally, what we should do is to not send the task at all and instead set it directly as a job result with its throwable set to the NotSerializableException. The problem here is that the job header is already sent to the server, thus it is expecting the number of tasks specified in the header. One possibility is to send null instead of the task, and modifuy the serve rcode to immediately set this task as completed so it's not dispatched to a node, then send null back to the client, and modify the client code to discard any null task received. This will be done in the trunk and for the next major version

#3
Comment posted by
 lolo4j
Jan 26, 22:15
implemented in trunk revision 3549