Hi Artem,

Many thanks for your response. Below please find all information you
requested.

1. Logs are attached in 3 files: server log, client log 1st run, client log
2nd run.
2. The Task class exists only on client side. It is loaded by the server
node through peerClassLoading. Steps to reproduce:
    a) Start Ignite 1.4.0 server node with peerClassLoadingEnabled=true
    b) Compile the 2 attached classes (Task.java and Test.java) in package
"ignitetest" (I use Eclipse to compile and run the test)
    c) Run ignitetest.Test class - 1st run is successful (see the 1st
client log)
    d) Run the same test again - ClassCastException from remote node (see
2nd client log). In a very rare case that *all* 100 tasks will end up being
executed on the client node, the 2nd pass might also be successful. In such
case please retry again the test.
3. I use the same Java (j8u66) on both the server node and in Eclipse where
I run the client test.

In the server log I see that during the 1st run of the client test, the
class "ignitetest.Task" was deployed (twice) and then undeployed twice (I
assume that the undeployment happened when the 1st run of the test was
done). And then during the 2nd client test run, in the server log I can see
that the same class was deployed (once) and then the exception was thrown.

Thanks in advance for checking out this issue!

Cheers,
-Mateusz



On Fri, Oct 30, 2015 at 11:17 AM, Artem Shutak <[email protected]> wrote:

> Hi Cheers,
>
> You example works for me as well. I don't see any exceptions.
>
> For further investigation could you please
> - provide logs from both nodes with enabled verbose mode. To see **FULL**
> console log (verbose mode) add -DIGNITE_QUIET=false or "-v" to
> ignite.{sh|bat}
> - provide steps to reproduce. Have you been used different Task class
> versions with one server?
> - ensure that you run nodes under the same jvm (you don't mix Java 7 and
> 8).
>
> Thanks,
> Artem.
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1774.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Attachment: client-run-1.log
Description: Binary data

Attachment: client-run-2.log
Description: Binary data

Attachment: server.log
Description: Binary data

Attachment: Task.java
Description: Binary data

Attachment: Test.java
Description: Binary data

Reply via email to