Re: Data Rebalancing & Transactions

2017-01-18 Thread vkulichenko
Sam, NONE mode is something that should be used very accurately. It means what it means - no rebalancing is happening when topology is changing, unless you trigger the rebalancing manually. For example, if you have a cache with one backup and you lose one of the nodes, you end up having only one

Re: Ignite REST with JBOSS

2017-01-18 Thread vkulichenko
Hi Sam, Ignite starts its own HTTP server for rest API, so it's definitely possible when running in JBoss as well as anywhere else. You just need to add ignite-rest-http module with dependencies to classpath and the endpoint will start automatically. If you're using Maven, add this to pom.xml:

Re: Index Maintenance During Transactions

2017-01-18 Thread vkulichenko
I think Dmitry meant that indexes are updated synchronously with transaction commit. However, note that SQL queries are currently not transactional, so you can still get dirty reads in the result set. -Val -- View this message in context:

Re: Ignite in Docker

2017-01-18 Thread jimfcarroll
Sorry. I should also mention that we've overloaded discovery with an Spi. I cut it from the config I posted to remove clutter. It works fine when we run --net=host so I'm assuming that's not the problem. -- View this message in context:

Re: Ignite in Docker

2017-01-18 Thread jimfcarroll
Hi Val, Thanks for the response. The AddressResolver is pretty simple. It's initialized with a map of internal to external IPs (currently the map has a single entry). The the main getExternalAddress(final InetSocketAddress addr) looks like this: try { LOGGER.debug("{} Looking

Re: Ignite in Docker

2017-01-18 Thread vkulichenko
Hi Jim, Please show you AddressResolver implementation, your configuration and describe the deployment in more details (how many nodes, how addresses are assigned to them, etc). -Val -- View this message in context:

ApacheCon CFP closing soon (11 February)

2017-01-18 Thread Rich Bowen
Hello, fellow Apache enthusiast. Thanks for your participation, and interest in, the projects of the Apache Software Foundation. I wanted to remind you that the Call For Papers (CFP) for ApacheCon North America, and Apache: Big Data North America, closes in less than a month. If you've been

Re: How can we create a TOPIC Config?

2017-01-18 Thread afedotov
Hi, Did I get you correct, that you want to send an update to a topic every time the cache is updated? If that is the question then I would suggest you taking a look at the following: https://apacheignite.readme.io/docs/events https://apacheignite.readme.io/docs/messaging On Wed, Jan 18, 2017

Re: Running Spark app in cluster!

2017-01-18 Thread what0124
Yes, I pass the example xml, like this: object RDDProducer extends App { val conf = new SparkConf().setAppName("SparkIgnitePro") val sc = new SparkContext(conf) val ic = new IgniteContext(sc,"../examples/config/example-cache.xml") val sharedRDD= ic.fromCache[Integer,Integer]("a") val

Re: 答复: how to increase CPU utilization to increase compute performance

2017-01-18 Thread Vladislav Pyatkov
Hi, If you want to estimate a reason you need to use profile and after make a conclusion. You should to check your application (using flight recorder[1] for example) and make a investigation where are threads stopping. How long do threads spend time in parking state? What is reason of this?

答复: how to increase CPU utilization to increase compute performance

2017-01-18 Thread Shawn Du
This is the configuration. All just default. localhost:47500..47509

how to increase CPU utilization to increase compute performance

2017-01-18 Thread Shawn Du
Hi, I have a task to compute on ignite. My Service has 8 cores. I split the task into more than 1K jobs and merge the result. >From client see, the task run more than 3 seconds, and sometimes more than 10 seconds. The ignite server load is very slow. I wonder to know how to increase the CPU