Re: C# client too slow to connect.

2018-05-23 Thread F.D.
ent, and I have only a server node >> on an other machine in my organization, and I cannot see particular >> activity of cpu or network. >> >> Thanks, >>F.D. >> >> On Tue, May 22, 2018 at 11:00 AM Igor Sapego <isap...@apache.org> wrote: >> >&g

Re: C# client too slow to connect.

2018-05-24 Thread F.D.
Hi Yakov, It works perfectly! Thanks!!! F.D. On Thu, May 24, 2018 at 11:17 AM Yakov Zhdanov <yzhda...@apache.org> wrote: > Hi, slow node join is possible on windows machines which is related to > tcp/ip stack differences from linux - windows implementation waits for the >

Re: C++ Distribute Closure Failure

2018-06-07 Thread F.D.
How can I know if I'm waiting because my job is complex and it takes much time, or because the node where it was running is crashed? Regards, F.D. On Thu, Jun 7, 2018 at 4:01 PM Igor Sapego wrote: > What do you mean by "failed"? > > Best Regards, > Igor > > On

C++ Distribute Closure Failure

2018-06-07 Thread F.D.
Hi, when I launch a distibute closure calling the Call method or by RunAsync, how can I check if the function is failed? Only by timeout? Thanks, F.D.

Re: BinaryStringArrayWriter / BinaryStringArrayReader

2018-06-07 Thread F.D.
Perfect! Thanks F.D. On Mon, Jun 4, 2018 at 12:38 PM Igor Sapego wrote: > Hi, > > Yes, you can use BinaryStringArrayWriter / BinaryStringArrayReader. > > No, to get BinaryStringArrayReader, you should use method > BinaryReader::ReadStringArray(const char* fieldName)

BinaryStringArrayWriter / BinaryStringArrayReader

2018-06-02 Thread F.D.
ave to use my own solution? And If I can, the first argument (impl::binary::BinaryReaderImpl *impl) is the first argoment of my method Read (BinaryReader )? Thanks, F.D.

Contribution on Ignite

2018-08-03 Thread F.D.
trying to devel this part. But I need your help because I've no idea where to start. Thanks, F.D.

Distributed closure and cache.

2018-07-31 Thread F.D.
?!? Thanks, F.D.

Re: Distributed closure and cache.

2018-07-31 Thread F.D.
Perfect!! You saved me! Thanks, F.D. On Tue, Jul 31, 2018 at 4:05 PM Dmitriy Govorukhin < dmitriy.govoruk...@gmail.com> wrote: > HI, > > Yes, you can. Try to do something like this > > ignite.compute().call(() -> { > // Get local ignite instance (local in compu

Distribute closures error: "Operation cannot be performed in raw mode."

2018-08-02 Thread F.D.
( ) = default; CalculationEngineIgniteServer( const std::string , const std::vector , bool localLog ); virtual std::string Call(); private: std::string name_; bool local_log_; std::vector input_; }; Then I defined BinaryType for Calculation and for std::vector. I don't understand where I miss. Thanks, F.D.

Re: Distribute closures error: "Operation cannot be performed in raw mode."

2018-08-02 Thread F.D.
Ok perfect! F.D. On Thu, Aug 2, 2018 at 3:11 PM Igor Sapego wrote: > You may also use rawWriter. The point is, you should > not use non-raw user, when you already started using raw. > > Best Regards, > Igor > > > On Thu, Aug 2, 2018 at 3:58 PM F.D. wrote: > >>

Re: Distribute closures error: "Operation cannot be performed in raw mode."

2018-08-02 Thread F.D.
auto sa_writer = writer.WriteStringArray("items"); for(const auto : obj) sa_writer.Write(s); sa_writer.Close(); } static void Read(BinaryReader , std::vector ) { auto sa_reader = reader.ReadStringArray("items"); while(sa_reader.HasNext())

Re: Distribute closures error: "Operation cannot be performed in raw mode."

2018-08-02 Thread F.D.
reader.ReadString("service_name"); auto sa_reader = reader.ReadStringArray("input"); while(sa_reader.HasNext()) dst.input_.push_back(sa_reader.GetNext()); } and now work perfectly! Sorry and thanks again! F.D. On Thu, Aug 2, 2018 at 2:52 PM F.D. wrote:

Re: Distributed closure with buffer of binary data

2018-08-08 Thread F.D.
s/latest/cppdoc/classignite_1_1binary_1_1BinaryWriter.html#ada15c20651157acfb8baeb5fe8df1b5d> > ()? > > Regards, > > -- > Ilya Kasnacheev > > 2018-08-08 11:19 GMT+03:00 F.D. : > >> Hello Igniters, >> >> My distributed closures work perfectly when the inputs are stri

Re: Distributed closure with buffer of binary data

2018-08-09 Thread F.D.
You're right! My fault! On Thu, Aug 9, 2018 at 2:37 PM Ilya Kasnacheev wrote: > Hello! > > WriteInt8Array accepts pointer and len, so I don't see why you have to > pass char by char. > > Regards, > > -- > Ilya Kasnacheev > > 2018-08-09 1:32 GMT+03:00 F.D. : &

Distributed closure with buffer of binary data

2018-08-08 Thread F.D.
). The question is there a method of BinaryWriter/BinaryReader to handles with buffer of char? (I found WriteArray, but I've to pass char by char). Thanks, F.D.

Logging in C++

2018-07-17 Thread F.D.
Hi, I'm continuing to work on a distributed closure in C++, and this time I'm wondering how you can do a remote logging. Thanks, F.D.

Re: How close client connection to server

2018-08-31 Thread F.D.
Hi, yes I tried and I got the same error. On Thu, Aug 30, 2018 at 6:33 PM Ilya Kasnacheev wrote: > Hello! > > Have you tried Ignition::StopAll(false); ? > > Regards, > -- > Ilya Kasnacheev > > > чт, 30 авг. 2018 г. в 13:04, F.D. : > >> Hi Ignite

Re: Connection between servers.

2018-08-31 Thread F.D.
Perfect! Thank you F.D. On Fri, Aug 31, 2018 at 12:19 PM dkarachentsev wrote: > Hi, > > Usually it's enough to open ports for communication and discovery, thair > default values: 47500 and 47100. > If you run more than one node per pachine, you'll need to open a port > ran

Re: C++ client only

2018-09-04 Thread F.D.
Sorry. You're right, I did a change in my code and it deceived me. Thanks, F.D. On Tue, Sep 4, 2018 at 5:13 PM Igor Sapego wrote: > Hi, > > It's weird. How do you see that? > > Best Regards, > Igor > > > On Tue, Sep 4, 2018 at 5:26 PM F.D. wrote: > >>

C++ client only

2018-09-04 Thread F.D.
closures are continuing to be executed on the client side. Is there any other configuration to do? Thanks, F.D.

How works an ignite node?

2018-09-04 Thread F.D.
Hi igniters, I'm testing my client/server nodes using C++ distributed closures. So, I've a question or you: on my server, where I launched my server node, how many instance of server I've to launch? One for each physical core? What's the rule for an optimal performance? Thanks, F.D.

Connection between servers.

2018-08-30 Thread F.D.
Hi igniters, I've problem of connections between the servers, so I'd like to know which must be open to permit the communication. Thanks, F.D.

How close client connection to server

2018-08-30 Thread F.D.
this statment: Ignition::StopAll(true); Is it possibile to avoid this error? Thanks, F.D.

Re: How works an ignite node?

2018-09-05 Thread F.D.
% of utilizzation, but after about a minute, it collapses to around 20%. Consider that the execution spent 18 min with 1 node and 3 min with 16 nodes (my server has 16 core). Any ideas? On Tue, Sep 4, 2018 at 5:49 PM Eduard Shangareev < eduard.shangar...@gmail.com> wrote: > Hi, F.D. &

Re: How close client connection to server

2018-09-03 Thread F.D.
Forget it! There was another problem. Thanks, F.D. On Sat, Sep 1, 2018 at 12:11 AM F.D. wrote: > Hi, > > yes I tried and I got the same error. > > On Thu, Aug 30, 2018 at 6:33 PM Ilya Kasnacheev > wrote: > >> Hello! >> >> Have you tried Ig

Re: Number of threads in computations

2018-09-19 Thread F.D.
Perfect. Thanks, F.D. On Wed, Sep 19, 2018 at 11:23 AM Evgenii Zhuravlev wrote: > Hi, > > You can use set FifoCollisionSpi.parallelJobsNum: > https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/collision/fifoqueue/FifoQueueCollisionSpi.html > > Evgen

Re: Ignite .NET in docker (linux)?

2019-01-03 Thread F.D.
Ok, so your idea is to build an image starting from Microsoft .NET image. Then you add the java jdk, and make a c# project that launch the ignite node, is it right? Can you clarify to me these lines: ... RUN dotnet restore ... ENTRYPOINT ["dotnet", "run"] thanks, F.D.

Re: Ignite .NET in docker (linux)?

2018-12-21 Thread F.D.
126b] (Use Apache.Ignite.Core.Ignition.Start() or Apache.Ignite.exe to start Ignite.NET nodes; ignite::Ignition::Start() or ignite.exe to start Ignite C++ nodes). I suppose I should start the .NET Ignite (the thing that I did when I didn't use docker). Can you help me? Thanks, F.D. On Thu, Dec 20, 2018

Ignite .NET in docker (linux)?

2018-12-20 Thread F.D.
Hi Igniters, I'd like to know if is it possible to use ignite docker (with linux O.S.) and connect a ignite client in C#. I suppose no, is it? So the second question, is already present in the docker repository an image for Ignite .NET (with windows O.S.)? Thanks, F.D.

Re: Ignite .NET in docker (linux)?

2019-01-04 Thread F.D.
Yes I agree with you. The proxy is needed because in my office is present a firewall. But from my host can use nuget without problems, I got errors only in docker. Thanks, F.D. On Fri, Jan 4, 2019 at 4:30 PM Pavel Tupitsyn wrote: > Looks like you have some network issues and Nu

Re: Ignite .NET in docker (linux)?

2019-01-03 Thread F.D.
; certificate is invalid according to the validation procedure. > [/app/ignite-docker-test.csproj] > The command '/bin/sh -c dotnet restore' returned a non-zero code: 1 > In any case I cannot build the image. Can you help me? Thanks, F.D. On Thu, Jan 3, 2019 at 10:19 AM F.D. wrote

Re: Ignite .NET in docker (linux)?

2019-01-08 Thread F.D.
Ok. Thank you vary much, F.D. On Fri, Jan 4, 2019 at 6:38 PM Pavel Tupitsyn wrote: > I see. > > Anyway, try the new image, it is more properly built: > contains published files instead of source code, and includes only runtime > (not sdk/jdk). > > Thanks, > Pavel

Number of threads in computations

2018-09-19 Thread F.D.
Hi, I'd like to know if is it possible to limit the number of threads, launched when a distubuted closure arrive to the server? thanks, F.D.

Ignite and dynamic linking

2019-01-28 Thread F.D.
hly. I've the problem when I LoadLibrary and then I call FreeLibrary (and until here it works), but when I try to LoadLibrary again and to start the node, I get the error: Failed to initialize JVM* [errCls=, errMsg=JVM already created.]* Do you any ideas why I got this error? Thanks, F.D.

Re: C++ computer delay

2019-02-21 Thread F.D.
Hi, thread log of the client? On Thu, Feb 21, 2019 at 10:29 AM Ilya Kasnacheev wrote: > Hello! > > Can you collect some thread dumps (Java ones, using jstack) during those > 10 seconds freezes? > > Regards, > -- > Ilya Kasnacheev > > > ср, 20 февр. 2019 г.

C++ computer delay

2019-02-20 Thread F.D.
Hi igniters, I've a problem when I launch a sequence of about 350 compute funcions in my cluster of 10 node. I register a delay in the first launcher od about 10 sec. after that, it works smoothly. If I launch the same numbers of task on a single node, there 's no delay. It seems like a problem in

Re: C++ computer delay

2019-02-25 Thread F.D.
Hi, in my previous message there was the dump of the 4 servers. Maybe the extension of the files is misleading. Thanks, F.D. On Mon, Feb 25, 2019 at 7:48 AM Ilya Kasnacheev wrote: > Hello! > > Please post Java stack traces collected with jstack utility. Otherwise > the

Re: C++ computer delay

2019-02-25 Thread F.D.
Hi, This is the command that I launched: cmd /c "" -m -l 7600 >> C:\temp\$(hostname).log where 7600 is the PID of the JVM. Is it correct? Thanks, F.D. On Mon, Feb 25, 2019 at 10:52 AM Ilya Kasnacheev wrote: > Hello! > > Regardless of extension your thread du

Re: C++ GetCompute() error

2019-02-12 Thread F.D.
st Regards, > Igor > > > On Tue, Feb 12, 2019 at 2:37 PM F.D. wrote: > >> Hi igniters, >> >> I'm trying to port my code from 2.6 to 2.7. And now when I try to get a >> Compute (in C++) I got this error message: >> *Trying to register multiple PRC callbacks wi

C++ GetCompute() error

2019-02-12 Thread F.D.
Hi igniters, I'm trying to port my code from 2.6 to 2.7. And now when I try to get a Compute (in C++) I got this error message: *Trying to register multiple PRC callbacks with the same ID. [type=4, id=94355077]* Can you help me, why I got this? Thanks, F.D.

Re: Ignite and dynamic linking

2019-01-29 Thread F.D.
, jniErr.errCls, jniErr.errMsg, err); if(err.GetCode() == IgniteError::IGNITE_SUCCESS) ctx.Get()->DestroyJvm(); factoryLock.Leave(); } And call it before the FreeLibrary(), now when I call the start I got a unknow error. Any ideas? Thanks, F.D. On Mon, Jan 28, 2019 a

Cores on a node

2020-02-09 Thread F.D.
Hi, I'd like to know if is possible to know the number of logical/physical cores on a node in a cluster? Thanks, F.D.

C++ Node doesnot shut down

2020-02-21 Thread F.D.
Hi igniters, I'm using a client node in C++ to lanch several compute on a cluster, and it's working quite well, but when I try to close the node with every king of Ignition::Stop/StopAll(true/false), my client remain freezed. I'm using the 2.7.6. Do you have any suggestions? Thanks, F.D.

Re: Nodejs cache problem.

2022-02-14 Thread F.D.
alue); Where value is [image: image.png] Thank you in advance. F.D. On Tue, Feb 1, 2022 at 6:32 PM Eduard Rakhmankulov wrote: > Good day, F.D.! > > Can you provide ignite logs related to this problem? > > > > On Tue, 1 Feb 2022 at 10:46, F.D. wrote: > >> Hi,

Nodejs Think clint problem with byte array.

2022-02-16 Thread F.D.
is present between a uint8array and a ignite type code. Can you help me? Thanks, F.D.

Re: Nodejs cache problem.

2022-02-17 Thread F.D.
I solved putting INTEGER_ARRAY. Thanks, F.D. On Tue, Feb 15, 2022 at 12:11 AM F.D. wrote: > Hi Eduard, > sorry for my late reply. I've attached it to this email. But now I got a > different error message: > "Value "220" can not be cast to byte" > or >

Re: Nodejs Think clint problem with byte array.

2022-02-17 Thread F.D.
Ok, solved. I used INTEGER_ARRAY. F.D. On Wed, Feb 16, 2022 at 12:54 PM F.D. wrote: > Hi, > I've a problem putting in a cache entry a byte array. I've tried to use > BYTE_ARRAY directly, or passing by a ComplexObjectType where one field was > a BYTE_ARRAY, but it

Nodejs ThinClient and compute

2022-02-18 Thread F.D.
Hi, is it possible to launch a "distributed compute" from a thin client of node.js? If not, do you have a workaround about it? Thanks, F.D.

Nodejs cache problem.

2022-01-31 Thread F.D.
); } finally { igniteClient.disconnect(); } } The put seems work well, but I'm not sure, but when I try to do the get I got this error: "Type "BinaryObject" can not be cast to byte array". I'm putting the protobuf serialized message that should be a byte array. What's wrong? Thanks, F.D.

Re: Replicated cache in C++

2022-06-23 Thread F.D.
can be tuned in required on per-cache basis. > > > On 2022/06/21 11:46:19 "F.D." wrote: > > Hi Igniters, > > I'd like to create a new replicated cache using C++. I suppose I'll > have to > > use a cache template, but it's not clear, for me, how to set the name of > > the template... for example the meaning of '*'. > > > > Thanks, > > F.D. > > >

Replicated cache in C++

2022-06-21 Thread F.D.
Hi Igniters, I'd like to create a new replicated cache using C++. I suppose I'll have to use a cache template, but it's not clear, for me, how to set the name of the template... for example the meaning of '*'. Thanks, F.D.