[jira] [Created] (IGNITE-3952) IgniteSpringBean.reentrantLock() method incorrectly flips create and fair flags when calling kernel delegate.

2016-09-21 Thread Edward Kaganovich (JIRA)
Edward Kaganovich created IGNITE-3952:
-

 Summary: IgniteSpringBean.reentrantLock() method incorrectly flips 
create and fair flags when calling kernel delegate.
 Key: IGNITE-3952
 URL: https://issues.apache.org/jira/browse/IGNITE-3952
 Project: Ignite
  Issue Type: Bug
  Components: data structures
Affects Versions: 1.7
Reporter: Edward Kaganovich


{code:title=IgniteSpringBean.java|borderStyle=solid}{code}
@Nullable @Override public IgniteLock reentrantLock(String name,
boolean failoverSafe,{color:green}boolean fair, boolean create {color}) 
 {

   checkIgnite();
   return g.reentrantLock(name, failoverSafe, {color:red}create, 
fair{color});
}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (IGNITE-3951) IgniteSpringBean.reentrantLock() method incorrectly flips create and fair flags when calling kernel delegate.

2016-09-21 Thread Edward Kaganovich (JIRA)
Edward Kaganovich created IGNITE-3951:
-

 Summary: IgniteSpringBean.reentrantLock() method incorrectly flips 
create and fair flags when calling kernel delegate.
 Key: IGNITE-3951
 URL: https://issues.apache.org/jira/browse/IGNITE-3951
 Project: Ignite
  Issue Type: Bug
  Components: data structures
Affects Versions: 1.7
Reporter: Edward Kaganovich


{code:title=IgniteSpringBean.java|borderStyle=solid}{code}
@Nullable @Override public IgniteLock reentrantLock(String name,
boolean failoverSafe,{color:green}boolean fair, boolean create {color}) 
 {

   checkIgnite();
   return g.reentrantLock(name, failoverSafe, {color:red}create, 
fair{color});
}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] ignite pull request #1099: IGNITE-3876: Added null-pointer checks and tests.

2016-09-21 Thread isapego
GitHub user isapego opened a pull request:

https://github.com/apache/ignite/pull/1099

IGNITE-3876: Added null-pointer checks and tests.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-3876

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/1099.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1099


commit aecdbc0c87095acc9947e7826e33f55a0b15fe07
Author: isapego 
Date:   2016-09-20T17:42:11Z

IGNITE-3876: Added robustness tests.

commit e3a85ab59a60a93682ba87d16211d7a5fe1e38d7
Author: isapego 
Date:   2016-09-21T17:36:00Z

IGNITE-3876: More tests and fixes.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] ignite pull request #1098: Ignite 3943

2016-09-21 Thread iveselovskiy
GitHub user iveselovskiy opened a pull request:

https://github.com/apache/ignite/pull/1098

Ignite 3943



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-3943

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/1098.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1098


commit 2fe0272ba5f2c9003ab57844ba730a384bb67ca1
Author: vozerov-gridgain 
Date:   2016-09-16T09:55:00Z

IGNITE-3912: Preliminary changes.

commit 64b0094533f7ea85d1fa37794165a94b4ef27d2d
Author: iveselovskiy 
Date:   2016-09-16T13:52:17Z

IGNITE-3914: refactored HadoopClassLoader : extracted hadoop-specific logic 
into separate processor.

commit a6c837d78cf7a21e7ffea40b1a55ae502caa63f5
Author: iveselovskiy 
Date:   2016-09-16T13:54:16Z

IGNITE-3914: moved Hadop class loader

commit d68d0add5e353f6f0cd1ed004f441a995e87a6f1
Author: iveselovskiy 
Date:   2016-09-16T13:58:37Z

Revert "IGNITE-3914: moved Hadop class loader"

This reverts commit a6c837d78cf7a21e7ffea40b1a55ae502caa63f5.

commit cb5f9ec61b97dc939c06569a217d4c0c9ab9a441
Author: iveselovskiy 
Date:   2016-09-16T13:58:59Z

Revert "IGNITE-3914: refactored HadoopClassLoader : extracted 
hadoop-specific logic into separate processor."

This reverts commit 64b0094533f7ea85d1fa37794165a94b4ef27d2d.

commit 857cdcde65f1885ee032a1a85462818c585dfa82
Author: vozerov-gridgain 
Date:   2016-09-19T10:26:23Z

IGNITE-3916: Created separate module.

commit cb304b14508011c9a3f3ba73d4a8ae3d51bd9045
Author: vozerov-gridgain 
Date:   2016-09-20T07:55:22Z

IGNITE-3914: Introduced HadoopHelper.

commit 41de3ab575a8bfbea07fa661beac1d6e7735ea3b
Author: vozerov-gridgain 
Date:   2016-09-20T12:54:48Z

IGNITE-3918: Moved public classes from "ignite-hadoop-impl" to 
"ignite-hadoop" module.

commit 60c96ef3cbe34f39ced034e05dc94317c752f3ac
Author: vozerov-gridgain 
Date:   2016-09-20T14:38:32Z

IGNITE-3929: New native libraries loading mechanism. This closes #1089.

commit 0f7ccb3d064cfa9be3cbd18bfa8bc74c32af52f0
Author: vozerov-gridgain 
Date:   2016-09-20T15:06:39Z

IGNITE-3941: Introduced common HadoopClassLoader. This closes #1091.

commit 4c19c30ba1fb993d5815dee3f3e72bd79608ca39
Author: iveselovskiy 
Date:   2016-09-20T18:00:11Z

removed main & HADOOP_EDITION

commit 46ac52fabd2655c8c2c4a9db9ad703b5dad5fb02
Author: iveselovskiy 
Date:   2016-09-20T18:30:32Z

added ignite-hadoop-impl to CL classpath

commit b49fe400b5f299d1db09a6467637e00ce1ae29ac
Author: vozerov-gridgain 
Date:   2016-09-21T10:31:05Z

Decoupled counter writer.

commit be10c8c5119612d0b5b296454308d41a0ff8275d
Author: vozerov-gridgain 
Date:   2016-09-21T10:52:42Z

Moved common internal classes into separate package.

commit a4c1d1cca502777598cc46e10b3ebfa80d7fe532
Author: vozerov-gridgain 
Date:   2016-09-21T10:56:03Z

Moving test classes around.

commit c14193189ae7b816c7c9950762dfd52109a9dd7d
Author: vozerov-gridgain 
Date:   2016-09-21T11:01:56Z

Moving test classes around.

commit 67b4da70c76035ad8298d712847a95dd9ae22846
Author: vozerov-gridgain 
Date:   2016-09-21T11:19:16Z

Moving classes around.

commit 3d3d9f5c1ef5e543d984da0da362c6acdd86a588
Author: vozerov-gridgain 
Date:   2016-09-21T11:37:07Z

Fixing compilation issues.

commit 0b3b32964ae507692b9a4643f576dffc4115313c
Author: vozerov-gridgain 
Date:   2016-09-21T11:42:22Z

Fixing compilation issues.

commit 7d97f3d416c1b9abf3cc1555cd80673929437768
Author: vozerov-gridgain 
Date:   2016-09-21T11:45:21Z

WIP.

commit 8ae209727ac90ba5afba6a8dcbebb94467d67818
Author: vozerov-gridgain 
Date:   2016-09-21T11:48:54Z

Removed unnecessary methods from Helper.

commit 99cb18bbfd4c17d5c220df5e9d9f3857283a1f9d
Author: vozerov-gridgain 
Date:   2016-09-21T11:57:57Z

Hadoop processor is always created w/ HadoopClassLoader.

commit 2b6c36ebae2a1f5afd54fe34e9f37aed6744dc2a
Author: vozerov-gridgain 
Date:   2016-09-21T12:09:13Z

Proper Hadoop secondary file system initialization.

commit 2281181509eb44dbc4374f5e9bf4457c0df64b87
Author: vozerov-gridgain 
Date:   2016-09-21T12:20:10Z

Further compilation fixes.

commit 2d5649aa54e83045d5a493905bfc2dfbe81fd8f7
Author: vozerov-gridgain 
Date:   2016-09-21T12:20:46Z

Fixed processor class name.

commit bcbfa8e92e754e29441f1c120c2aaf6c1d6134f8
Author: vozerov-gridgain 
Date:   2016-09-21T13:45:42Z

WIP.

commit b91b2b6b112ec9f5652ed94252f500753571fe5c
Author: vozerov-gridgain 
Date:   2016-09-21T13:46:24Z

Moved counters to hadoop module.

commit 4156c681421feb23efd16dd5f55c14e64328
Author: vozerov-gridgain 
Date:   2016-09-21T13:47:39Z

WIP.

commit 39095f6dd1e5bd866c174e405a0e778eaae53ae3
Author: vozerov-gridgain 
Date:   2016-09-21T13:47:46Z

Fixed proc

[jira] [Created] (IGNITE-3950) Deadlock when exchange happens with pending explicit lock

2016-09-21 Thread Ilya Lantukh (JIRA)
Ilya Lantukh created IGNITE-3950:


 Summary: Deadlock when exchange happens with pending explicit lock
 Key: IGNITE-3950
 URL: https://issues.apache.org/jira/browse/IGNITE-3950
 Project: Ignite
  Issue Type: Bug
Reporter: Ilya Lantukh


Reproduced by IgniteCacheMultiLockSelfTest#testExplicitLockManyKeysWithClient 
(hangs with ~10% probability).

Exchange worker waits for lock to be released:
{noformat}
Thread [name="exchange-worker-#155%dht.IgniteCacheMultiTxLockSelfTest3%", 
id=195, state=TIMED_WAITING, blockCnt=0, waitCnt=44]
Lock 
[object=o.a.i.i.processors.cache.GridCacheMvccManager$FinishLockFuture@2638011, 
ownerName=null, ownerId=-1]
at sun.misc.Unsafe.park(Native Method)
at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
at 
o.a.i.i.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:187)
at o.a.i.i.util.future.GridFutureAdapter.get(GridFutureAdapter.java:137)
at 
o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.waitPartitionRelease(GridDhtPartitionsExchangeFuture.java:835)
at 
o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:763)
at 
o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:516)
at 
o.a.i.i.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1464)
at o.a.i.i.util.worker.GridWorker.run(GridWorker.java:110)
at java.lang.Thread.run(Thread.java:745)
{noformat}
while thread that holds lock cannot finish cache operation:
{noformat}
"Thread-9@3645" prio=5 tid=0x11a nid=NA waiting
  java.lang.Thread.State: WAITING
  at sun.misc.Unsafe.park(Unsafe.java:-1)
  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
  at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
  at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:967)
  at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1283)
  at 
org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:157)
  at 
org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:117)
  at 
org.apache.ignite.internal.processors.cache.GridCacheAdapter$45.inOp(GridCacheAdapter.java:2849)
  at 
org.apache.ignite.internal.processors.cache.GridCacheAdapter$SyncInOp.op(GridCacheAdapter.java:5303)
  at 
org.apache.ignite.internal.processors.cache.GridCacheAdapter.syncOp(GridCacheAdapter.java:4351)
  at 
org.apache.ignite.internal.processors.cache.GridCacheAdapter.putAll(GridCacheAdapter.java:2847)
  at 
org.apache.ignite.internal.processors.cache.GridCacheProxyImpl.putAll(GridCacheProxyImpl.java:838)
  at 
org.apache.ignite.internal.processors.cache.distributed.dht.IgniteCacheMultiTxLockSelfTest$1.run(IgniteCacheMultiTxLockSelfTest.java:218)
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] ignite pull request #1097: Ignite 3949

2016-09-21 Thread devozerov
GitHub user devozerov opened a pull request:

https://github.com/apache/ignite/pull/1097

Ignite 3949



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-3949

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/1097.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1097


commit 2fe0272ba5f2c9003ab57844ba730a384bb67ca1
Author: vozerov-gridgain 
Date:   2016-09-16T09:55:00Z

IGNITE-3912: Preliminary changes.

commit 64b0094533f7ea85d1fa37794165a94b4ef27d2d
Author: iveselovskiy 
Date:   2016-09-16T13:52:17Z

IGNITE-3914: refactored HadoopClassLoader : extracted hadoop-specific logic 
into separate processor.

commit a6c837d78cf7a21e7ffea40b1a55ae502caa63f5
Author: iveselovskiy 
Date:   2016-09-16T13:54:16Z

IGNITE-3914: moved Hadop class loader

commit d68d0add5e353f6f0cd1ed004f441a995e87a6f1
Author: iveselovskiy 
Date:   2016-09-16T13:58:37Z

Revert "IGNITE-3914: moved Hadop class loader"

This reverts commit a6c837d78cf7a21e7ffea40b1a55ae502caa63f5.

commit cb5f9ec61b97dc939c06569a217d4c0c9ab9a441
Author: iveselovskiy 
Date:   2016-09-16T13:58:59Z

Revert "IGNITE-3914: refactored HadoopClassLoader : extracted 
hadoop-specific logic into separate processor."

This reverts commit 64b0094533f7ea85d1fa37794165a94b4ef27d2d.

commit 857cdcde65f1885ee032a1a85462818c585dfa82
Author: vozerov-gridgain 
Date:   2016-09-19T10:26:23Z

IGNITE-3916: Created separate module.

commit cb304b14508011c9a3f3ba73d4a8ae3d51bd9045
Author: vozerov-gridgain 
Date:   2016-09-20T07:55:22Z

IGNITE-3914: Introduced HadoopHelper.

commit 41de3ab575a8bfbea07fa661beac1d6e7735ea3b
Author: vozerov-gridgain 
Date:   2016-09-20T12:54:48Z

IGNITE-3918: Moved public classes from "ignite-hadoop-impl" to 
"ignite-hadoop" module.

commit 60c96ef3cbe34f39ced034e05dc94317c752f3ac
Author: vozerov-gridgain 
Date:   2016-09-20T14:38:32Z

IGNITE-3929: New native libraries loading mechanism. This closes #1089.

commit 0f7ccb3d064cfa9be3cbd18bfa8bc74c32af52f0
Author: vozerov-gridgain 
Date:   2016-09-20T15:06:39Z

IGNITE-3941: Introduced common HadoopClassLoader. This closes #1091.

commit b49fe400b5f299d1db09a6467637e00ce1ae29ac
Author: vozerov-gridgain 
Date:   2016-09-21T10:31:05Z

Decoupled counter writer.

commit be10c8c5119612d0b5b296454308d41a0ff8275d
Author: vozerov-gridgain 
Date:   2016-09-21T10:52:42Z

Moved common internal classes into separate package.

commit a4c1d1cca502777598cc46e10b3ebfa80d7fe532
Author: vozerov-gridgain 
Date:   2016-09-21T10:56:03Z

Moving test classes around.

commit c14193189ae7b816c7c9950762dfd52109a9dd7d
Author: vozerov-gridgain 
Date:   2016-09-21T11:01:56Z

Moving test classes around.

commit 67b4da70c76035ad8298d712847a95dd9ae22846
Author: vozerov-gridgain 
Date:   2016-09-21T11:19:16Z

Moving classes around.

commit 3d3d9f5c1ef5e543d984da0da362c6acdd86a588
Author: vozerov-gridgain 
Date:   2016-09-21T11:37:07Z

Fixing compilation issues.

commit 0b3b32964ae507692b9a4643f576dffc4115313c
Author: vozerov-gridgain 
Date:   2016-09-21T11:42:22Z

Fixing compilation issues.

commit 7d97f3d416c1b9abf3cc1555cd80673929437768
Author: vozerov-gridgain 
Date:   2016-09-21T11:45:21Z

WIP.

commit 8ae209727ac90ba5afba6a8dcbebb94467d67818
Author: vozerov-gridgain 
Date:   2016-09-21T11:48:54Z

Removed unnecessary methods from Helper.

commit 99cb18bbfd4c17d5c220df5e9d9f3857283a1f9d
Author: vozerov-gridgain 
Date:   2016-09-21T11:57:57Z

Hadoop processor is always created w/ HadoopClassLoader.

commit 2b6c36ebae2a1f5afd54fe34e9f37aed6744dc2a
Author: vozerov-gridgain 
Date:   2016-09-21T12:09:13Z

Proper Hadoop secondary file system initialization.

commit 2281181509eb44dbc4374f5e9bf4457c0df64b87
Author: vozerov-gridgain 
Date:   2016-09-21T12:20:10Z

Further compilation fixes.

commit 2d5649aa54e83045d5a493905bfc2dfbe81fd8f7
Author: vozerov-gridgain 
Date:   2016-09-21T12:20:46Z

Fixed processor class name.

commit bcbfa8e92e754e29441f1c120c2aaf6c1d6134f8
Author: vozerov-gridgain 
Date:   2016-09-21T13:45:42Z

WIP.

commit b91b2b6b112ec9f5652ed94252f500753571fe5c
Author: vozerov-gridgain 
Date:   2016-09-21T13:46:24Z

Moved counters to hadoop module.

commit 4156c681421feb23efd16dd5f55c14e64328
Author: vozerov-gridgain 
Date:   2016-09-21T13:47:39Z

WIP.

commit 39095f6dd1e5bd866c174e405a0e778eaae53ae3
Author: vozerov-gridgain 
Date:   2016-09-21T13:47:46Z

Fixed processor class name.

commit facedf50d5617f524f80c44ead44c577febd8607
Author: vozerov-gridgain 
Date:   2016-09-21T14:06:10Z

WIP.

commit 79b3eff1b64e96b544b0c1549eff273e17f6724a
Author: vozerov-gridgain 
Date:   2016-09-21T14:10:14Z

Preparing big move.

commit 8607846015874ed

[GitHub] ignite pull request #1096: IGNITE-2698: Using CacheKeyConfiguration with Jdk...

2016-09-21 Thread amartianov
GitHub user amartianov opened a pull request:

https://github.com/apache/ignite/pull/1096

IGNITE-2698: Using CacheKeyConfiguration with Jdk/Optimized marshallers

+ tests on CacheKeyConfigurations.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-2698

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/1096.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1096


commit 2d12b6b301266133634583c7fb313d6df3b5fb23
Author: Andrey Martianov 
Date:   2016-09-21T12:08:46Z

IGNITE-2698: Using CacheKeyConfiguration with Jdk/Optimized marshallers




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (IGNITE-3949) Hadoop: change class loading strategy: exclude only classes with direct Hadoop dependencies.

2016-09-21 Thread Vladimir Ozerov (JIRA)
Vladimir Ozerov created IGNITE-3949:
---

 Summary: Hadoop: change class loading strategy: exclude only 
classes with direct Hadoop dependencies.
 Key: IGNITE-3949
 URL: https://issues.apache.org/jira/browse/IGNITE-3949
 Project: Ignite
  Issue Type: Sub-task
  Components: hadoop
Affects Versions: 1.7
Reporter: Vladimir Ozerov
Assignee: Vladimir Ozerov
 Fix For: 1.8






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (IGNITE-3948) TTL manager continues to track evicted entries

2016-09-21 Thread Andrey Gura (JIRA)
Andrey Gura created IGNITE-3948:
---

 Summary: TTL manager continues to track evicted entries
 Key: IGNITE-3948
 URL: https://issues.apache.org/jira/browse/IGNITE-3948
 Project: Ignite
  Issue Type: Bug
Affects Versions: 1.7
Reporter: Andrey Gura


Cache uses only heap memory and has eviction and expiry policies. During 
loading data into cache TTL manager consumes heap memory even if entries were 
evicted because it still track this entries. 

It's ok in case of offheap memory or/and swap are enabled but doesn't make 
sense in case of using only heap memory.

See also 
http://stackoverflow.com/questions/39447690/apache-ignite-cache-eviction-still-in-memory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)