Re: One time replicating of the cluster data for setting up a new cluster

2018-04-04 Thread vkulichenko
Dave, Log files location depend on logger configuration. For example, in log4j it's controlled by "File" parameter of the file appender. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Slow invoke call

2018-04-04 Thread javastuff....@gmail.com
Hi, I have a usecase where we are storing byte array into one of the OFFHEAP ATOMIC cache. Multiple threads keep on appending bytes to it using remote operation (Entry processor / invoke call). Below is the logic for remote operation. if (mutableEntry.exists()) { MyObject m =

Re: How suppress Ignite log message

2018-04-04 Thread Denis Magda
Paolo, What was the part of the output you were concerned about? I haven't spotted anything suspicious. -- Denis On Sat, Mar 24, 2018 at 8:55 AM, Paolo Di Tommaso wrote: > For the records, setting the sys property `IGNITE_QUIET=false` disable the > output to the

Re: Remote node ID is not as expected - New Node not coming up

2018-04-04 Thread aealexsandrov
Hi, You can configure TcpCommunicationSpi: TcpCommunicationSpi communicationSpi = new TcpCommunicationSpi(); communicationSpi.setLocalAddress(localAddress); communicationSpi.setLocalPort(cc.getCommunicationLocalPort());

Re: Remote node ID is not as expected - New Node not coming up

2018-04-04 Thread ak47
@ezhuravlev how can we set different localport? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failing to deploy service

2018-04-04 Thread Neeraj Vaidya
In addition to marking LOG as @transient, I also made it lazy val so that it does not result in initialization order issues. Regards, Neeraj On Wed, 4/4/18, Neeraj Vaidya wrote: Subject: Re: Failing to deploy service

Re: Failing to deploy service

2018-04-04 Thread Neeraj Vaidya
Hi Denis, By making the Logger a part of the companion object, it works. However, it also works if I keep the LOG field part of the Service implementation class but annotate it as @transient. Regards, Neeraj On Wed, 4/4/18, Denis Mekhanikov

Re: Failing to deploy service

2018-04-04 Thread Denis Mekhanikov
Neeraj, Thanks for sharing the details! I'll try to reproduce this issue. If you put a logger into a field of the service class, it will be serialized together with the service, which doesn't make much sense. You should make the logger a part of a companion object, so it won't be sent over

Re: Failing to deploy service

2018-04-04 Thread Neeraj Vaidya
Hi Denis, Thanks for your responses. Here is the class I am using. It is also there in github : https://github.com/en-vee/axlrate/blob/axlrate-release-1/axlrate/axlrate-charging/src/main/scala/org/hypercomp/axlrate/charging/loader/AxlRateChargingService.scala When I comment out the LOG member

Re: Failing to deploy service

2018-04-04 Thread Denis Mekhanikov
Neeraj, There is no such restriction, as far as I know. What do you mean by "using"? Could you provide this class? Denis ср, 4 апр. 2018 г. в 10:32, Neeraj Vaidya : > On analysing further it seems the field id indicated as “marker” below is > actually a member of one

Re: Failing to deploy service

2018-04-04 Thread Neeraj Vaidya
On analysing further it seems the field id indicated as “marker” below is actually a member of one of the class instances used inside the service classes. Is there anything restriction as such about using custom classes in a service implementation ? Sent from my iPhone > On 4 Apr 2018, at

Re: Failing to deploy service

2018-04-04 Thread Denis Mekhanikov
Neeraj, Provide the AxlRateChargingSe*rvice* class. There must be something wrong with getters and setters. BinaryMarshaller decides, that your service has two identical fields for some reason. Denis ср, 4 апр. 2018 г. в 8:07, Neeraj Vaidya : > Hi, > > I am trying to

Re: Broadcast method fails with DataStorage peristenceEnabled

2018-04-04 Thread Denis Mekhanikov
Supun, "Unknown pair" error means, that marshaller failed to find a mapping from type id to classname of an object, that it tries to deserialize. This information is stored in *work/marshaller *directory on every node. Make sure, that the following file is present on all nodes in *marshaller*