ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Suntsov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-547) Java8 ComputeExecutorServiceExample fails with ClassNotFoundException if anotehr node is running
Date Sun, 22 Mar 2015 15:34:10 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Suntsov updated IGNITE-547:
--------------------------------
    Description: 
1. Run Java8 ExampleNodeStartup
2. Run IgniteExecutorServiceExample 

ExampleNodeStartup output:
{noformat}
[22:47:43] Topology snapshot [ver=2, nodes=2, CPUs=4, heap=3.5GB]
[22:47:43,720][ERROR][ignite-#9%pub-null%][GridJobWorker] Failed to initialize job [jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263435, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=ccb6fdd3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionMap, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263697, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1426967263705, endTime=0, lsnr=null, state=INIT]]], jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb]]
class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
[22:47:43,720][ERROR][ignite-#8%pub-null%][GridJobWorker] Failed to initialize job [jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263435, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=ccb6fdd3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionMap, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263607, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1426967263705, endTime=0, lsnr=null, state=INIT]]], jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb]]
class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more

{noformat}

ComputeExecutorServiceExample output
{noformat}
[22:47:43,742][ERROR][ignite-#20%sys-null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=C4 [], sib=GridJobSiblingImpl [sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, nodeId=95c2de77-2258-43d8-a805-16cfeb5450bb, isJobDone=false], jobCtx=GridJobContextImpl [jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, attrs={}], node=TcpDiscoveryNode [id=95c2de77-2258-43d8-a805-16cfeb5450bb, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.100.9], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150321-sha1:13b2736f, isClient=false], ex=class o.a.i.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0, hasRes=true, isCancelled=false, isOccupied=true]
class org.apache.ignite.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception).
	at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:102)
	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:829)
	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:822)
	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6068)
	at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:822)
	at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:718)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:906)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1136)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:394)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	... 6 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	... 8 more
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
[22:47:43,742][ERROR][ignite-#19%sys-null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=C4 [], sib=GridJobSiblingImpl [sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, nodeId=95c2de77-2258-43d8-a805-16cfeb5450bb, isJobDone=false], jobCtx=GridJobContextImpl [jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, attrs={}], node=TcpDiscoveryNode [id=95c2de77-2258-43d8-a805-16cfeb5450bb, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.100.9], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150321-sha1:13b2736f, isClient=false], ex=class o.a.i.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0, hasRes=true, isCancelled=false, isOccupied=true]
class org.apache.ignite.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception).
	at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:102)
	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:829)
	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:822)
	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6068)
	at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:822)
	at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:718)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:906)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1136)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:394)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	... 6 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	... 8 more
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
[22:47:43,755][ERROR][main][GridExecutorService] Failed to get task result: ComputeTaskInternalFuture [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263457, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=4e270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=false, usage=0], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263607, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1426967263607, endTime=1426967263607, lsnr=null, state=DONE]]], super=GridFutureAdapter [resFlag=1, res=class o.a.i.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception)., startTime=1426967263607, endTime=1426967263747, lsnr=null, state=DONE]]
class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
[22:47:43,756][ERROR][main][GridExecutorService] Failed to get task result: ComputeTaskInternalFuture [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263457, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=4e270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=false, usage=0], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263697, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1426967263697, endTime=1426967263697, lsnr=null, state=DONE]]], super=GridFutureAdapter [resFlag=1, res=class o.a.i.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception)., startTime=1426967263697, endTime=1426967263747, lsnr=null, state=DONE]]
class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
{noformat}

  was:
1. Run Java8 ExampleNodeStartup
2. Run ComputeExecutorServiceExample 

ExampleNodeStartup output:
{noformat}
[22:47:43] Topology snapshot [ver=2, nodes=2, CPUs=4, heap=3.5GB]
[22:47:43,720][ERROR][ignite-#9%pub-null%][GridJobWorker] Failed to initialize job [jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263435, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=ccb6fdd3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionMap, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263697, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1426967263705, endTime=0, lsnr=null, state=INIT]]], jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb]]
class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
[22:47:43,720][ERROR][ignite-#8%pub-null%][GridJobWorker] Failed to initialize job [jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263435, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=ccb6fdd3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionMap, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263607, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1426967263705, endTime=0, lsnr=null, state=INIT]]], jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb]]
class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more

{noformat}

ComputeExecutorServiceExample output
{noformat}
[22:47:43,742][ERROR][ignite-#20%sys-null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=C4 [], sib=GridJobSiblingImpl [sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, nodeId=95c2de77-2258-43d8-a805-16cfeb5450bb, isJobDone=false], jobCtx=GridJobContextImpl [jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, attrs={}], node=TcpDiscoveryNode [id=95c2de77-2258-43d8-a805-16cfeb5450bb, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.100.9], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150321-sha1:13b2736f, isClient=false], ex=class o.a.i.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0, hasRes=true, isCancelled=false, isOccupied=true]
class org.apache.ignite.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception).
	at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:102)
	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:829)
	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:822)
	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6068)
	at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:822)
	at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:718)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:906)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1136)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:394)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	... 6 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	... 8 more
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
[22:47:43,742][ERROR][ignite-#19%sys-null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=C4 [], sib=GridJobSiblingImpl [sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, nodeId=95c2de77-2258-43d8-a805-16cfeb5450bb, isJobDone=false], jobCtx=GridJobContextImpl [jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, attrs={}], node=TcpDiscoveryNode [id=95c2de77-2258-43d8-a805-16cfeb5450bb, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.100.9], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150321-sha1:13b2736f, isClient=false], ex=class o.a.i.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0, hasRes=true, isCancelled=false, isOccupied=true]
class org.apache.ignite.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception).
	at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:102)
	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:829)
	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:822)
	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6068)
	at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:822)
	at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:718)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:906)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1136)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:394)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	... 6 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	... 8 more
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
[22:47:43,755][ERROR][main][GridExecutorService] Failed to get task result: ComputeTaskInternalFuture [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263457, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=4e270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=false, usage=0], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263607, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1426967263607, endTime=1426967263607, lsnr=null, state=DONE]]], super=GridFutureAdapter [resFlag=1, res=class o.a.i.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception)., startTime=1426967263607, endTime=1426967263747, lsnr=null, state=DONE]]
class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
[22:47:43,756][ERROR][main][GridExecutorService] Failed to get task result: ComputeTaskInternalFuture [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263457, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=4e270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=false, usage=0], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263697, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1426967263697, endTime=1426967263697, lsnr=null, state=DONE]]], super=GridFutureAdapter [resFlag=1, res=class o.a.i.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception)., startTime=1426967263697, endTime=1426967263747, lsnr=null, state=DONE]]
class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:344)
	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
	... 9 more
{noformat}


> Java8 ComputeExecutorServiceExample fails with ClassNotFoundException if anotehr node is running
> ------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-547
>                 URL: https://issues.apache.org/jira/browse/IGNITE-547
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: sprint-2
>            Reporter: Sergey Kozlov
>            Assignee: Valentin Kulichenko
>             Fix For: sprint-2
>
>
> 1. Run Java8 ExampleNodeStartup
> 2. Run IgniteExecutorServiceExample 
> ExampleNodeStartup output:
> {noformat}
> [22:47:43] Topology snapshot [ver=2, nodes=2, CPUs=4, heap=3.5GB]
> [22:47:43,720][ERROR][ignite-#9%pub-null%][GridJobWorker] Failed to initialize job [jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263435, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=ccb6fdd3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionMap, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263697, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1426967263705, endTime=0, lsnr=null, state=INIT]]], jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb]]
> class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:344)
> 	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
> 	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
> 	... 9 more
> [22:47:43,720][ERROR][ignite-#8%pub-null%][GridJobWorker] Failed to initialize job [jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263435, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=ccb6fdd3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionMap, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263607, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1426967263705, endTime=0, lsnr=null, state=INIT]]], jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb]]
> class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:344)
> 	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
> 	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
> 	... 9 more
> {noformat}
> ComputeExecutorServiceExample output
> {noformat}
> [22:47:43,742][ERROR][ignite-#20%sys-null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=C4 [], sib=GridJobSiblingImpl [sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, nodeId=95c2de77-2258-43d8-a805-16cfeb5450bb, isJobDone=false], jobCtx=GridJobContextImpl [jobId=df270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, attrs={}], node=TcpDiscoveryNode [id=95c2de77-2258-43d8-a805-16cfeb5450bb, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.100.9], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150321-sha1:13b2736f, isClient=false], ex=class o.a.i.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0, hasRes=true, isCancelled=false, isOccupied=true]
> class org.apache.ignite.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception).
> 	at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:102)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:829)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:822)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6068)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:822)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:718)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:906)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1136)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: class org.apache.ignite.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:394)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
> 	... 6 more
> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
> 	... 8 more
> Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:344)
> 	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
> 	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
> 	... 9 more
> [22:47:43,742][ERROR][ignite-#19%sys-null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=C4 [], sib=GridJobSiblingImpl [sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, nodeId=95c2de77-2258-43d8-a805-16cfeb5450bb, isJobDone=false], jobCtx=GridJobContextImpl [jobId=ee270ed3c41-95c2de77-2258-43d8-a805-16cfeb5450bb, attrs={}], node=TcpDiscoveryNode [id=95c2de77-2258-43d8-a805-16cfeb5450bb, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.100.9], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150321-sha1:13b2736f, isClient=false], ex=class o.a.i.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0, hasRes=true, isCancelled=false, isOccupied=true]
> class org.apache.ignite.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception).
> 	at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:102)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:829)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:822)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6068)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:822)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:718)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:906)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1136)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: class org.apache.ignite.IgniteException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:394)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
> 	... 6 more
> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
> 	... 8 more
> Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:344)
> 	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
> 	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
> 	... 9 more
> [22:47:43,755][ERROR][main][GridExecutorService] Failed to get task result: ComputeTaskInternalFuture [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263457, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=4e270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=false, usage=0], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=ce270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263607, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1426967263607, endTime=1426967263607, lsnr=null, state=DONE]]], super=GridFutureAdapter [resFlag=1, res=class o.a.i.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception)., startTime=1426967263607, endTime=1426967263747, lsnr=null, state=DONE]]
> class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:344)
> 	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
> 	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
> 	... 9 more
> [22:47:43,756][ERROR][main][GridExecutorService] Failed to get task result: ComputeTaskInternalFuture [ses=GridTaskSessionImpl [taskName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, dep=GridDeployment [ts=1426967263457, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, clsLdrId=4e270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=false, usage=0], taskClsName=o.a.i.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540, sesId=bf270ed3c41-b763feb3-0674-4acf-a36e-cc82bda0bb3d, startTime=1426967263697, endTime=9223372036854775807, taskNodeId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, clsLdr=sun.misc.Launcher$AppClassLoader@2ff4acd0, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=b763feb3-0674-4acf-a36e-cc82bda0bb3d, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1426967263697, endTime=1426967263697, lsnr=null, state=DONE]]], super=GridFutureAdapter [resFlag=1, res=class o.a.i.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception)., startTime=1426967263697, endTime=1426967263747, lsnr=null, state=DONE]]
> class org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same version of all classes are available on all nodes or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@2ff4acd0
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:242)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:379)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1714)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:627)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.java8.computegrid.ComputeExecutorServiceExample$$Lambda$2/795748540
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:344)
> 	at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:7801)
> 	at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:111)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:251)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:246)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.readExternal(GridClosureProcessor.java:1803)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:451)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:746)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:252)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:236)
> 	... 9 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message