ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasilisa Sidorova (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-441) Cleanup TODO in ScalarCachePopularNumbersExample
Date Mon, 16 Mar 2015 14:39:38 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14363279#comment-14363279
] 

Vasilisa Sidorova commented on IGNITE-441:
------------------------------------------

I've tested this issue as part of IGNITE-480: ScalaCachePopularNumbersExample is failed and
CachePopularNumbersExample is passed.
Description if failure is:
---------------------------------------------
ENVIRONMENT
---------------------------------------------
Upload Ignite (Snapshot&Staging) build #66 for branch ignite-45 (ver. 1.0.0-RC3-SNAPSHOT#20150316-sha1:dc05cd54)
---------------------------------------------
STEPS FOR REPRODUCE
---------------------------------------------
1. Run ExampleNodeStartup from Idea IDE
2. Run ScalaCachePopularNumbersExample
---------------------------------------------
ACTUAL RESULT
---------------------------------------------
The example turned in expected result and then there is exception on the console:

[17:10:29,759][ERROR][ignite-#24%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=78a02032c41-6dc7b609-845c-42be-abfd-58dc2ab91f6b,
jobId=98a02032c41-3178b56f-4ad3-45e4-b697-2ff5dcf7575d, nodeId=3178b56f-4ad3-45e4-b697-2ff5dcf7575d,
isJobDone=false], jobCtx=GridJobContextImpl [jobId=98a02032c41-3178b56f-4ad3-45e4-b697-2ff5dcf7575d,
attrs={}], node=TcpDiscoveryNode [id=3178b56f-4ad3-45e4-b697-2ff5dcf7575d, addrs=[127.0.0.1],
sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150316-sha1:dc05cd54,
isClient=false], ex=class o.a.i.compute.ComputeUserUndeclaredException: Failed to execute
job due to unexpected runtime exception [jobId=98a02032c41-3178b56f-4ad3-45e4-b697-2ff5dcf7575d,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.s.examples.ScalarCachePopularNumbersExample$$anonfun$1$$anonfun$apply$mcV$sp$2,
dep=GridDeployment [ts=1426515018112, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2f78743b,
clsLdrId=3096be22c41-3178b56f-4ad3-45e4-b697-2ff5dcf7575d, 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.s.examples.ScalarCachePopularNumbersExample$$anonfun$1$$anonfun$apply$mcV$sp$2,
sesId=78a02032c41-6dc7b609-845c-42be-abfd-58dc2ab91f6b, startTime=1426515029603, endTime=9223372036854775807,
taskNodeId=6dc7b609-845c-42be-abfd-58dc2ab91f6b, clsLdr=sun.misc.Launcher$AppClassLoader@2f78743b,
closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=6dc7b609-845c-42be-abfd-58dc2ab91f6b,
mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1426515029684,
endTime=0, lsnr=null, state=INIT]]], jobId=98a02032c41-3178b56f-4ad3-45e4-b697-2ff5dcf7575d]],
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:6053)
	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:903)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1133)
	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:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

Look at attached logs
---------------------------------------------
EXPECTED RESULT
---------------------------------------------
The example turned in expected result without any exception like similar Java Example.



> Cleanup TODO in ScalarCachePopularNumbersExample
> ------------------------------------------------
>
>                 Key: IGNITE-441
>                 URL: https://issues.apache.org/jira/browse/IGNITE-441
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-2
>            Reporter: Sisko Vasiliy
>            Assignee: Vasilisa Sidorova
>             Fix For: sprint-2
>
>         Attachments: #_IGNITE-441_Scalar_test_as_reflection_of_Java_test.patch
>
>




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

Mime
View raw message