Hi Dmitry,

Could you please check what will be if you implement  Externalizable
explicitly?

public class TaskOutput implements Externalizable {...}

On Mon, Oct 3, 2016 at 4:45 PM, dmitry.parkhonin <[email protected]>
wrote:

> It is not a response, it is a question.
>
> In addition to my original question:
> Just before the error there are the following lines in the log:
>
> 2016-10-03 13:28:08,788 DEBUG - Received peer class/resource loading
> request
> [node=7c7ae245-d3f2-40a5-a5fb-47fb18f97501, req=GridDeploymentRequest
> [rsrcName=ru/depsy/TaskOutput.class,
> ldrId=6d5e38a8751-c03371e4-49be-4b34-947d-20022b45dee7, isUndeploy=false,
> nodeIds=null]]
> [org.apache.ignite.internal.managers.deployment.
> GridDeploymentCommunication]
> [p2p-#147%pricingGridServer%] {}
> 2016-10-03 13:28:08,788 DEBUG - Sent peer class loading response
> [node=7c7ae245-d3f2-40a5-a5fb-47fb18f97501, res=GridDeploymentResponse
> [success=true, errMsg=null, byteSrc=GridByteArrayList [size=1198]]]
> [org.apache.ignite.internal.managers.deployment.
> GridDeploymentCommunication]
> [p2p-#147%pricingGridServer%] {}
> 2016-10-03 13:28:08,819 DEBUG - Send recovery acknowledgement
> [rmtNode=7c7ae245-d3f2-40a5-a5fb-47fb18f97501, rcvCnt=80]
> [org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi]
> [grid-nio-worker-0-#105%pricingGridServer%] {}
> 2016-10-03 13:28:08,819 DEBUG - Received grid job response message
> [msg=GridJobExecuteResponse [nodeId=7c7ae245-d3f2-40a5-a5fb-47fb18f97501,
> sesId=0e5e38a8751-c03371e4-49be-4b34-947d-20022b45dee7,
> jobId=1e5e38a8751-c03371e4-49be-4b34-947d-20022b45dee7, gridEx=null,
> isCancelled=false], nodeId=7c7ae245-d3f2-40a5-a5fb-47fb18f97501]
> [org.apache.ignite.internal.processors.task.GridTaskProcessor]
> [sys-#40%pricingGridServer%] {}
> 2016-10-03 13:28:08,835 ERROR - Failed to obtain remote job result policy
> for result from ComputeTask.result(..) method ...
>
> It seems to me that the error appears just after the TaskOuput class is
> loaded by remote classloader.
>
> The TaskOutput class:
>
> public class TaskOutput<T> {
>
>   private final String taskId;
>   private final Throwable exception;
>   private final T output;
>
>   public TaskOutput(String taskId, T output, Throwable exception) {
>     this.taskId = taskId;
>     this.output = output;
>     this.exception = exception;
>   }
>
>   public String getTaskId() {
>     return taskId;
>   }
>
>   public T getOutput() {
>     return output;
>   }
>
>   public Throwable getException() {
>     return exception;
>   }
> }
>
> May the output field be the reason of the exception?
>
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Unexpected-flag-value-tp8050p8052.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Reply via email to