[jira] [Created] (IGNITE-2973) CacheInterceptor gets mixed user and binary objects in case of 'withKeepBinary' cache and EntryProcessor which sets user object as a value

2016-04-11 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2973:


 Summary: CacheInterceptor gets mixed user and binary objects in 
case of 'withKeepBinary' cache and EntryProcessor which sets user object as a 
value
 Key: IGNITE-2973
 URL: https://issues.apache.org/jira/browse/IGNITE-2973
 Project: Ignite
  Issue Type: Bug
Affects Versions: 1.5.0.final
Reporter: Artem Shutak


Methods of {{CacheInterceptor}} gets mixed user and binary objects as params in 
case of {{withKeepBinary}} cache and if {{EntryProcessor}} sets user object as 
a value.

{{Cache.withKeepBinary().invoke(..)}} and {{EntryProcessor}} which sets user 
object as value (not {{BinaryObject}}). Then method 
{{Interceptor.onBeforePut(Entry e, Object newVal)}} gets {{e.getKey()}} and 
{{e.getValue()}} as {{BinaryObject}}, {{newVal}} as userObject (for ATOMIC 
cache) or {{BinaryObject}} (for TRANSACTIONAL cache), but 
{{Interceptor.onAfterPut(Entry e)}} gets {{e.getKey()}} as {{BinaryObject}} and 
{{e.getValue}} as user object sometimes, but should be {{BinaryObject}}. The 
issue can be reproduced only with Atomic cache.
I think it a little bit tricky to use such inconsistent API and not obvious for 
user where they can get {{BinaryObject}} and where user object.

The same issue can be reproduces for {{invokeAll()}}.

Tests on these cases can be found at {{InterceptorWithKeepBinaryCacheTest}}.



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


[jira] [Created] (IGNITE-2971) Assertion error inside OPTIMISTIC SERIALIZABLE tx on 'get'

2016-04-11 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2971:


 Summary: Assertion error inside OPTIMISTIC SERIALIZABLE tx on 'get'
 Key: IGNITE-2971
 URL: https://issues.apache.org/jira/browse/IGNITE-2971
 Project: Ignite
  Issue Type: Bug
Affects Versions: 1.5.0.final
Reporter: Artem Shutak
 Fix For: 1.6


The following code leads to assertion below:
{code}
final IgniteCache cache = jcache().withKeepBinary();

Set keys = new LinkedHashSet() {{
for (int i = 0; i < CNT; i++)
add(key(i));
}};

try (Transaction tx = testedGrid().transactions().txStart(conc, 
isolation)) {
for (final Object key : keys) {
Object res = cache.invoke(key, NOOP_ENTRY_PROC);

assertNull(res);

assertNull(cache.get(key));
}

tx.commit();
}
{code}

Assertion:
{noformat}
java.lang.AssertionError: Wrong version [serReadVer=GridCacheVersion 
[topVer=71859233, time=1460379235380, order=1460379231642, nodeOrder=5], 
ver=GridCacheVersion [topVer=71859233, time=1460379235380, order=1460379231642, 
nodeOrder=5]]
at 
org.apache.ignite.internal.processors.cache.transactions.IgniteTxEntry.entryReadVersion(IgniteTxEntry.java:936)
at 
org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter$3.apply(IgniteTxLocalAdapter.java:1750)
at 
org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter$3.apply(IgniteTxLocalAdapter.java:1698)
at 
org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.processLoaded(GridNearTxLocal.java:485)
at 
org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.access$100(GridNearTxLocal.java:84)
at 
org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal$2.apply(GridNearTxLocal.java:380)
at 
org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal$2.apply(GridNearTxLocal.java:375)
at 
org.apache.ignite.internal.util.future.GridFutureChainListener.apply(GridFutureChainListener.java:54)
at 
org.apache.ignite.internal.util.future.GridFutureChainListener.apply(GridFutureChainListener.java:28)
at 
org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:263)
at 
org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListeners(GridFutureAdapter.java:251)
at 
org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:381)
at 
org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:347)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.onDone(GridPartitionedSingleGetFuture.java:727)
at 
org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:324)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.setResult(GridPartitionedSingleGetFuture.java:634)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.onResult(GridPartitionedSingleGetFuture.java:478)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.processNearSingleGetResponse(GridDhtCacheAdapter.java:154)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.colocated.GridDhtColocatedCache.access$100(GridDhtColocatedCache.java:85)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.colocated.GridDhtColocatedCache$3.apply(GridDhtColocatedCache.java:149)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.colocated.GridDhtColocatedCache$3.apply(GridDhtColocatedCache.java:147)
at 
org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:622)
at 
org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:320)
at 
org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:244)
at 
org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:81)
at 
org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:203)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1219)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:847)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:105)
at 

[jira] [Created] (IGNITE-2959) Ignite JTA and WebSphere Application Server 8.5.5

2016-04-06 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2959:


 Summary: Ignite JTA and WebSphere Application Server 8.5.5
 Key: IGNITE-2959
 URL: https://issues.apache.org/jira/browse/IGNITE-2959
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak


Need to support of working Ignite transactions inside WebSphere Application 
Server (8.5.5).

The issue only about poor WS AS.

To enable JTA on WS Liberty it is enough to do the following.
1. add the following class in own libs:
{code}
public class WebSphereTmFactory implements Factory {
/** {@inheritDoc} */
@Override public TransactionManager create() {
return com.ibm.tx.jta.TransactionManagerFactory.getTransactionManager();
}
}
{code}

2. It's required the following maven dependencies:


com.ibm.websphere.appserver.api
com.ibm.websphere.appserver.api.transaction
1.1.10


3. And Ignite's TransactionConfiguration has to be properly configured with 
WebSphereTmFactory:
{code}
TransactionConfiguration tcfg = new TransactionConfiguration();

TransactionConfiguration.setTxManagerFactory(new WebSphereTmFactory());

igniteCfg.setTransactionConfiguration(tcfg)
{code}



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


[jira] [Created] (IGNITE-2958) Ignite Schema Import has to use full class names in fields map.

2016-04-06 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2958:


 Summary: Ignite Schema Import has to use full class names in 
fields map.
 Key: IGNITE-2958
 URL: https://issues.apache.org/jira/browse/IGNITE-2958
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak


The issue based on the user thread: 
http://apache-ignite-users.70518.x6.nabble.com/Unexpected-SQL-error-when-running-sql-with-conditions-td3899.html.

{{CodeGenerator}} cuts of "java.lang" package for basic types. As a result SQL 
cannot understand a type of objects and queries like {{where id > 100}} failed 
with an exception like below
{noformat}
[17:31:32,325][ERROR][sys-#89%jdbc2.MineJdbcPreparedStatementSelfTest0%][GridMapQueryExecutor]
 Failed to send error message.
class org.apache.ignite.IgniteCheckedException: Failed to send message (node 
may have left the grid or TCP connection cannot be established due to firewall 
issues) [node=TcpDiscoveryNode [id=7a2ff77c-652c-4be6-b855-d1fdd53698e3, 
addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:0], discPort=0, order=4, intOrder=4, 
lastExchangeTime=1459953091890, loc=false, ver=1.6.0#19700101-sha1:, 
isClient=true], topic=TOPIC_QUERY, msg=GridQueryFailResponse [qryReqId=1, 
errMsg=class org.apache.ignite.IgniteCheckedException:Failed to execute SQL 
query.], policy=2]
at 
org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1290)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1354)
at 
org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.sendError(GridMapQueryExecutor.java:527)
at 
org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onQueryRequest(GridMapQueryExecutor.java:501)
at 
org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onMessage(GridMapQueryExecutor.java:184)
at 
org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor$2.onMessage(GridMapQueryExecutor.java:159)
at 
org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:2039)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1219)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:847)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:105)
at 
org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:810)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Suppressed: class org.apache.ignite.IgniteCheckedException: Failed to 
execute SQL query.
at 
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.executeSqlQuery(IgniteH2Indexing.java:832)
at 
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.executeSqlQueryWithTimer(IgniteH2Indexing.java:855)
at 
org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onQueryRequest(GridMapQueryExecutor.java:454)
... 10 more
Caused by: org.h2.jdbc.JdbcSQLException: Deserialization failed, cause: 
"class org.apache.ignite.binary.BinaryObjectException: Not enough data to read 
the value [position=1, requiredBytes=4, remainingBytes=0]"; SQL statement:
SELECT
ID __C0
FROM "".ACTIVITY
WHERE ID > 10 [90027-175]
at 
org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
at org.h2.message.DbException.get(DbException.java:161)
at org.h2.util.Utils.deserialize(Utils.java:413)
at 
org.h2.value.ValueJavaObject$NotSerialized.getObject(ValueJavaObject.java:162)
at 
org.h2.value.ValueJavaObject$NotSerialized.compareSecure(ValueJavaObject.java:102)
at org.h2.value.Value.compareTo(Value.java:921)
at org.h2.engine.Database.compare(Database.java:320)
at 
org.h2.expression.Comparison.compareNotNull(Comparison.java:283)
at org.h2.expression.Comparison.getValue(Comparison.java:254)
at 
org.h2.expression.Expression.getBooleanValue(Expression.java:180)
at org.h2.command.dml.Select.queryFlat(Select.java:529)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:632)
at org.h2.command.dml.Query.query(Query.java:297)
at org.h2.command.dml.Query.query(Query.java:284)
at org.h2.command.dml.Query.query(Query.java:36)
at 

[jira] [Created] (IGNITE-2953) tra marshalling and unmarshalling of invoke result with BinaryMarshaller

2016-04-06 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2953:


 Summary: tra marshalling and unmarshalling of invoke result with 
BinaryMarshaller
 Key: IGNITE-2953
 URL: https://issues.apache.org/jira/browse/IGNITE-2953
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak






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


[jira] [Created] (IGNITE-2848) Ignite OSGI exit code 1 on TC

2016-03-16 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2848:


 Summary: Ignite OSGI exit code 1 on TC
 Key: IGNITE-2848
 URL: https://issues.apache.org/jira/browse/IGNITE-2848
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak


http://204.14.53.153/viewLog.html?buildId=208978=buildResultsDiv=IgniteTests_IgniteOSGi

{noformat}
[09:20:59]Step 5/6: Build and run tests OSGi (Maven) (7m:17s)
[09:28:14][Step 5/6] org.apache.ignite:ignite-weblogic-test
[09:28:14][org.apache.ignite:ignite-weblogic-test] Failed to execute goal 
org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project 
ignite-weblogic-test: Failed to copy file for artifact 
[org.apache.ignite:ignite-core:jar:1.6.0-SNAPSHOT:compile]
[09:28:16][Step 5/6] Step Build and run tests OSGi (Maven) failed
{noformat}



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


[jira] [Created] (IGNITE-2733) Ignite should use actual AffinityTopologyVersion for LOCAL cache

2016-02-29 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2733:


 Summary: Ignite should use actual AffinityTopologyVersion for 
LOCAL cache
 Key: IGNITE-2733
 URL: https://issues.apache.org/jira/browse/IGNITE-2733
 Project: Ignite
  Issue Type: Task
Reporter: Artem Shutak


The issue created to properly fix IGNITE-2554. Also, current behavior can has 
another issues with dynamically started LOCAL cache.

Ignite does not store an affinity assignment history for local cache and always 
operate with {{AffinityTopologyVersion(1)}}. When cache starts dynamically, an 
information about dynamically started cache is available only for 
{{AffinityTopologyVersion(1, 1)}}, but Ignite does not store it. Proper fix 
should be:
#* There is no need to store all history for local cache (as Ignite do it now). 
So, we need just update the head topology version (see 
GridAffinityAssignmentCache.head field)
#* We must return right topology version at all project. See, for example, 
{{GridCacheAffinityManager}} and the following code
{code}
if (cctx.isLocal())
topVer = new AffinityTopologyVersion(1);
{code}



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


[jira] [Created] (IGNITE-2664) Cache.invokeAll() return a map with BinaryObjects instead of user objects.

2016-02-16 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2664:


 Summary: Cache.invokeAll() return a map with BinaryObjects instead 
of user objects.
 Key: IGNITE-2664
 URL: https://issues.apache.org/jira/browse/IGNITE-2664
 Project: Ignite
  Issue Type: Bug
Affects Versions: 1.5.0.final
Reporter: Artem Shutak
Assignee: Artem Shutak
 Fix For: 1.6


{{Cache.invokeAll()}} return a map with {{BinaryObjectImpl}} instead of user 
objects.

Cache.invoke() works fine.

I see a different behavior for Transactional and Atomic caches. But both of 
them return {{BinaryObjectImpl}} instead of user objects at keys/values of a 
result map.

It can be reproduced with 
CacheFullApiNewSelfTest.testInvokeAllOptimisticReadCommitted1() (and others).

Or use the following code example
{code}
public static void main(String[] args) throws Exception {
CacheConfiguration cc = new CacheConfiguration()
.setMemoryMode(CacheMemoryMode.ONHEAP_TIERED)
.setCacheMode(CacheMode.PARTITIONED)
.setAtomicityMode(CacheAtomicityMode.ATOMIC)
.setLoadPreviousValue(true)
.setSwapEnabled(true)
.setCacheStoreFactory(new 
CacheAbstractNewSelfTest.TestStoreFactory())

.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC)
.setAtomicWriteOrderMode(CacheAtomicWriteOrderMode.PRIMARY)
;

cc.setReadThrough(true);
cc.setWriteThrough(true);

try(Ignite ignite = Ignition.start(getConfiguration("1"));
Ignite ignite2 = Ignition.start(getConfiguration("2"));
Ignite ignite3 = Ignition.start(getConfiguration("3"));
Ignite ignite4 = Ignition.start(getConfiguration("4"))) {

System.out.println(ignite.configuration().getMarshaller());

IgniteCache cache = ignite.getOrCreateCache(cc);

// Await partition map exchange.
Thread.sleep(10_000);

CacheFullApiNewSelfTest.DataMode mode = 
CacheFullApiNewSelfTest.DataMode.SERIALIZABLE;

final TestObject key = key(1, mode);
final TestObject val = value(1, mode);

// InvokeAll
cache.put(key, val);

Map mapRes = 
cache.invokeAll(F.asSet(key), CacheFullApiNewSelfTest.RMV_PROCESSOR);

for (Map.Entry e : 
mapRes.entrySet()) {
TestObject eKey = e.getKey();

System.out.println(eKey);

if (!(eKey instanceof TestObject))
throw new IllegalStateException("key=" + eKey + ", class=" 
+ eKey.getClass());

TestObject eVal = e.getValue().get();

if (!(eVal instanceof TestObject))
throw new IllegalStateException("val=" + eVal + ", class=" 
+ eVal.getClass());
}
}
}

private static IgniteConfiguration getConfiguration(String s) {
TcpDiscoverySpi spi = new TcpDiscoverySpi();

TcpDiscoveryMulticastIpFinder finder = new 
TcpDiscoveryMulticastIpFinder();

finder.setAddresses(Collections.singleton("127.0.0.1:" + 
TcpDiscoverySpi.DFLT_PORT));

spi.setIpFinder(finder);

return new IgniteConfiguration()
.setPeerClassLoadingEnabled(true)
.setSwapSpaceSpi(new GridTestSwapSpaceSpi())
.setGridName(s)
.setDiscoverySpi(spi)
.setLocalHost("127.0.0.1")
;
}
{code}

I've investigated the issue and found the root cause. Ignite does not unwrap 
BinaryObject before get it to user. See {GridCacheReturn.finishUnmarshal()} and 
org/apache/ignite/internal/processors/cache/GridCacheReturn.java:332. We need 
to pass {{keepBinary}} flag at this place according to used cache.



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


[jira] [Created] (IGNITE-2650) Ignite should throw an exception on start of dynamic cache with swap if Ignite uses NoopSwapSpaceSpi

2016-02-15 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2650:


 Summary: Ignite should throw an exception on start of dynamic 
cache with swap if Ignite uses NoopSwapSpaceSpi
 Key: IGNITE-2650
 URL: https://issues.apache.org/jira/browse/IGNITE-2650
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak
 Fix For: 1.6


Ignite should throw an exception on start of dynamic cache with enabled swap if 
Ignite uses NoopSwapSpaceSpi.



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


[jira] [Created] (IGNITE-2521) Need to increase test coverage (support all configurations combinations)

2016-02-01 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2521:


 Summary: Need to increase test coverage (support all 
configurations combinations)
 Key: IGNITE-2521
 URL: https://issues.apache.org/jira/browse/IGNITE-2521
 Project: Ignite
  Issue Type: Task
Reporter: Artem Shutak
Assignee: Artem Shutak






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


[jira] [Created] (IGNITE-2506) A damon node with binary marshaller hangs on unmarshalling of a user class

2016-01-29 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2506:


 Summary: A damon node with binary marshaller hangs on 
unmarshalling of a user class
 Key: IGNITE-2506
 URL: https://issues.apache.org/jira/browse/IGNITE-2506
 Project: Ignite
  Issue Type: Bug
Affects Versions: 1.5.0.final
Reporter: Artem Shutak


A damon node with binary marshaller hangs on unmarshalling of a user class.

As a POC, {{IgniteDaemonNodeMarshallerCacheTest}} test hangs if 
{{GridTestProperties.setProperty(GridTestProperties.MARSH_CLASS_NAME, 
BinaryMarshaller.class.getName());}}.





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


[jira] [Created] (IGNITE-2395) Binary marshaller: id mapper must be resolved according to configuration.

2016-01-15 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2395:


 Summary: Binary marshaller: id mapper must be resolved according 
to configuration.
 Key: IGNITE-2395
 URL: https://issues.apache.org/jira/browse/IGNITE-2395
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak
Assignee: Artem Shutak
Priority: Critical
 Fix For: 1.6


The following scenario does not works
- start node with BinaryMarshaller and set BinaryConfiguration with not-default 
BinaryIdMapper (see BinarySimpleNameIdMapper)
- Execute the following code (it fails):
{code}
BinaryObjectBuilder builder = builder("org.my.Class");
BinaryObject bo = builder.build();
assertEquals("class".hashCode(), bo.type().typeId());
{code}



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


[jira] [Created] (IGNITE-2372) GridCacheAbstractDataStructuresFailoverSelfTest.testQueueConstant* fail sometimes

2016-01-13 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-2372:


 Summary: 
GridCacheAbstractDataStructuresFailoverSelfTest.testQueueConstant* fail 
sometimes
 Key: IGNITE-2372
 URL: https://issues.apache.org/jira/browse/IGNITE-2372
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak
Assignee: Denis Magda
 Fix For: 1.6


The following tests fail on TC sometimes:
- 
GridCachePartitionedDataStructuresFailoverSelfTest.testQueueConstantMultipleTopologyChange

- 
GridCachePartitionedOffheapDataStructuresFailoverSelfTest.testQueueConstantMultipleTopologyChange
 

TC build:
http://ci.ignite.apache.org/viewLog.html?buildId=95910=buildResultsDiv=IgniteTests_IgniteDataStrucutures

Test testQueueConstantMultipleTopologyChange failed on my laptop too.





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


[jira] [Created] (IGNITE-1823) Peer class loading can produce ClassCastException with DeploymentMode.SHARED (default)

2015-10-30 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1823:


 Summary: Peer class loading can produce ClassCastException with 
DeploymentMode.SHARED (default)
 Key: IGNITE-1823
 URL: https://issues.apache.org/jira/browse/IGNITE-1823
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak


Peer class loading can produce ClassCastException with DeploymentMode.SHARED 
(default).

Steps to reproduce.
- Build Ignite under java 7. 
- Run ignite.sh with default configuration and enabled peer class loading under 
Java 8
- Run Test class under java8
- Run Test class under java8 again. On second run you will get 
ClassCastException.

Looks like the issue is Ignite use different classloaders for first and second 
run of Test (Task class deployed and undeployed each time).

{noformat}
[19:56:03,013][SEVERE][ignite-#18%sys-null%][GridTaskWorker] Failed to obtain 
remote job result policy for result from ComputeTask.result(..) method (will 
fail the whole task): GridJobResultImpl [job=C2 [], sib=GridJobSiblingImpl 
[sesId=37a6da9b051-7d576228-e0e4-492c-a325-35ce4fc40ea0, 
jobId=47a6da9b051-cadb35ba-9bc8-4f05-b9ce-03344883743f, 
nodeId=cadb35ba-9bc8-4f05-b9ce-03344883743f, isJobDone=false], 
jobCtx=GridJobContextImpl 
[jobId=47a6da9b051-cadb35ba-9bc8-4f05-b9ce-03344883743f, timeoutObj=null, 
attrs={}], node=TcpDiscoveryNode [id=cadb35ba-9bc8-4f05-b9ce-03344883743f, 
addrs=[0:0:0:0:0:0:0:1%lo, 127.0.0.1, 192.168.1.159], 
sockAddrs=[/192.168.1.159:47500, /0:0:0:0:0:0:0:1%lo:47500, /127.0.0.1:47500, 
/192.168.1.159:47500], discPort=47500, order=1, intOrder=1, 
lastExchangeTime=1446224162137, loc=false, ver=1.5.0#20151029-sha1:91059ba8, 
isClient=false], ex=class o.a.i.IgniteException: mypackage.Task cannot be cast 
to mypackage.Task, hasRes=true, isCancelled=false, isOccupied=true]
class org.apache.ignite.IgniteException: Remote job threw user exception 
(override or implement ComputeTask.result(..) method if you would like to have 
automatic failover for this exception).
at 
org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:101)
at 
org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:903)
at 
org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:896)
at 
org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6403)
at 
org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:896)
at 
org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:792)
at 
org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:995)
at 
org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1219)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:811)
at 
org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:106)
at 
org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:774)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.IgniteException: mypackage.Task cannot be 
cast to mypackage.Task
at 
org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.execute(GridClosureProcessor.java:1792)
at 
org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:509)
at 
org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6371)
at 
org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:503)
at 
org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:456)
at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
at 
org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1166)
at 
org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1776)
... 6 more
Caused by: java.lang.ClassCastException: mypackage.Task cannot be cast to 
mypackage.Task
at mypackage.Test.lambda$main$cea8297e$1(Test.java:40)
at 
org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.execute(GridClosureProcessor.java:1789)
... 13 more
[19:56:03] Ignite node stopped OK [uptime=00:00:00:371]
Exception in thread "main" class org.apache.ignite.IgniteException: 
mypackage.Task cannot be cast to mypackage.Task
at 

[jira] [Created] (IGNITE-1800) Annotation MBeanServerResource should be deleted as unsupported.

2015-10-28 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1800:


 Summary: Annotation MBeanServerResource should be deleted as 
unsupported.
 Key: IGNITE-1800
 URL: https://issues.apache.org/jira/browse/IGNITE-1800
 Project: Ignite
  Issue Type: Task
Affects Versions: ignite-1.4
Reporter: Artem Shutak


Ignite has MBeanServerResource annotation, but there is no code which process 
the annotation. Looks like support of MBeanServerResource annotation has been 
deleted, but the annotation was not deleted by mistake.

It should be Deprecated or deleted.



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


[jira] [Created] (IGNITE-1793) [Failed Test] IgnitePartitionedCountDownLatchSelfTest.testLatch hangs on TC sometimes

2015-10-26 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1793:


 Summary: [Failed Test] 
IgnitePartitionedCountDownLatchSelfTest.testLatch   hangs on TC sometimes
 Key: IGNITE-1793
 URL: https://issues.apache.org/jira/browse/IGNITE-1793
 Project: Ignite
  Issue Type: Test
Reporter: Artem Shutak
Priority: Blocker
 Fix For: 1.5


IgnitePartitionedCountDownLatchSelfTest.testLatch hangs on TC sometimes.

Test hangs on IgniteCountDownLatch.count() method.

{noformat}
Thread [name="test-runner", id=24157, state=WAITING, blockCnt=0, waitCnt=96]
Lock [object=o.a.i.i.util.future.GridFutureAdapter$ChainFuture@1e542154, 
ownerName=null, ownerId=-1]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:994)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
at 
o.a.i.i.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:157)
at o.a.i.i.util.future.GridFutureAdapter.get(GridFutureAdapter.java:115)
at 
o.a.i.i.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:4525)
at 
o.a.i.i.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:1544)
at 
o.a.i.i.processors.datastructures.GridCacheCountDownLatchImpl$GetCountCallable.call(GridCacheCountDownLatchImpl.java:348)
at 
o.a.i.i.processors.datastructures.GridCacheCountDownLatchImpl$GetCountCallable.call(GridCacheCountDownLatchImpl.java:342)
at 
o.a.i.i.processors.cache.GridCacheUtils.outTx(GridCacheUtils.java:962)
at 
o.a.i.i.processors.datastructures.GridCacheCountDownLatchImpl.count(GridCacheCountDownLatchImpl.java:143)
at 
o.a.i.i.processors.cache.datastructures.IgniteCountDownLatchAbstractSelfTest.checkRemovedLatch(IgniteCountDownLatchAbstractSelfTest.java:159)
at 
o.a.i.i.processors.cache.datastructures.IgniteCountDownLatchAbstractSelfTest.checkCountDown(IgniteCountDownLatchAbstractSelfTest.java:232)
at 
o.a.i.i.processors.cache.datastructures.IgniteCountDownLatchAbstractSelfTest.checkLatch(IgniteCountDownLatchAbstractSelfTest.java:84)
at 
o.a.i.i.processors.cache.datastructures.IgniteCountDownLatchAbstractSelfTest.testLatch(IgniteCountDownLatchAbstractSelfTest.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at junit.framework.TestCase.runTest(TestCase.java:176)
at 
o.a.i.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658)
at 
o.a.i.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112)
at 
o.a.i.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596)
{noformat}



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


[jira] [Created] (IGNITE-1794) Ignite should support Hibernate 5

2015-10-26 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1794:


 Summary: Ignite should support Hibernate 5
 Key: IGNITE-1794
 URL: https://issues.apache.org/jira/browse/IGNITE-1794
 Project: Ignite
  Issue Type: Test
Reporter: Artem Shutak


Currently Ignite supports Hibernate 4. 

In Hibernate 5 org.hibernate.cache.spi.RegionFactory.start() method signature 
has been changed from

{{void start(Settings var1, Properties var2) throws CacheException;}}

on

{{void start(SessionFactoryOptions settings, Properties properties) throws 
CacheException;}}

Original user list: 
http://apache-ignite-users.70518.x6.nabble.com/Hibernate-5-L2-Cache-Compatibility-td1656.html



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


[jira] [Created] (IGNITE-1771) Ignite should support Apache Spark 1.5.1

2015-10-22 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1771:


 Summary: Ignite should support Apache Spark 1.5.1
 Key: IGNITE-1771
 URL: https://issues.apache.org/jira/browse/IGNITE-1771
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak


User can start Ignite with Spark 1.3.1 and 1.4.1, but cannot do the same with 
1.5.1. It should be fixed.

User list: 
http://apache-ignite-users.70518.x6.nabble.com/Question-about-getting-started-with-spark-shell-td1663.html.



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


[jira] [Created] (IGNITE-1776) [Test Failed] TcpClientDiscoverySpiSelfTest.testClientNodeFailOneServer fails sometimes

2015-10-22 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1776:


 Summary: [Test Failed] 
TcpClientDiscoverySpiSelfTest.testClientNodeFailOneServer fails sometimes
 Key: IGNITE-1776
 URL: https://issues.apache.org/jira/browse/IGNITE-1776
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak
Priority: Blocker
 Fix For: 1.5


TcpClientDiscoverySpiSelfTest.testClientNodeFailOneServer fails on TC sometimes.

Looks like a test bug, need just increase awaitTime(). I see Node FAILED 
message exactly after 10 seconds. But it's strange that it's require too long 
time. May be something wrong on agent.

Logs:
{noformat}
junit.framework.AssertionFailedError: Latch count: 1
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at 
org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpiSelfTest.await(TcpClientDiscoverySpiSelfTest.java:2030)
at 
org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpiSelfTest.testClientNodeFailOneServer(TcpClientDiscoverySpiSelfTest.java:811)
--- Stdout: ---
[03:18:46,228][INFO ][main][root] >>> Starting test: 
testClientNodeFailOneServer <<<
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] 

>>>__    
>>>   /  _/ ___/ |/ /  _/_  __/ __/  
>>>  _/ // (7 7// /  / / / _/
>>> /___/\___/_/|_/___/ /_/ /___/   
>>> 
>>> ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV
>>> 2015 Copyright(C) Apache Software Foundation
>>> 
>>> Ignite documentation: http://ignite.apache.org

[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Config URL: n/a
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Daemon mode: off
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] OS: Mac OS X 10.7.5 
x86_64
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] OS user: teamcity
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Language runtime: 
Java Platform API Specification ver. 1.7
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] VM information: 
Java(TM) SE Runtime Environment 1.7.0_67-b01 Oracle Corporation Java 
HotSpot(TM) 64-Bit Server VM 24.65-b04
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] VM total memory: 2.7GB
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Remote Management 
[restart: off, REST: off, JMX (remote: off)]
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] 
IGNITE_HOME=/Users/teamcity/buildAgent/work/871ff4a46e450b13
[03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] VM arguments: 
[-DJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home, 
-DMCAST_GRP=229.116.1.2, -Dagent.home.dir=/Users/teamcity/buildAgent, 
-Dagent.name=ip_192.168.1.116, -Dagent.ownPort=9090, 
-Dagent.work.dir=/Users/teamcity/buildAgent/work, -Dbuild.number=3345, 
-Dbuild.vcs.number=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb, 
-Dbuild.vcs.number.1=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb, 
-Dbuild.vcs.number.ApacheIgniteMirrorOnGitHub=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb,
 -Dclassworlds.conf=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.m2.conf, 
-Dcom.jetbrains.maven.watcher.report.file=/Users/teamcity/buildAgent/temp/buildTmp/maven-build-info.xml,
 -Djava.io.tmpdir=/Users/teamcity/buildAgent/temp/buildTmp, 
-Dmaven.home=/Users/teamcity/buildAgent/tools/maven3, 
-Dmaven.repo.local=/Users/teamcity/.m2/repository, 
-Dteamcity.agent.cpuBenchmark=605, 
-Dteamcity.agent.dotnet.agent_url=http://localhost:9090/RPC2, 
-Dteamcity.agent.dotnet.build_id=555612, 
-Dteamcity.auth.password=j1gKlVPBOa3H6Wnrjp3Q3sK7ZqR4biuf, 
-Dteamcity.auth.userId=TeamCityBuildId=555612, 
-Dteamcity.build.changedFiles.file=/Users/teamcity/buildAgent/temp/buildTmp/changedFiles5940678572218707636.txt,
 -Dteamcity.build.checkoutDir=/Users/teamcity/buildAgent/work/871ff4a46e450b13, 
-Dteamcity.build.id=555612, 
-Dteamcity.build.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.build3844607694634646095.properties,
 -Dteamcity.build.tempDir=/Users/teamcity/buildAgent/temp/buildTmp, 
-Dteamcity.build.workingDir=/Users/teamcity/buildAgent/work/871ff4a46e450b13, 
-Dteamcity.buildConfName=Ignite SPI, -Dteamcity.buildType.id=Ignite_Spi, 
-Dteamcity.configuration.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.config8915518964213838573.properties,
 -Dteamcity.idea.home=/Users/teamcity/buildAgent/plugins/idea, 
-Dteamcity.maven.watcher.home=/Users/teamcity/buildAgent/plugins/mavenPlugin/maven-watcher,
 -Dteamcity.projectName=Ignite Tests, 
-Dteamcity.runner.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.runner225244050948827951.properties,
 
-Dteamcity.tests.recentlyFailedTests.file=/Users/teamcity/buildAgent/temp/buildTmp/testsToRunFirst1548973897998565136.txt,
 -Dteamcity.version=8.1.4 (build 30168), -ea, -XX:MaxPermSize=1024m, 

[jira] [Created] (IGNITE-1757) [Failed test] CacheHibernateBlobStoreSelfTest.testSimpleMultithreading fails on TC sometimes

2015-10-21 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1757:


 Summary: [Failed test] 
CacheHibernateBlobStoreSelfTest.testSimpleMultithreading fails on TC sometimes
 Key: IGNITE-1757
 URL: https://issues.apache.org/jira/browse/IGNITE-1757
 Project: Ignite
  Issue Type: Test
Reporter: Artem Shutak
Priority: Blocker
 Fix For: 1.5


CacheHibernateBlobStoreSelfTest.testSimpleMultithreading fails on TC sometimes.

{noformat}
java.lang.NullPointerException: null
at 
org.apache.maven.surefire.shade.org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:179)
at 
org.apache.maven.surefire.shade.org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:224)
at 
org.apache.maven.surefire.shade.org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:128)
at 
org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream.write(Utf8RecodingDeferredFileOutputStream.java:59)
at 
org.apache.maven.plugin.surefire.report.TestSetRunListener.writeTestOutput(TestSetRunListener.java:98)
at 
org.apache.maven.surefire.report.ConsoleOutputCapture$ForwardingPrintStream.println(ConsoleOutputCapture.java:91)
at 
org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:106)
at 
org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:95)
at 
org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:180)
at 
org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareStatement(StatementPreparerImpl.java:85)
at 
org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnapshot(AbstractEntityPersister.java:1513)
at 
org.hibernate.engine.internal.StatefulPersistenceContext.getDatabaseSnapshot(StatefulPersistenceContext.java:316)
at 
org.hibernate.engine.internal.ForeignKeys.isTransient(ForeignKeys.java:217)
at 
org.hibernate.event.internal.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:497)
at 
org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:100)
at 
org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)
at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:735)
at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:727)
at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:723)
at 
org.apache.ignite.cache.store.hibernate.CacheHibernateBlobStore.write(CacheHibernateBlobStore.java:190)
at 
org.apache.ignite.testframework.junits.cache.GridAbstractCacheStoreSelfTest$1.call(GridAbstractCacheStoreSelfTest.java:396)
at 
org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
--- Stderr: ---
[21:04:18,410][WARN 
][hibernate.CacheHibernateBlobStoreSelfTest-1][CacheHibernateBlobStore] No 
Hibernate configuration has been provided for store (will use default).
[21:04:18,495][WARN 
][hibernate.CacheHibernateBlobStoreSelfTest-1][DriverManagerConnectionProviderImpl]
 HHH000148: No JDBC Driver class was specified by property 
hibernate.connection.driver_class
Failure in thread: Thread [id=711, 
name=hibernate.CacheHibernateBlobStoreSelfTest-5]
java.lang.NullPointerException
at 
org.apache.maven.surefire.shade.org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:179)
at 
org.apache.maven.surefire.shade.org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:224)
at 
org.apache.maven.surefire.shade.org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:128)
at 
org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream.write(Utf8RecodingDeferredFileOutputStream.java:59)
at 
org.apache.maven.plugin.surefire.report.TestSetRunListener.writeTestOutput(TestSetRunListener.java:98)
at 
org.apache.maven.surefire.report.ConsoleOutputCapture$ForwardingPrintStream.println(ConsoleOutputCapture.java:91)
at 
org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:106)
at 
org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:95)
at 
org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:180)
at 
org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareStatement(StatementPreparerImpl.java:85)
at 
org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnapshot(AbstractEntityPersister.java:1513)
at 

[jira] [Created] (IGNITE-1756) [Test Failed] GridCacheAtomicOffHeapTieredMultiNodeFullApiSelfTest.testIgniteCacheIterator fails sometimes

2015-10-21 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1756:


 Summary: [Test Failed] 
GridCacheAtomicOffHeapTieredMultiNodeFullApiSelfTest.testIgniteCacheIterator 
fails sometimes
 Key: IGNITE-1756
 URL: https://issues.apache.org/jira/browse/IGNITE-1756
 Project: Ignite
  Issue Type: Test
Reporter: Artem Shutak
Priority: Blocker
 Fix For: 1.5


GridCacheAtomicOffHeapTieredMultiNodeFullApiSelfTest.testIgniteCacheIterator 
fails on TC sometimes.

{noformat}
junit.framework.AssertionFailedError: Iterators not removed for grid 2 
expected:<0> but was:<1>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.TestCase.assertEquals(TestCase.java:401)
at 
org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest$CheckIteratorTask.call(GridCacheAbstractFullApiSelfTest.java:5240)
at 
org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest$CheckIteratorTask.call(GridCacheAbstractFullApiSelfTest.java:5229)
at 
org.apache.ignite.testframework.junits.GridAbstractTest.executeOnLocalOrRemoteJvm(GridAbstractTest.java:1477)
at 
org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.checkIteratorsCleared(GridCacheAbstractFullApiSelfTest.java:4144)
at 
org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.checkIteratorEmpty(GridCacheAbstractFullApiSelfTest.java:4170)
at 
org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.testIgniteCacheIterator(GridCacheAbstractFullApiSelfTest.java:4036)
at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at junit.framework.TestCase.runTest(TestCase.java:176)
at 
org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658)
at 
org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112)
at 
org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596)
--- Stdout: ---
[17:58:58,214][INFO ][main][root] >>> Starting test: testIgniteCacheIterator <<<
[17:58:58,237][INFO ][test-runner][root] Puts finished: 500
[17:58:58,244][INFO ][test-runner][root] Puts finished: 1000
[17:58:58,248][INFO ][test-runner][root] Puts finished: 1500
[17:58:58,256][INFO ][test-runner][root] Puts finished: 2000
[17:58:58,263][INFO ][test-runner][root] Puts finished: 2500
[17:58:58,270][INFO ][test-runner][root] Puts finished: 3000
[17:58:58,275][INFO ][test-runner][root] Puts finished: 3500
[17:58:58,281][INFO ][test-runner][root] Puts finished: 4000
[17:58:58,286][INFO ][test-runner][root] Puts finished: 4500
[17:58:58,290][INFO ][test-runner][root] Puts finished: 5000
[17:58:58,294][INFO ][test-runner][root] Puts finished: 5500
[17:58:58,298][INFO ][test-runner][root] Puts finished: 6000
[17:58:58,303][INFO ][test-runner][root] Puts finished: 6500
[17:58:58,307][INFO ][test-runner][root] Puts finished: 7000
[17:58:58,313][INFO ][test-runner][root] Puts finished: 7500
[17:58:58,318][INFO ][test-runner][root] Puts finished: 8000
[17:58:58,323][INFO ][test-runner][root] Puts finished: 8500
[17:58:58,327][INFO ][test-runner][root] Puts finished: 9000
[17:58:58,334][INFO ][test-runner][root] Puts finished: 9500
[17:58:58,340][INFO ][test-runner][root] Puts finished: 1
[17:58:58,523][INFO ][test-runner][root] Caught expected exception: null
[17:58:58,785][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:58:59,286][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:58:59,787][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:59:00,287][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:59:00,788][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:59:01,289][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:59:01,790][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:59:02,291][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:59:02,792][INFO ][test-runner][root] Set iterators not cleared, will wait
[17:59:03,295][INFO ][main][root] >>> Stopping test: testIgniteCacheIterator in 
5080 ms <<<
[17:59:03,295][INFO ][main][root] Checking grid: 0
[17:59:03,393][INFO ][main][root] Size after [idx=0, size=0, keySize=0, 
primarySize=0, globalSize=0, globalPrimarySize=0, entrySet=CacheLocalEntries []]
[17:59:03,406][INFO ][main][root] Checking grid: 1
[17:59:03,440][INFO ][main][root] Size after [idx=1, size=0, keySize=0, 
primarySize=0, globalSize=0, globalPrimarySize=0, 

[jira] [Created] (IGNITE-1738) [Test Failed] IgniteClientReconnectCacheTest.testReconnect

2015-10-20 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1738:


 Summary: [Test Failed] IgniteClientReconnectCacheTest.testReconnect
 Key: IGNITE-1738
 URL: https://issues.apache.org/jira/browse/IGNITE-1738
 Project: Ignite
  Issue Type: Test
Reporter: Artem Shutak
Priority: Blocker
 Fix For: 1.5


Test fails on TC sometime. Could not reproduce locally.

Test log
{noformat}
junit.framework.AssertionFailedError: expected:<21> but was:<20>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:86)
at junit.framework.TestCase.assertEquals(TestCase.java:253)
at 
org.apache.ignite.internal.IgniteClientReconnectCacheTest.testReconnect(IgniteClientReconnectCacheTest.java:280)
--- Stdout: ---
[20:07:22,890][INFO ][main][root] >>> Starting test: testReconnect <<<
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] 

>>>__    
>>>   /  _/ ___/ |/ /  _/_  __/ __/  
>>>  _/ // (7 7// /  / / / _/
>>> /___/\___/_/|_/___/ /_/ /___/   
>>> 
>>> ver. 1.5.0-SNAPSHOT#20151019-sha1:10ef06a1
>>> 2015 Copyright(C) Apache Software Foundation
>>> 
>>> Ignite documentation: http://ignite.apache.org

[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] Config URL: n/a
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] Daemon mode: off
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] OS: Linux 
2.6.32-74-generic amd64
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] OS user: teamcity
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] Language runtime: 
Java Platform API Specification ver. 1.7
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] VM information: 
Java(TM) SE Runtime Environment 1.7.0_21-b11 Oracle Corporation Java 
HotSpot(TM) 64-Bit Server VM 23.21-b01
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] VM total memory: 
2.7GB
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] Remote Management 
[restart: off, REST: off, JMX (remote: off)]
[20:07:22,896][INFO ][main][IgniteClientReconnectCacheTest0] 
IGNITE_HOME=/usr/local/TeamCityAgent/work/f87ae3766fbb88e2
[20:07:22,897][INFO ][main][IgniteClientReconnectCacheTest0] VM arguments: 
[-DJAVA_HOME=/home/teamcity/jdk1.7.0_21, -DMCAST_GRP=229.15.1.2, 
-Dagent.home.dir=/usr/local/TeamCityAgent, -Dagent.name=teamcity-5, 
-Dagent.ownPort=9090, -Dagent.work.dir=/usr/local/TeamCityAgent/work, 
-Dbuild.number=560, 
-Dbuild.vcs.number=10ef06a14245c73cbfe66b744406a0391c4a9c08, 
-Dbuild.vcs.number.1=10ef06a14245c73cbfe66b744406a0391c4a9c08, 
-Dbuild.vcs.number.ApacheIgniteMirrorOnGitHub=10ef06a14245c73cbfe66b744406a0391c4a9c08,
 -Dclassworlds.conf=/usr/local/TeamCityAgent/temp/buildTmp/teamcity.m2.conf, 
-Dcom.jetbrains.maven.watcher.report.file=/usr/local/TeamCityAgent/temp/buildTmp/maven-build-info.xml,
 -Djava.io.tmpdir=/usr/local/TeamCityAgent/temp/buildTmp, 
-Dmaven.home=/usr/local/TeamCityAgent/tools/maven3, 
-Dmaven.repo.local=/home/teamcity/.m2/repository, 
-Dteamcity.agent.cpuBenchmark=665, 
-Dteamcity.agent.dotnet.agent_url=http://localhost:9090/RPC2, 
-Dteamcity.agent.dotnet.build_id=554010, 
-Dteamcity.auth.password=NZJLF36rtgBzyZan9Rlqx1nibYhaTdzk, 
-Dteamcity.auth.userId=TeamCityBuildId=554010, 
-Dteamcity.build.changedFiles.file=/usr/local/TeamCityAgent/temp/buildTmp/changedFiles2364753307910338165.txt,
 -Dteamcity.build.checkoutDir=/usr/local/TeamCityAgent/work/f87ae3766fbb88e2, 
-Dteamcity.build.id=554010, 
-Dteamcity.build.properties.file=/usr/local/TeamCityAgent/temp/buildTmp/teamcity.build7009344645725909149.properties,
 -Dteamcity.build.tempDir=/usr/local/TeamCityAgent/temp/buildTmp, 
-Dteamcity.build.workingDir=/usr/local/TeamCityAgent/work/f87ae3766fbb88e2, 
-Dteamcity.buildConfName=Ignite Client Nodes, 
-Dteamcity.buildType.id=Ignite_IgniteClients, 
-Dteamcity.configuration.properties.file=/usr/local/TeamCityAgent/temp/buildTmp/teamcity.config8423242305191431229.properties,
 -Dteamcity.idea.home=/usr/local/TeamCityAgent/plugins/idea, 
-Dteamcity.maven.watcher.home=/usr/local/TeamCityAgent/plugins/mavenPlugin/maven-watcher,
 -Dteamcity.projectName=Ignite Tests, 
-Dteamcity.runner.properties.file=/usr/local/TeamCityAgent/temp/buildTmp/teamcity.runner2097693476768347057.properties,
 
-Dteamcity.tests.recentlyFailedTests.file=/usr/local/TeamCityAgent/temp/buildTmp/testsToRunFirst6738565233989795504.txt,
 -Dteamcity.version=8.1.4 (build 30168), -ea, -XX:MaxPermSize=1024m, -Xms1g, 
-Xmx3g, -XX:+HeapDumpOnOutOfMemoryError, 
-XX:HeapDumpPath=/usr/local/TeamCityAgent/work/f87ae3766fbb88e2, 
-XX:+AggressiveOpts, 
-DIGNITE_TEST_HOME=/usr/local/TeamCityAgent/work/f87ae3766fbb88e2, 
-DIGNITE_UPDATE_NOTIFIER=false, -DIGNITE_NO_DISCO_ORDER=true, 

[jira] [Created] (IGNITE-1739) [Test Failed] GridUpdateNotifierSelfTest.testNotifier

2015-10-20 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1739:


 Summary: [Test Failed] GridUpdateNotifierSelfTest.testNotifier
 Key: IGNITE-1739
 URL: https://issues.apache.org/jira/browse/IGNITE-1739
 Project: Ignite
  Issue Type: Test
Reporter: Artem Shutak
Assignee: Andrey Novikov
Priority: Blocker
 Fix For: 1.5


GridUpdateNotifierSelfTest.testNotifier fails. 

With debug enabled I got

{{[upd-ver-checker][GridUpdateNotifier$UpdateChecker] Failed to connect to 
Ignite update server. Server returned HTTP response code: 403 for URL: 
http://tiny.cc/updater/update_status_ignite.php
}}

Looks like the script can't be reached.



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


[jira] [Created] (IGNITE-1731) [Test Failed] GridCacheTxNodeFailureSelfTest.testPrimaryNodeFailureBackupRollbackOptimistic

2015-10-19 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1731:


 Summary: [Test Failed] 
GridCacheTxNodeFailureSelfTest.testPrimaryNodeFailureBackupRollbackOptimistic
 Key: IGNITE-1731
 URL: https://issues.apache.org/jira/browse/IGNITE-1731
 Project: Ignite
  Issue Type: Test
Reporter: Artem Shutak
Assignee: Semen Boikov
Priority: Blocker
 Fix For: 1.5


Test failed on TC. Could not reproduce locally.

Stack trace:

{noformat}
java.lang.NullPointerException: null
at 
org.apache.ignite.internal.processors.affinity.GridAffinityProcessor$AffinityInfo.access$1800(GridAffinityProcessor.java:537)
at 
org.apache.ignite.internal.processors.affinity.GridAffinityProcessor$CacheAffinityProxy.mapKeyToPrimaryAndBackups(GridAffinityProcessor.java:833)
at 
org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.backupNode(GridCommonAbstractTest.java:970)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.GridCacheTxNodeFailureSelfTest.checkPrimaryNodeFailureBackupCommit(GridCacheTxNodeFailureSelfTest.java:206)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.GridCacheTxNodeFailureSelfTest.testPrimaryNodeFailureBackupRollbackOptimistic(GridCacheTxNodeFailureSelfTest.java:140)
--- Stdout: ---

{noformat}

Full log:
{noformat}
java.lang.NullPointerException: null
at 
org.apache.ignite.internal.processors.affinity.GridAffinityProcessor$AffinityInfo.access$1800(GridAffinityProcessor.java:537)
at 
org.apache.ignite.internal.processors.affinity.GridAffinityProcessor$CacheAffinityProxy.mapKeyToPrimaryAndBackups(GridAffinityProcessor.java:833)
at 
org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.backupNode(GridCommonAbstractTest.java:970)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.GridCacheTxNodeFailureSelfTest.checkPrimaryNodeFailureBackupCommit(GridCacheTxNodeFailureSelfTest.java:206)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.GridCacheTxNodeFailureSelfTest.testPrimaryNodeFailureBackupRollbackOptimistic(GridCacheTxNodeFailureSelfTest.java:140)
--- Stdout: ---
[02:10:47,574][INFO ][main][root] >>> Starting test class: 
GridCacheTxNodeFailureSelfTest <<<
[02:10:47,654][INFO ][main][root] >>> Starting test: 
testPrimaryNodeFailureBackupRollbackOptimistic <<<
[02:10:47,679][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] 

>>>__    
>>>   /  _/ ___/ |/ /  _/_  __/ __/  
>>>  _/ // (7 7// /  / / / _/
>>> /___/\___/_/|_/___/ /_/ /___/   
>>> 
>>> ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV
>>> 2015 Copyright(C) Apache Software Foundation
>>> 
>>> Ignite documentation: http://ignite.apache.org

[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] Config URL: 
n/a
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] Daemon 
mode: off
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] OS: Linux 
3.13.0-32-generic amd64
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] OS user: 
teamcity
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] Language 
runtime: Java Platform API Specification ver. 1.7
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] VM 
information: Java(TM) SE Runtime Environment 1.7.0_80-b15 Oracle Corporation 
Java HotSpot(TM) 64-Bit Server VM 24.80-b11
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] VM total 
memory: 2.8GB
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] Remote 
Management [restart: off, REST: off, JMX (remote: off)]
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] 
IGNITE_HOME=/home/teamcity/BuildAgent/work/871ff4a46e450b13
[02:10:47,682][INFO ][test-runner][GridCacheTxNodeFailureSelfTest0] VM 
arguments: [-DJAVA_HOME=/usr/lib/jvm/java-7-oracle, 
-Dagent.home.dir=/home/teamcity/BuildAgent, -Dagent.name=teamcity-7, 
-Dagent.ownPort=9090, -Dagent.work.dir=/home/teamcity/BuildAgent/work, 
-Dbuild.number=3460, 
-Dbuild.vcs.number=bc6bf5fcd2c6fd996c3f3d2b1731afed26338091, 
-Dbuild.vcs.number.1=bc6bf5fcd2c6fd996c3f3d2b1731afed26338091, 
-Dbuild.vcs.number.ApacheIgniteMirrorOnGitHub=bc6bf5fcd2c6fd996c3f3d2b1731afed26338091,
 -Dclassworlds.conf=/home/teamcity/BuildAgent/temp/buildTmp/teamcity.m2.conf, 
-Dcom.jetbrains.maven.watcher.report.file=/home/teamcity/BuildAgent/temp/buildTmp/maven-build-info.xml,
 -Djava.io.tmpdir=/home/teamcity/BuildAgent/temp/buildTmp, 
-Dmaven.home=/home/teamcity/BuildAgent/tools/maven3, 
-Dmaven.repo.local=/home/teamcity/.m2/repository, 
-Dteamcity.agent.cpuBenchmark=662, 
-Dteamcity.agent.dotnet.agent_url=http://localhost:9090/RPC2, 
-Dteamcity.agent.dotnet.build_id=553324, 
-Dteamcity.auth.password=ruAFOHszAAKHaEYUZeOOGFUGg5ZDcUul, 
-Dteamcity.auth.userId=TeamCityBuildId=553324, 

[jira] [Created] (IGNITE-1635) Cache.invoke() can work wrong in a failover scenario

2015-10-08 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1635:


 Summary: Cache.invoke() can work wrong in a failover scenario
 Key: IGNITE-1635
 URL: https://issues.apache.org/jira/browse/IGNITE-1635
 Project: Ignite
  Issue Type: Bug
Reporter: Artem Shutak
Assignee: Artem Shutak
 Fix For: ignite-1.5


In process of working on IGNITE-1397 (Load/consistency test framework) I've 
faced with a wrong cache state after Cache.invoke().

Configuration:
- 1 client node
- 3 server nodes (1 backup)
- duration - 3 hours
- one random server node is killed every 10 min and after 2 minutes started 
again

h5. Transactional invoke retry consistency
Each client generates a random integer K in a limited range (say, [0, 10]) 
and creates a batch of 5 (may be configured) keys in the form 'key-' + K + '-' 
+ n + '-1', 'key-' + K + '-' + n + '-2', ... where n is a unique sequence 
number assigned to the client. Each client maintains a local map that it 
updates together with cache. Client invokes an increment closure for all 
generated keys (no explicit transaction is used) and atomically increments 
value for corresponding keys in the local map. No exceptions must be thrown to 
the user code. To validate cache contents, all writes from the client should be 
stopped, values in the local map must be equal to the values in the cache.

After 25 min in logs of client: {{Got different values [key='key-89611-0-3', 
cacheVal=213, localMapVal=214]}}.

All other "key-89611-0-*" keys in cache have value 214. For the key 
'key-89611-0-3' incremental cache invoke didn't happen.







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


[jira] [Created] (IGNITE-1524) Client node throws exception when server node killed

2015-09-22 Thread Artem Shutak (JIRA)
Artem Shutak created IGNITE-1524:


 Summary: Client node throws exception when server node killed
 Key: IGNITE-1524
 URL: https://issues.apache.org/jira/browse/IGNITE-1524
 Project: Ignite
  Issue Type: Bug
Reporter: Semen Boikov
 Fix For: ignite-1.4


In process of working on IGNITE-1397 I've found that Ignite client node throws 
CacheException which caused by IgniteClientDisconnectedException (stack trace 
below) sometimes when I kill one server node at cluster.

My configuration:
- 3 server nodes
- 2 client nodes
- discovery configuration:






127.0.0.1:47500
127.0.0.1:47501
127.0.0.1:47502







Test description:
- client nodes make random atomic ops to cluster (pts, gets, invoke, remove)
- the first client node has a thread which kill with -9 and start one server 
one by one. Kills every 60 seconds and run after 10 seconds.

Client node fails not always. 

{noformat}
javax.cache.CacheException: class 
org.apache.ignite.IgniteClientDisconnectedException: Operation has been 
cancelled (client node disconnected).
at 
org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1621)
at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.cacheException(IgniteCacheProxy.java:1749)
at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.get(IgniteCacheProxy.java:815)
at 
org.apache.ignite.yardstick.cache.failover.IgniteAtomicRetriesFailoverBenchmark.test(IgniteAtomicRetriesFailoverBenchmark.java:39)
at 
org.yardstickframework.impl.BenchmarkRunner$2.run(BenchmarkRunner.java:165)
at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.IgniteClientDisconnectedException: Operation 
has been cancelled (client node disconnected).
at 
org.apache.ignite.internal.util.IgniteUtils$14.apply(IgniteUtils.java:801)
at 
org.apache.ignite.internal.util.IgniteUtils$14.apply(IgniteUtils.java:799)
... 6 more
Caused by: class 
org.apache.ignite.internal.IgniteClientDisconnectedCheckedException: Operation 
has been cancelled (client node disconnected).
at 
org.apache.ignite.internal.processors.cache.GridCacheMvccManager.disconnectedError(GridCacheMvccManager.java:360)
at 
org.apache.ignite.internal.processors.cache.GridCacheMvccManager.onDisconnected(GridCacheMvccManager.java:334)
at 
org.apache.ignite.internal.processors.cache.GridCacheSharedContext.onDisconnected(GridCacheSharedContext.java:141)
at 
org.apache.ignite.internal.processors.cache.GridCacheProcessor.onDisconnected(GridCacheProcessor.java:997)
at 
org.apache.ignite.internal.IgniteKernal.onDisconnected(IgniteKernal.java:2983)
at 
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$5.onDiscovery(GridDiscoveryManager.java:592)
at 
org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.notifyDiscovery(ClientImpl.java:2024)
at 
org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.notifyDiscovery(ClientImpl.java:2005)
at 
org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.body(ClientImpl.java:1422)
at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
{noformat}



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