I used the previously provided example and duplicated the issue in the Ignite 2.0 release on Windows 10

I also created an issue: IGNITE-5183 <https://issues.apache.org/jira/browse/IGNITE-5183>


On 4/12/2017 2:15 PM, Ryan Ripken wrote:
I tried the below example with Ignite 1.9 and I continue to see multiple jobs being executed at the same time on nodes that are configured with FifoQueueCollisionSpi and parallelJobsNumber:1

Am I misunderstanding the purpose of the parallelJobsNumber setting?

thanks,
Ryan


On 4/11/2017 5:25 PM, Ryan Ripken wrote:
Ignite Team -

I created a stripped down version of what I'm trying to do:

https://www.dropbox.com/s/zhxidn14cgi4dqg/IgniteTest.7z?dl=0

There are a couple variables in node.bat that will need to be edited to point at your java_home and to the path where the 7z is unzipped to.

I first start a generic node by running node.bat from the command line.

Then I run the IgniteTest main method from my IDE.

The needed jar files are included in a jar directory. They are what I believe are the typical 1.5 Ignite jars.

Running it I see this output:

    Apr 11, 2017 5:02:48 PM org.apache.ignite.logger.java.JavaLogger
    warning
    WARNING: Peer class loading is enabled (disable it in production
    for performance and deployment consistency reasons)
    Apr 11, 2017 5:02:48 PM org.apache.ignite.logger.java.JavaLogger
    warning
    WARNING: This operating system has been tested less rigorously:
    Windows 10 10.0 amd64. Our team will appreciate the feedback if
    you experience any problems running ignite in this environment.
    Apr 11, 2017 5:02:48 PM org.apache.ignite.logger.java.JavaLogger
    warning
    WARNING: Checkpoints are disabled (to enable configure any
    GridCheckpointSpi implementation)
    Apr 11, 2017 5:02:48 PM org.apache.ignite.logger.java.JavaLogger
    warning
    WARNING: Swap space is disabled. To enable use FileSwapSpaceSpi.
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in
    
[jar:file:/J:/ignite/modules/rest-http/target/libs/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in
    
[jar:file:/J:/ignite/modules/visor-plugins/target/libs/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for
    an explanation.
    SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
    Apr 11, 2017 5:02:48 PM org.apache.ignite.logger.java.JavaLogger
    warning
    WARNING: TcpDiscoveryMulticastIpFinder has no pre-configured
    addresses (it is recommended in production to specify at least
    one address in TcpDiscoveryMulticastIpFinder.getAddresses()
    configuration property)
    Apr 11, 2017 5:03:43 PM ignitetest.TestJob execute
    WARNING: *******Multiple jobs in progress. NOT GOOD
    ************************
    *******Multiple jobs in progress. NOT GOOD ************************
    Apr 11, 2017 5:03:43 PM ignitetest.TestJob execute
    WARNING: *******Multiple jobs in progress. NOT GOOD
    ************************
    *******Multiple jobs in progress. NOT GOOD ************************


In trying to make a self-contained version I seem to have messed up the logging configuration so not all the log messages are being displayed. If its absolutely essential I can work on sorting out the logging issue and send another version.

I haven't tried this example in 1.9 yet. Perhaps I will try that tomorrow.

I used essentially the same pattern in GridGain 3.6 and didn't have any problems. Perhaps I messed something up when moving to Ignite. I'd really appreciate any suggestions.

Thanks,
Ryan


On 4/11/2017 5:55 AM, vkulichenko wrote:
Ryan,

No, there are no known issues like that and I don't think there will be a
way to investigate it without being able to reproduce. Please let us know if
you have a reproducer.

-Val



--
View this message in 
context:http://apache-ignite-users.70518.x6.nabble.com/Concurrent-job-execution-and-FifoQueueCollisionSpi-parallelJobsNumber-1-tp8697p11884.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.




Reply via email to