[jira] [Created] (IGNITE-11886) Unable to check query result in IgniteCacheConfigVariationsQueryTest

2019-05-31 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11886:
-

 Summary: Unable to check query result in 
IgniteCacheConfigVariationsQueryTest
 Key: IGNITE-11886
 URL: https://issues.apache.org/jira/browse/IGNITE-11886
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov


After turn on IgniteConfigVariationsAbstractTest 
IgniteCacheConfigVariationsQueryTest #testLocalScanQuery and 
testScanQueryLocalFilter became failed [1]. Not all predicates were executed 
during query - failed to check execEvtLatch.

[1] 
https://ci.ignite.apache.org/viewLog.html?buildId=3978709&buildTypeId=IgniteTests24Java8_QueriesConfigVariations




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11885) Tests from IgniteCacheConfigVariationsFullApiTest failed on TC

2019-05-31 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11885:
-

 Summary: Tests from IgniteCacheConfigVariationsFullApiTest failed 
on TC
 Key: IGNITE-11885
 URL: https://issues.apache.org/jira/browse/IGNITE-11885
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov


After turn on IgniteConfigVariationsAbstractTest multiple tests in 
IgniteCacheConfigVariationsFullApiTest became failed [1]. The reason is that 
the expected value was not found in the cache, but deeper reason for each test 
can be different - this issue must be investigated.

[1] 
https://ci.ignite.apache.org/viewLog.html?buildId=3978681&buildTypeId=IgniteTests24Java8_CacheFullApiBasicConfigVariations



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11884) Time outed invokeAll tests in WithKeepBinaryCacheFullApiTest

2019-05-31 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11884:
-

 Summary: Time outed invokeAll tests in 
WithKeepBinaryCacheFullApiTest
 Key: IGNITE-11884
 URL: https://issues.apache.org/jira/browse/IGNITE-11884
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov


After turn on IgniteConfigVariationsAbstractTest 2 tests in 
WithKeepBinaryCacheFullApiTest became failed: testInvokeAll and 
testInvokeAllAsync. Tests failed because of time out [1].

[1] 
https://ci.ignite.apache.org/viewLog.html?buildTypeId=IgniteTests24Java8_CacheFullApiConfigVariations&buildId=3978682




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11883) Unable to find keys in testKeyAffinityDeploy

2019-05-31 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11883:
-

 Summary: Unable to find keys in testKeyAffinityDeploy
 Key: IGNITE-11883
 URL: https://issues.apache.org/jira/browse/IGNITE-11883
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov


After turn on IgniteConfigVariationsAbstractTest 
IgniteServiceConfigVariationsFullApiTest#testKeyAffinityDeploy became failed - 
"Unable to find 1 required keys" [1].
It is necessary to investigate the reason and fix the test.

[1] 
https://ci.ignite.apache.org/viewLog.html?buildId=3978784&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_ServiceGridLegacyMode#testNameId5798659135386117314




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11851) Cache does not exist after first IgniteContinuousQueryConfigVariationsSuite tests batch

2019-05-14 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11851:
-

 Summary: Cache does not exist after first 
IgniteContinuousQueryConfigVariationsSuite tests batch
 Key: IGNITE-11851
 URL: https://issues.apache.org/jira/browse/IGNITE-11851
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


IgniteContinuousQueryConfigVariationsSuite tests are generated dynamically. The 
first batch (12 tests) runs without problems, but on next batches we got an 
exception - default cache does not exist and we can not invoke unrwap() method 
on it [1].

It seems that cache is destroyed after the first batch and is not created on 
the next one.

[1] 
[https://github.com/apache/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteCacheConfigVariationsAbstractTest.java#L212]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11850) Missing check atomicity mode on null

2019-05-14 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11850:
-

 Summary: Missing check atomicity mode on null
 Key: IGNITE-11850
 URL: https://issues.apache.org/jira/browse/IGNITE-11850
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


In IgniteCacheConfigVariationsFullApiTest#testGetOutTx test fail occurs. 

getAtomicityMode() method can return null, but test scenario does not take it 
into consideration.

Default cache atomicity mode must be used in case if getAtomicityMode() returns 
null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11849) Specify CacheStore in IgniteCacheReadThroughEvictionSelfTest

2019-05-14 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11849:
-

 Summary: Specify CacheStore in 
IgniteCacheReadThroughEvictionSelfTest
 Key: IGNITE-11849
 URL: https://issues.apache.org/jira/browse/IGNITE-11849
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


According to the test scenario after expiration entry must be present in 
IgniteCache - it will be loaded from CacheStore.

It is necessary to specify CacheStore in node config.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11802) Check keepSerializedObjects() condition after each test

2019-04-24 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11802:
-

 Summary: Check keepSerializedObjects() condition after each test
 Key: IGNITE-11802
 URL: https://issues.apache.org/jira/browse/IGNITE-11802
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


After some changes in GridAbstractTest class [1] condition on 
{{serializedObj.clear()}} invocation was removed [2]. 
In the previous master version {{serializedObj.clear()}} will be invoked only 
if {{(!keepSerializedObjects())}} condition will be satisfied.

Due to this reason, some tests became failed [3], so it is necessary to return 
such check.

[1] https://issues.apache.org/jira/browse/IGNITE-11412
[2] 
https://github.com/apache/ignite/pull/6267/files#diff7a554fa780cd51aae79479d6e9dfcc96L2152
[3] 
http://apache-ignite-developers.2346864.n4.nabble.com/MTCGA-new-failures-in-builds-3681058-3680965-needs-to-be-handled-td41859.html




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11708) Unable to run tests under IgniteConfigVariationsAbstractTest class

2019-04-09 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11708:
-

 Summary: Unable to run tests under 
IgniteConfigVariationsAbstractTest class
 Key: IGNITE-11708
 URL: https://issues.apache.org/jira/browse/IGNITE-11708
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


It seems that test classes that extend from IgniteConfigVariationsAbstractTest 
cannot be started with JUnit4 @Test annotation. 
It is easy to check: if throw exception in any test methods, nothing will 
happen.
Reason can be in rule chain in IgniteConfigVariationsAbstractTest class [1], 
maybe it destroys existing test workflow.

[1] 
https://github.com/apache/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java#L62




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11637) Remove class loader initilization in GridSpiAbstractTest

2019-03-27 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11637:
-

 Summary: Remove class loader initilization in GridSpiAbstractTest
 Key: IGNITE-11637
 URL: https://issues.apache.org/jira/browse/IGNITE-11637
 Project: Ignite
  Issue Type: Improvement
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


Investigate necessity of secondary class loader initilization in 
GridSpiAbstractTest. 

Initilization is secondary because the first is in GridAbstractTest. Now it 
seems that setting class loader in GridSpiAbstractTest should be removed.

 

[1] 
[https://github.com/apache/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/testframework/junits/spi/GridSpiAbstractTest.java#L151]

[2] 
[https://github.com/apache/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java#L558]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11568) Change afterTest() annotation in TcpDiscoveryFailedJoinTest

2019-03-19 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11568:
-

 Summary: Change afterTest() annotation in 
TcpDiscoveryFailedJoinTest
 Key: IGNITE-11568
 URL: https://issues.apache.org/jira/browse/IGNITE-11568
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


afterTest() method in TcpDiscoveryFailedJoinTest is overridden and annotated by 
after. Meanwhile, it is under prohibition because afterTest will be executed 
before test  afterTest (see 

JUnit3TestLegacySupport and beforeTest/afterTest usage in GridAbstractTest).

 

So, it is necessary to change after annotation on override.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11414) Remove JUnit3LegacySupport

2019-02-25 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11414:
-

 Summary: Remove JUnit3LegacySupport
 Key: IGNITE-11414
 URL: https://issues.apache.org/jira/browse/IGNITE-11414
 Project: Ignite
  Issue Type: Improvement
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


Remove JUnit3LegacySupport class. Remaining methods move to GridAbstractTest 
class or remove if it is possible.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11413) Remove beforeTestsStarted, afterTestsStarted from JUnit3TestLegacySupport

2019-02-25 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11413:
-

 Summary: Remove beforeTestsStarted, afterTestsStarted from 
JUnit3TestLegacySupport
 Key: IGNITE-11413
 URL: https://issues.apache.org/jira/browse/IGNITE-11413
 Project: Ignite
  Issue Type: Improvement
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


beforeTestsStarted and afterTestsStarted methods are deprecated in context of 
JUnit4 functional. The 4th version provides @BeforeClass, @AfterClass 
annotations for such purposes. Methods must be moved in corresponded classes 
and marked by annotations.

It could require changes in start/stop nodes process because methods under  
@BeforeClass, @AfterClass annotations must be static.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11412) Remove beforeTest, afterTest from JUnit3TestLegacySupport

2019-02-25 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11412:
-

 Summary: Remove beforeTest, afterTest from JUnit3TestLegacySupport
 Key: IGNITE-11412
 URL: https://issues.apache.org/jira/browse/IGNITE-11412
 Project: Ignite
  Issue Type: Improvement
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


Replace beforeTest, afterTest methods in JUnit3TestLegacySupport by annotations 
@Before, @After in corresponding classes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11411) Remove tearDown, setUp from GridAbstractTest

2019-02-25 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11411:
-

 Summary: Remove tearDown, setUp from GridAbstractTest
 Key: IGNITE-11411
 URL: https://issues.apache.org/jira/browse/IGNITE-11411
 Project: Ignite
  Issue Type: Improvement
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


TearDown and setUp methods are deprecated for JUnit 4+ version. It is necessary 
to replace them with appropriate methods, marked by @Before and @After 
annotations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-11396) Remove JUnit3TestLeggriacyAssert

2019-02-22 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-11396:
-

 Summary: Remove JUnit3TestLeggriacyAssert
 Key: IGNITE-11396
 URL: https://issues.apache.org/jira/browse/IGNITE-11396
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


Replace assert methods by imports.

That will lead to full remove JUnit3TestLeggriacyAssert class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-10973) Migrate example module tests from Junit 3 to 4

2019-01-18 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-10973:
-

 Summary: Migrate example module tests from Junit 3 to 4
 Key: IGNITE-10973
 URL: https://issues.apache.org/jira/browse/IGNITE-10973
 Project: Ignite
  Issue Type: Sub-task
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


For more information refer parent task for more details.
Migrate from Junit 4 to 5 in the example module.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-10958) Migrate from Junit 4 to 5

2019-01-16 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-10958:
-

 Summary: Migrate from Junit 4 to 5
 Key: IGNITE-10958
 URL: https://issues.apache.org/jira/browse/IGNITE-10958
 Project: Ignite
  Issue Type: Task
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


Starting with maven-surefire-plugin version 2.22.0 there is full support for 
JUnit 5 [1]. 
Migration to the JUnit 5 includes multiple steps:
1. adding new JUnit dependencies to pom files. By artifactId: 
junit-jupiter-engine, junit-vintage-engine, junit-platform-launcher, 
junit-platform-runner
2. Replace all imports of old JUnit annotations by the newest: from 
org.junit.Test to org.junit.jupiter.api.Test
3. Change annotations Before, After, BeforeClass, AfterClass, Ignore
4. Replace concept rules by extension model where it is necessary: 
ExpectedException to assertThrows
5. Migrate Mockito tests: MockitoJUnitRunner becomes MockitoExtension
6. Update the maven surefire plugin to make it works with JUnit 5.
Investigation about migration to JUnit5 was in ticket IGNITE-10180.
[1] 
https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-10588) Fail clean internal structure in test on Zookeeper Discovery Spi

2018-12-07 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-10588:
-

 Summary: Fail clean internal structure in test on Zookeeper 
Discovery Spi
 Key: IGNITE-10588
 URL: https://issues.apache.org/jira/browse/IGNITE-10588
 Project: Ignite
  Issue Type: Task
Affects Versions: 2.8
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


In ZookeeperDiscoverySpiTest#testTopologyChangeMultithreaded_RestartZk and 
ZookeeperDiscoverySpiTest#testTopologyChangeMultithreaded_RestartZk_CloseClients
 sometimes fails check on clean internal structure [1]. It seems that it is too 
small timeout on corresponding future.

[1] 
https://github.com/apache/ignite/blob/master/modules/zookeeper/src/test/java/org/apache/ignite/spi/discovery/zk/internal/ZookeeperDiscoverySpiTest.java#L552



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-10456) Lost data in cache after restart node

2018-11-29 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-10456:
-

 Summary: Lost data in cache after restart node
 Key: IGNITE-10456
 URL: https://issues.apache.org/jira/browse/IGNITE-10456
 Project: Ignite
  Issue Type: Test
Reporter: Ivan Fedotov


Assertion error arrises in 
[testGetRestartPartitioned2|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=-5440530939858694701&tab=testDetails]
 during restart nodes. 
It seems that some data [was 
lost|https://github.com/apache/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheGetRestartTest.java#L188].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-10442) Failed checks on successful tasks canceling

2018-11-28 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-10442:
-

 Summary: Failed checks on successful tasks canceling
 Key: IGNITE-10442
 URL: https://issues.apache.org/jira/browse/IGNITE-10442
 Project: Ignite
  Issue Type: Test
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


[testFailNodesOnCanceledTask|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=-1511425443970810161&tab=testDetails&branch_IgniteTests24Java8=%3Cdefault%3E]
 seems flaky.
On of the reason - "Possible thread pool starvation detected". 
It is necessary to investigate test and fix it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-10376) NPE during invocation from cache

2018-11-22 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-10376:
-

 Summary: NPE during invocation from cache
 Key: IGNITE-10376
 URL: https://issues.apache.org/jira/browse/IGNITE-10376
 Project: Ignite
  Issue Type: Test
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


Null pointer exception sometimes appears in [ 
testAtomicOnheapTwoBackupAsyncFullSync|[https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=3300126853696550025&tab=testDetails]]
 at the 
[moment|https://github.com/apache/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryOrderingEventTest.java#L371]
 of CacheEntryProcessor invocation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-10343) Stop grid in finally block in testGetRestartReplicated

2018-11-20 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-10343:
-

 Summary: Stop grid in finally block in testGetRestartReplicated
 Key: IGNITE-10343
 URL: https://issues.apache.org/jira/browse/IGNITE-10343
 Project: Ignite
  Issue Type: Test
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


In the test testGetRestartReplicated it is necessary to add startGrid/stopGrid 
in try/finally block to stop grid anyway even error between startGrid and 
stopGrid was raised. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-9051) Remove unnecessary ssh tests

2018-07-23 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-9051:


 Summary: Remove unnecessary ssh tests
 Key: IGNITE-9051
 URL: https://issues.apache.org/jira/browse/IGNITE-9051
 Project: Ignite
  Issue Type: Test
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


Now in IgniteProjectionStartStopRestartSelfTest there are two unnecessary tests 
[1], [2] that duplicate other tests. Its duplicate testStopNodesByIds and 
testRestartNodesByIds respectively because order of ids is not important: if we 
go deeper in ignite.cluster().stopNodes() method, we can see that in 
ClusterIgniteImpl [3] all nodes id will be collected in HashSet in forNodesIds 
method [4]. 

So testStopNodesByIdsC and testRestartNodesByIdsC should be removed.

[1][https://github.com/apache/ignite/blob/master/modules/ssh/src/test/java/org/apache/ignite/internal/IgniteProjectionStartStopRestartSelfTest.java#L701]

[2][https://github.com/apache/ignite/blob/master/modules/ssh/src/test/java/org/apache/ignite/internal/IgniteProjectionStartStopRestartSelfTest.java#L917]

[3][https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/cluster/IgniteClusterImpl.java#L250]

[4][https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/cluster/ClusterGroupAdapter.java#L454]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-8919) Wrong documentation of exec methods in StartNodeCallableImpl class

2018-07-03 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-8919:


 Summary: Wrong documentation of exec methods in 
StartNodeCallableImpl class
 Key: IGNITE-8919
 URL: https://issues.apache.org/jira/browse/IGNITE-8919
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


It seems that in StartNodeCallableImpl class methods private String exec() have 
wrong documentation [1].

It's necessary to change documentation to more appropriate.

[1]https://github.com/apache/ignite/blob/master/modules/ssh/src/main/java/org/apache/ignite/internal/util/nodestart/StartNodeCallableImpl.java#L393



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-8619) 'Remote node could not start' in ssh connection

2018-05-28 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-8619:


 Summary: 'Remote node could not start' in ssh connection
 Key: IGNITE-8619
 URL: https://issues.apache.org/jira/browse/IGNITE-8619
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov


Now there is a problem with launch remote node via ssh. Initially was an 
assumption that it's due to remote process has not enough time to write 
information into log: 
[IGNITE-8085|https://issues.apache.org/jira/browse/IGNITE-8085]. But this 
correction didn't fix [TeamCity 
|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=6814497542781613621&tab=testDetails].
 
So now it's necessary to make launch remote node via ssh always succesful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-8462) DataStreamerImpl.close(true) should throw exception

2018-05-10 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-8462:


 Summary: DataStreamerImpl.close(true) should throw exception
 Key: IGNITE-8462
 URL: https://issues.apache.org/jira/browse/IGNITE-8462
 Project: Ignite
  Issue Type: Bug
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


DataStreamerImpl.close(true) should throw CacheException in case if there was 
addition data to DataStreamerImpl. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-8104) Proper toString() implementation for IgniteConfiguration properties

2018-04-02 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-8104:


 Summary: Proper toString() implementation for IgniteConfiguration 
properties
 Key: IGNITE-8104
 URL: https://issues.apache.org/jira/browse/IGNITE-8104
 Project: Ignite
  Issue Type: Improvement
 Environment: In continuing of ticket Ignite-5798 'Logging Ignite 
configuration at startup' [1] it's necessary to make proper {{toString()}} 
implementation for every every logged configuration component, such the every 
meaningful property should be properly logged.

[1]https://issues.apache.org/jira/browse/IGNITE-5798
Reporter: Ivan Fedotov






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-8084) Unlock write lock in DataStreamerImpl

2018-03-30 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-8084:


 Summary: Unlock write lock in DataStreamerImpl
 Key: IGNITE-8084
 URL: https://issues.apache.org/jira/browse/IGNITE-8084
 Project: Ignite
  Issue Type: Improvement
  Components: streaming
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov
 Fix For: 2.5


In method DataStreamerImpl.CloseEx there is wrire lock without unlock [1]. I 
think this behavior is based on impossibility to call after closing other 
public method of DataStreamer, that use read lock.

It's not correctly that after closing streamer we don't unlock writeLock: I 
think that we can use *closed* flag to throw exception if streamer will be used 
after closing.

[1]https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerImpl.java#L1217



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7931) Wrong arguments for `keys` in DataStreamerImpl

2018-03-13 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-7931:


 Summary:  Wrong arguments for `keys` in DataStreamerImpl
 Key: IGNITE-7931
 URL: https://issues.apache.org/jira/browse/IGNITE-7931
 Project: Ignite
  Issue Type: Improvement
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov


When creating \{{keys=new (...);}} [1],[2] result of `U.capacity` is passed 
as `loadfactor` value. When loadFactory == U.capacity, initial size of table is 
1. This leads to performance penalty due to rehashing of internal map.

[1][https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerImpl.java#L633]

[2][https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerImpl.java#L574]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-6612) Wrap ack methods in their own class

2017-10-12 Thread Ivan Fedotov (JIRA)
Ivan Fedotov created IGNITE-6612:


 Summary: Wrap ack methods in their own class
 Key: IGNITE-6612
 URL: https://issues.apache.org/jira/browse/IGNITE-6612
 Project: Ignite
  Issue Type: Improvement
Affects Versions: None
Reporter: Ivan Fedotov
Assignee: Ivan Fedotov
Priority: Trivial
 Fix For: 2.3



Several methods in IgniteKernal implement similar functions: “ackAsciiLogo”, 
“ackConfigUrl”, “ackDaemon”, “ackOsInfo”, “ackLanguageRuntime”, 
“ackRemoteManagement”, “ackVmArguments”, “ackClassPaths”, 
“ackSystemProperties”, “ackEnviromentVariables”, “ackMemoryConfiguration”, 
“ackCacheConfiguration”, “ackP2PConfiguration”, “ackRebalanceConfiguration”. 

These methods should be placed in separate class “AckVariousInformation” and 
called from the class instance in IgniteKernal.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)