how to do i hibernate configuration for Apache ignite database

2018-10-26 Thread Malashree
how to do i hibernate configuration for Apache ignite database using maven
application



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: CPU Count Drop On ECS

2018-10-26 Thread Dave Harvey
Reverting the AWS AMI did not revert the ECS agent version.

On Fri, Oct 26, 2018 at 6:11 PM Dave Harvey  wrote:

> I was running a 8x i3.8xlarge cluster on AWS ECS, and it would normally 
> display
>
> ^-- H/N/C [hosts=8, nodes=8, CPUs=256]
>
>
> Then I recreated it and got this, and problems like I can no longer start 
> visor.
>
> ^-- H/N/C [hosts=8, nodes=8, CPUs=8]
>
>
> Our ECS task specifies CPU=0 -> 1 share.   I'm reverting the AMI to an older 
> version, but expect that the following was the trigger:
>
>
> https://github.com/aws/amazon-ecs-agent/pull/1480
>
>
>

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast Ltd, an innovator in Software as a Service 
(SaaS) for business. Providing a safer and more useful place for your human 
generated data. Specializing in; Security, archiving and compliance. To find 
out more visit the Mimecast website.


CPU Count Drop On ECS

2018-10-26 Thread Dave Harvey
I was running a 8x i3.8xlarge cluster on AWS ECS, and it would normally display

^-- H/N/C [hosts=8, nodes=8, CPUs=256]


Then I recreated it and got this, and problems like I can no longer start visor.

^-- H/N/C [hosts=8, nodes=8, CPUs=8]


Our ECS task specifies CPU=0 -> 1 share.   I'm reverting the AMI to an
older version, but expect that the following was the trigger:


https://github.com/aws/amazon-ecs-agent/pull/1480

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast Ltd, an innovator in Software as a Service 
(SaaS) for business. Providing a safer and more useful place for your human 
generated data. Specializing in; Security, archiving and compliance. To find 
out more visit the Mimecast website.


Re: Question about baseline topology.

2018-10-26 Thread aealexsandrov
Hi,

Do you set backups in your cache configuration? By default in case if you
have 2 data nodes without backups then you can face data loss when some of
your nodes will go down. In this case, you may see not all data.

But when this node will start (with persistence) and join to topology then
data from it will be available again (after rebalance).

Also, you could read about:

https://apacheignite.readme.io/docs/partition-loss-policies

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Question about baseline topology.

2018-10-26 Thread yangjiajun
Hi,I'm puzzled after testing baseline topology.

Here is my experiment:
1.Start a node A with persistence enabled and use it as a database.
2.Add data to a table with replicated template.
3.Start node B to join A.
4.Add B to baseline.
5.Count data from node B by jdbc.The result is correct.
6.Shut down node A.
7.Count data from node B by jdbc again.The result is incorrect.Actually is
0.

My question is:
According to my understanding of baseline topology,node B should sync data
from node A.Is my understanding correct?What's wrong with my experiment.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Cache Metrics

2018-10-26 Thread akurbanov
Hello,

This doesn't sound well, could you give a bit more detail on this case? How
many entries did you load (what are the counts), which Ignite version do you
use, and if possible a minimalistic reproducing snippet for this issue.

Also, .getSize() is deprecated now, are you able to use .getCacheSize()
instead and check if it returns correct value?

Regards,
Anton



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Cache Metrics

2018-10-26 Thread Akash Shinde
Hi,
 I have captured below two ignite cache metrics.

1) igniteCache.metrics().getSize()
2)igniteCache  .metrics().getOffHeapEntriesCount()

I started three nodes with distrusted load.
When I started filling the cache I observed OffHeapEntries counts are
approximately double
of cache size.

Why offHeapEntries count are approximately double?
Is offHeapEntries includes primary count plus backup counts?

Thanks,
Akash


Re: Client node get stuck when reconnecting to cluster

2018-10-26 Thread oshevchenko
Anton,
Thanks a lot for your reply. It helped me to identify the issue



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Client node get stuck when reconnecting to cluster

2018-10-26 Thread oshevchenko
Anton,

Thanks a lot for you reply. It helped me to identified problem



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: npe: Failed to reinitialize local partition

2018-10-26 Thread Ilya Kasnacheev
Hello!

Sorry, I was looking at file in a wrong location. Now I can see your test.
I have ran it on master and the result is:


- wait for client reconnect
persisted backups ->1
inmemory backups ->2

If this is the correct result, I think you should expect the correct
behaviour in 2.7 release.

Regards,
-- 
Ilya Kasnacheev


чт, 25 окт. 2018 г. в 19:32, Ilya Kasnacheev :

> Hello!
>
> What is the cache template here, and where is it defined?
>
> I don't see any changes to the test. Can you modify it so that it will
> display your case?
>
> Regard,
> --
> Ilya Kasnacheev
>
>
> чт, 25 окт. 2018 г. в 5:31, wangsan :
>
>> IgniteTwoRegionsRebuildIndexTest.java
>> <
>> http://apache-ignite-users.70518.x6.nabble.com/file/t1807/IgniteTwoRegionsRebuildIndexTest.java>
>>
>>
>>
>> The file is the test case.
>> I use getOrCreateCache with name. But the cache template I have beed
>> defined
>> before.When reconnect ,It looks like the cache template not work.
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>
>


Re: Inserting data into Ignite thread is hung

2018-10-26 Thread praveeng
Hi,

We are getting this issue in production continuously.
I am attaching the thread dumps of my services (ignite client
-threaddump14168.txt file  and ignite servers- 3 files ).
can any one please analyze and suggest once how to fix this issue.

threaddump14168.txt
 
 
CAI.7z   

Thanks,
Praveen



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/