Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5683618E4D for ; Tue, 7 Jul 2015 14:17:20 +0000 (UTC) Received: (qmail 38732 invoked by uid 500); 7 Jul 2015 14:17:20 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 38703 invoked by uid 500); 7 Jul 2015 14:17:20 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 38694 invoked by uid 99); 7 Jul 2015 14:17:20 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2015 14:17:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B164C1A6865 for ; Tue, 7 Jul 2015 14:17:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.791 X-Spam-Level: * X-Spam-Status: No, score=1.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0JGttuzcymX2 for ; Tue, 7 Jul 2015 14:17:05 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 4AD7E4E21D for ; Tue, 7 Jul 2015 14:16:50 +0000 (UTC) Received: (qmail 36569 invoked by uid 99); 7 Jul 2015 14:16:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2015 14:16:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D0762E10A2; Tue, 7 Jul 2015 14:16:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ivasilinets@apache.org To: commits@ignite.incubator.apache.org Date: Tue, 07 Jul 2015 14:17:09 -0000 Message-Id: <860fd2ff582944ccae25a22dd25131dc@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [22/37] incubator-ignite git commit: Merge remote-tracking branch 'origin/ignite-sprint-6' Merge remote-tracking branch 'origin/ignite-sprint-6' # Conflicts: # examples/pom.xml # modules/aop/pom.xml # modules/aws/pom.xml # modules/clients/pom.xml # modules/cloud/pom.xml # modules/codegen/pom.xml # modules/core/pom.xml # modules/extdata/p2p/pom.xml # modules/extdata/uri/pom.xml # modules/gce/pom.xml # modules/geospatial/pom.xml # modules/hadoop/pom.xml # modules/hibernate/pom.xml # modules/indexing/pom.xml # modules/jcl/pom.xml # modules/jta/pom.xml # modules/log4j/pom.xml # modules/rest-http/pom.xml # modules/scalar/pom.xml # modules/schedule/pom.xml # modules/schema-import/pom.xml # modules/slf4j/pom.xml # modules/spring/pom.xml # modules/ssh/pom.xml # modules/tools/pom.xml # modules/urideploy/pom.xml # modules/visor-console/pom.xml # modules/visor-plugins/pom.xml # modules/web/pom.xml # modules/yardstick/pom.xml # pom.xml Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/f9fe9996 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/f9fe9996 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/f9fe9996 Branch: refs/heads/ignite-964-1 Commit: f9fe99963fd3defab639e9700dffc965cdd39bb1 Parents: 8a6a7cb 285d790 Author: Andrey Authored: Wed Jun 24 18:00:24 2015 +0700 Committer: Andrey Committed: Wed Jun 24 18:00:24 2015 +0700 ---------------------------------------------------------------------- .gitignore | 3 +- DEVNOTES.txt | 73 +- RELEASE_NOTES.txt | 12 + assembly/dependencies-fabric.xml | 1 + assembly/dependencies-visor-console.xml | 3 + bin/ignite-schema-import.bat | 2 +- bin/ignite-schema-import.sh | 2 +- bin/ignite.bat | 2 +- bin/ignite.sh | 2 +- bin/ignitevisorcmd.bat | 2 +- bin/ignitevisorcmd.sh | 2 +- bin/include/functions.sh | 2 +- dev-tools/.gitignore | 2 + dev-tools/build.gradle | 54 + .../gradle/wrapper/gradle-wrapper.properties | 20 + dev-tools/gradlew | 233 + dev-tools/slurp.sh | 76 + dev-tools/src/main/groovy/jiraslurp.groovy | 544 ++ examples/config/example-cache.xml | 2 + examples/pom.xml | 36 +- .../hibernate/CacheHibernatePersonStore.java | 202 +- .../hibernate/CacheHibernateStoreExample.java | 17 + .../store/jdbc/CacheJdbcPersonStore.java | 180 +- .../store/jdbc/CacheJdbcStoreExample.java | 13 + .../store/spring/CacheSpringPersonStore.java | 128 + .../store/spring/CacheSpringStoreExample.java | 143 + .../datagrid/store/spring/package-info.java | 22 + .../client/memcache/MemcacheRestExample.java | 32 +- .../streaming/StreamTransformerExample.java | 4 +- .../streaming/StreamVisitorExample.java | 4 +- .../ignite/examples/streaming/package-info.java | 1 - .../streaming/wordcount/CacheConfig.java | 2 +- .../streaming/wordcount/QueryWords.java | 12 +- .../streaming/wordcount/StreamWords.java | 12 +- .../streaming/wordcount/package-info.java | 1 - .../socket/WordsSocketStreamerClient.java | 82 + .../socket/WordsSocketStreamerServer.java | 124 + .../wordcount/socket/package-info.java | 21 + idea/ignite_codeStyle.xml | 147 + modules/aop/pom.xml | 2 +- modules/aws/pom.xml | 2 +- .../s3/S3CheckpointManagerSelfTest.java | 2 +- .../checkpoint/s3/S3CheckpointSpiSelfTest.java | 4 +- .../s3/S3CheckpointSpiStartStopSelfTest.java | 2 +- .../s3/S3SessionCheckpointSelfTest.java | 2 +- .../s3/TcpDiscoveryS3IpFinderSelfTest.java | 2 +- modules/clients/pom.xml | 2 +- .../ClientAbstractConnectivitySelfTest.java | 14 + .../client/router/TcpSslRouterSelfTest.java | 5 + .../client/suite/IgniteClientTestSuite.java | 3 +- modules/cloud/pom.xml | 4 +- .../cloud/TcpDiscoveryCloudIpFinder.java | 25 +- .../TcpDiscoveryCloudIpFinderSelfTest.java | 5 +- modules/codegen/pom.xml | 2 +- modules/core/pom.xml | 3 +- .../src/main/java/org/apache/ignite/Ignite.java | 8 +- .../java/org/apache/ignite/IgniteCache.java | 41 +- .../java/org/apache/ignite/IgniteServices.java | 5 +- .../apache/ignite/IgniteSystemProperties.java | 6 + .../main/java/org/apache/ignite/Ignition.java | 18 +- .../org/apache/ignite/cache/CacheMetrics.java | 187 +- .../ignite/cache/eviction/EvictableEntry.java | 7 + .../ignite/cache/eviction/EvictionPolicy.java | 2 + .../cache/eviction/fifo/FifoEvictionPolicy.java | 117 +- .../eviction/fifo/FifoEvictionPolicyMBean.java | 22 + .../cache/eviction/lru/LruEvictionPolicy.java | 135 +- .../eviction/lru/LruEvictionPolicyMBean.java | 38 + .../eviction/random/RandomEvictionPolicy.java | 10 +- .../eviction/sorted/SortedEvictionPolicy.java | 141 +- .../sorted/SortedEvictionPolicyMBean.java | 22 + .../apache/ignite/cache/query/QueryMetrics.java | 6 +- .../apache/ignite/cache/query/ScanQuery.java | 48 +- .../apache/ignite/cache/store/CacheStore.java | 2 + .../ignite/cache/store/CacheStoreSession.java | 22 + .../cache/store/CacheStoreSessionListener.java | 133 + .../cache/store/jdbc/CacheJdbcBlobStore.java | 22 +- .../store/jdbc/CacheJdbcBlobStoreFactory.java | 290 + .../cache/store/jdbc/CacheJdbcPojoStore.java | 6 +- .../store/jdbc/CacheJdbcPojoStoreFactory.java | 148 + .../jdbc/CacheJdbcStoreSessionListener.java | 141 + .../org/apache/ignite/cluster/ClusterNode.java | 24 +- .../configuration/CacheConfiguration.java | 70 +- .../configuration/IgniteConfiguration.java | 48 +- .../org/apache/ignite/igfs/IgfsUserContext.java | 119 + .../igfs/secondary/IgfsSecondaryFileSystem.java | 7 + .../ignite/internal/ClusterMetricsSnapshot.java | 14 + .../internal/GridEventConsumeHandler.java | 126 +- .../ignite/internal/GridKernalContext.java | 5 + .../ignite/internal/GridKernalContextImpl.java | 10 +- .../ignite/internal/GridPluginContext.java | 6 + .../apache/ignite/internal/IgniteKernal.java | 99 +- .../ignite/internal/IgniteNodeAttributes.java | 5 +- .../org/apache/ignite/internal/IgnitionEx.java | 166 +- .../internal/MarshallerContextAdapter.java | 82 +- .../ignite/internal/MarshallerContextImpl.java | 38 +- .../client/GridClientConfiguration.java | 2 +- .../GridClientOptimizedMarshaller.java | 26 + .../impl/GridTcpRouterNioListenerAdapter.java | 2 +- .../internal/direct/DirectByteBufferStream.java | 4 +- .../internal/events/DiscoveryCustomEvent.java | 18 +- .../internal/igfs/common/IgfsMarshaller.java | 35 +- .../igfs/common/IgfsPathControlRequest.java | 22 + .../interop/InteropAwareEventFilter.java | 37 + .../internal/interop/InteropBootstrap.java | 35 + .../interop/InteropBootstrapFactory.java | 39 + .../internal/interop/InteropException.java | 71 + .../internal/interop/InteropIgnition.java | 217 + .../interop/InteropLocalEventListener.java | 28 + .../interop/InteropNoCallbackException.java | 50 + .../internal/interop/InteropProcessor.java | 44 + .../internal/managers/GridManagerAdapter.java | 76 +- .../checkpoint/GridCheckpointManager.java | 52 +- .../managers/communication/GridIoManager.java | 129 +- .../GridLifecycleAwareMessageFilter.java | 5 +- .../managers/discovery/CustomEventListener.java | 31 + .../discovery/CustomMessageWrapper.java | 63 + .../discovery/DiscoveryCustomMessage.java | 54 + .../discovery/GridDiscoveryManager.java | 313 +- .../eventstorage/GridEventStorageManager.java | 29 +- .../managers/indexing/GridIndexingManager.java | 4 - .../affinity/AffinityTopologyVersion.java | 7 - .../affinity/GridAffinityAssignment.java | 12 + .../affinity/GridAffinityAssignmentCache.java | 40 +- .../affinity/GridAffinityProcessor.java | 23 +- .../cache/CacheEvictableEntryImpl.java | 31 + .../processors/cache/CacheMetricsImpl.java | 367 +- .../cache/CacheMetricsMXBeanImpl.java | 100 + .../processors/cache/CacheMetricsSnapshot.java | 380 +- .../cache/DynamicCacheChangeBatch.java | 29 +- .../cache/DynamicCacheDescriptor.java | 19 + .../processors/cache/GridCacheAdapter.java | 238 +- .../cache/GridCacheAffinityManager.java | 14 + .../cache/GridCacheConcurrentMap.java | 21 +- .../processors/cache/GridCacheContext.java | 29 +- .../processors/cache/GridCacheEntryEx.java | 6 + .../cache/GridCacheEvictionManager.java | 2 +- .../processors/cache/GridCacheGateway.java | 2 +- .../processors/cache/GridCacheIoManager.java | 386 +- .../processors/cache/GridCacheMapEntry.java | 172 +- .../processors/cache/GridCacheMessage.java | 59 +- .../processors/cache/GridCacheMvccManager.java | 36 +- .../GridCachePartitionExchangeManager.java | 172 +- .../processors/cache/GridCachePreloader.java | 6 +- .../cache/GridCachePreloaderAdapter.java | 11 +- .../processors/cache/GridCacheProcessor.java | 178 +- .../processors/cache/GridCacheProxyImpl.java | 50 +- .../cache/GridCacheSharedContext.java | 48 +- .../processors/cache/GridCacheSwapManager.java | 368 +- .../processors/cache/GridCacheTtlManager.java | 9 +- .../processors/cache/GridCacheUtils.java | 295 +- .../processors/cache/IgniteCacheProxy.java | 49 +- .../processors/cache/IgniteInternalCache.java | 70 +- .../processors/cache/KeyCacheObjectImpl.java | 11 +- .../processors/cache/QueryCursorImpl.java | 23 +- .../cache/affinity/GridCacheAffinityImpl.java | 10 +- .../CacheDataStructuresManager.java | 2 +- .../distributed/GridCacheTxRecoveryRequest.java | 26 +- .../GridCacheTxRecoveryResponse.java | 14 +- .../distributed/GridDistributedBaseMessage.java | 77 +- .../GridDistributedCacheAdapter.java | 210 +- .../distributed/GridDistributedCacheEntry.java | 7 - .../distributed/GridDistributedLockRequest.java | 123 +- .../GridDistributedLockResponse.java | 14 +- .../GridDistributedTxFinishRequest.java | 90 +- .../distributed/GridDistributedTxMapping.java | 22 +- .../GridDistributedTxPrepareRequest.java | 128 +- .../GridDistributedTxPrepareResponse.java | 64 +- .../GridDistributedTxRemoteAdapter.java | 30 +- .../GridDistributedUnlockRequest.java | 6 +- .../dht/GridClientPartitionTopology.java | 10 +- .../dht/GridDhtAssignmentFetchFuture.java | 4 +- .../distributed/dht/GridDhtCacheAdapter.java | 49 +- .../distributed/dht/GridDhtCacheEntry.java | 6 +- .../cache/distributed/dht/GridDhtGetFuture.java | 11 +- .../distributed/dht/GridDhtLocalPartition.java | 63 +- .../distributed/dht/GridDhtLockFuture.java | 12 +- .../distributed/dht/GridDhtLockRequest.java | 101 +- .../distributed/dht/GridDhtLockResponse.java | 18 +- .../dht/GridDhtOffHeapCacheEntry.java | 63 + .../dht/GridDhtPartitionTopologyImpl.java | 42 +- .../dht/GridDhtPartitionsReservation.java | 292 + .../dht/GridDhtTransactionalCacheAdapter.java | 239 +- .../distributed/dht/GridDhtTxFinishFuture.java | 3 - .../distributed/dht/GridDhtTxFinishRequest.java | 43 +- .../cache/distributed/dht/GridDhtTxLocal.java | 38 +- .../distributed/dht/GridDhtTxLocalAdapter.java | 103 +- .../cache/distributed/dht/GridDhtTxMapping.java | 2 +- .../distributed/dht/GridDhtTxPrepareFuture.java | 103 +- .../dht/GridDhtTxPrepareRequest.java | 60 +- .../dht/GridDhtTxPrepareResponse.java | 22 +- .../cache/distributed/dht/GridDhtTxRemote.java | 8 +- .../distributed/dht/GridDhtUnlockRequest.java | 6 +- .../distributed/dht/GridNoStorageCacheMap.java | 4 +- .../cache/distributed/dht/GridReservable.java | 35 + .../dht/atomic/GridDhtAtomicCache.java | 58 +- .../atomic/GridDhtAtomicOffHeapCacheEntry.java | 63 + .../dht/atomic/GridDhtAtomicUpdateFuture.java | 10 +- .../dht/atomic/GridDhtAtomicUpdateResponse.java | 8 + .../dht/atomic/GridNearAtomicUpdateFuture.java | 118 +- .../dht/atomic/GridNearAtomicUpdateRequest.java | 134 +- .../atomic/GridNearAtomicUpdateResponse.java | 18 +- .../dht/colocated/GridDhtColocatedCache.java | 17 +- .../colocated/GridDhtColocatedLockFuture.java | 212 +- .../GridDhtColocatedOffHeapCacheEntry.java | 63 + .../colocated/GridDhtDetachedCacheEntry.java | 4 +- .../dht/preloader/GridDhtForceKeysFuture.java | 50 +- .../dht/preloader/GridDhtForceKeysResponse.java | 54 +- .../preloader/GridDhtPartitionDemandPool.java | 26 +- .../dht/preloader/GridDhtPartitionMap.java | 28 +- .../preloader/GridDhtPartitionSupplyPool.java | 29 +- .../GridDhtPartitionsExchangeFuture.java | 493 +- .../preloader/GridDhtPartitionsFullMessage.java | 4 +- .../GridDhtPartitionsSingleMessage.java | 33 +- .../dht/preloader/GridDhtPreloader.java | 41 +- .../preloader/GridDhtPreloaderAssignments.java | 3 +- .../distributed/near/GridNearAtomicCache.java | 5 + .../distributed/near/GridNearCacheAdapter.java | 15 +- .../distributed/near/GridNearCacheEntry.java | 6 +- .../distributed/near/GridNearGetFuture.java | 2 +- .../distributed/near/GridNearGetResponse.java | 8 +- .../distributed/near/GridNearLockFuture.java | 280 +- .../distributed/near/GridNearLockRequest.java | 91 +- .../distributed/near/GridNearLockResponse.java | 30 +- .../near/GridNearOffHeapCacheEntry.java | 60 + .../near/GridNearOptimisticTxPrepareFuture.java | 815 ++ .../GridNearPessimisticTxPrepareFuture.java | 350 + .../near/GridNearTransactionalCache.java | 8 +- .../near/GridNearTxFinishRequest.java | 28 +- .../cache/distributed/near/GridNearTxLocal.java | 152 +- .../near/GridNearTxPrepareFuture.java | 1050 --- .../near/GridNearTxPrepareFutureAdapter.java | 231 + .../near/GridNearTxPrepareRequest.java | 86 +- .../near/GridNearTxPrepareResponse.java | 94 +- .../distributed/near/GridNearTxRemote.java | 24 +- .../distributed/near/GridNearUnlockRequest.java | 2 +- .../processors/cache/local/GridLocalCache.java | 14 +- .../cache/local/GridLocalCacheEntry.java | 18 + .../local/atomic/GridLocalAtomicCache.java | 58 +- .../processors/cache/query/CacheQuery.java | 2 +- .../query/GridCacheDistributedQueryManager.java | 3 + .../cache/query/GridCacheQueryAdapter.java | 165 +- .../cache/query/GridCacheQueryErrorFuture.java | 2 + .../cache/query/GridCacheQueryManager.java | 254 +- .../cache/query/GridCacheQueryRequest.java | 47 +- .../cache/query/GridCacheTwoStepQuery.java | 22 +- .../processors/cache/query/QueryCursorEx.java | 8 + .../continuous/CacheContinuousQueryHandler.java | 8 + .../continuous/CacheContinuousQueryManager.java | 28 +- .../cache/store/CacheOsStoreManager.java | 1 - .../cache/store/CacheStoreManager.java | 7 +- .../store/GridCacheStoreManagerAdapter.java | 202 +- .../cache/transactions/IgniteInternalTx.java | 19 +- .../transactions/IgniteTransactionsImpl.java | 4 +- .../cache/transactions/IgniteTxAdapter.java | 116 +- .../cache/transactions/IgniteTxEntry.java | 48 +- .../cache/transactions/IgniteTxHandler.java | 225 +- .../transactions/IgniteTxLocalAdapter.java | 357 +- .../cache/transactions/IgniteTxLocalEx.java | 21 +- .../cache/transactions/IgniteTxManager.java | 101 +- .../cacheobject/IgniteCacheObjectProcessor.java | 14 +- .../IgniteCacheObjectProcessorImpl.java | 14 +- .../continuous/AbstractContinuousMessage.java | 63 + .../continuous/GridContinuousMessageType.java | 12 - .../continuous/GridContinuousProcessor.java | 853 +-- .../processors/continuous/StartRequestData.java | 267 + .../StartRoutineAckDiscoveryMessage.java | 63 + .../StartRoutineDiscoveryMessage.java | 85 + .../StopRoutineAckDiscoveryMessage.java | 49 + .../continuous/StopRoutineDiscoveryMessage.java | 49 + .../datastreamer/DataStreamerCacheUpdaters.java | 2 +- .../datastreamer/DataStreamerImpl.java | 102 +- .../datastructures/DataStructuresProcessor.java | 174 +- .../datastructures/GridCacheSetImpl.java | 4 +- .../dr/IgniteDrDataStreamerCacheUpdater.java | 7 +- .../internal/processors/hadoop/HadoopJob.java | 2 +- .../processors/hadoop/HadoopTaskContext.java | 14 +- .../processors/igfs/IgfsDeleteWorker.java | 4 + .../ignite/internal/processors/igfs/IgfsEx.java | 8 +- .../internal/processors/igfs/IgfsImpl.java | 8 +- .../processors/igfs/IgfsIpcHandler.java | 184 +- .../processors/igfs/IgfsMetaManager.java | 2 +- .../igfs/IgfsSecondaryFileSystemImpl.java | 9 +- .../internal/processors/igfs/IgfsServer.java | 4 +- .../internal/processors/igfs/IgfsUtils.java | 16 + .../offheap/GridOffHeapProcessor.java | 36 +- .../plugin/IgnitePluginProcessor.java | 16 +- .../portable/GridPortableInputStream.java | 10 + .../processors/query/GridQueryIndexing.java | 34 +- .../processors/query/GridQueryProcessor.java | 432 +- .../messages/GridQueryNextPageResponse.java | 35 +- .../h2/twostep/messages/GridQueryRequest.java | 111 +- .../processors/resource/GridResourceField.java | 16 +- .../processors/resource/GridResourceIoc.java | 389 +- .../processors/resource/GridResourceMethod.java | 13 + .../resource/GridResourceProcessor.java | 20 +- .../rest/client/message/GridRouterRequest.java | 18 + .../rest/client/message/GridRouterResponse.java | 18 + .../rest/protocols/tcp/GridTcpRestProtocol.java | 3 +- .../service/GridServiceProcessor.java | 125 +- .../timeout/GridSpiTimeoutObject.java | 73 + .../timeout/GridTimeoutProcessor.java | 105 +- .../IgniteTxRollbackCheckedException.java | 9 + .../apache/ignite/internal/util/GridDebug.java | 48 +- .../ignite/internal/util/GridJavaProcess.java | 30 +- .../ignite/internal/util/IgniteUtils.java | 56 +- .../internal/util/future/GridFutureAdapter.java | 4 +- .../shmem/IpcSharedMemoryClientEndpoint.java | 2 +- .../ipc/shmem/IpcSharedMemoryNativeLoader.java | 151 +- .../shmem/IpcSharedMemoryServerEndpoint.java | 4 +- .../util/ipc/shmem/IpcSharedMemoryUtils.java | 4 +- .../util/lang/GridComputeJobWrapper.java | 96 - .../util/lang/GridFilteredIterator.java | 2 +- .../ignite/internal/util/lang/GridFunc.java | 7218 +++++------------- .../internal/util/nio/GridBufferedParser.java | 4 - .../util/nio/GridCommunicationClient.java | 30 +- .../internal/util/nio/GridDelimitedParser.java | 91 + .../util/nio/GridNioDelimitedBuffer.java | 106 + .../util/nio/GridNioRecoveryDescriptor.java | 13 +- .../ignite/internal/util/nio/GridNioServer.java | 64 +- .../util/nio/GridShmemCommunicationClient.java | 146 + .../util/nio/GridTcpCommunicationClient.java | 554 -- .../util/nio/GridTcpNioCommunicationClient.java | 8 - .../util/offheap/GridOffHeapPartitionedMap.java | 9 + .../unsafe/GridUnsafePartitionedMap.java | 155 +- .../util/spring/IgniteSpringHelper.java | 10 + .../internal/visor/VisorMultiNodeTask.java | 2 +- .../ignite/internal/visor/cache/VisorCache.java | 2 +- .../VisorCacheConfigurationCollectorJob.java | 6 +- .../internal/visor/cache/VisorCacheMetrics.java | 19 +- .../cache/VisorCacheMetricsCollectorTask.java | 10 +- .../cache/VisorCacheStoreConfiguration.java | 5 +- .../visor/node/VisorNodeDataCollectorTask.java | 9 +- .../node/VisorNodeDataCollectorTaskResult.java | 17 +- .../node/VisorNodeSuppressedErrorsTask.java | 12 +- .../internal/visor/query/VisorQueryJob.java | 13 +- .../internal/visor/query/VisorQueryTask.java | 3 +- .../visor/util/VisorExceptionWrapper.java | 81 + .../internal/visor/util/VisorTaskUtils.java | 6 +- .../ignite/marshaller/MarshallerContext.java | 8 + .../ignite/mxbean/CacheMetricsMXBean.java | 80 + .../org/apache/ignite/plugin/PluginContext.java | 6 + .../apache/ignite/plugin/PluginProvider.java | 26 +- .../SpringApplicationContextResource.java | 4 +- .../apache/ignite/resources/SpringResource.java | 6 +- .../org/apache/ignite/services/Service.java | 5 +- .../org/apache/ignite/spi/IgniteSpiAdapter.java | 105 +- .../org/apache/ignite/spi/IgniteSpiContext.java | 66 +- .../ignite/spi/IgniteSpiTimeoutObject.java | 44 + .../spi/checkpoint/noop/NoopCheckpointSpi.java | 3 +- .../communication/tcp/TcpCommunicationSpi.java | 963 ++- .../tcp/TcpCommunicationSpiMBean.java | 29 +- .../ignite/spi/discovery/DiscoverySpi.java | 23 +- .../discovery/DiscoverySpiCustomMessage.java | 40 + .../spi/discovery/DiscoverySpiListener.java | 5 +- .../ignite/spi/discovery/tcp/ClientImpl.java | 1688 ++++ .../ignite/spi/discovery/tcp/ServerImpl.java | 4778 ++++++++++++ .../discovery/tcp/TcpClientDiscoverySpi.java | 1264 --- .../tcp/TcpClientDiscoverySpiMBean.java | 164 - .../spi/discovery/tcp/TcpDiscoveryImpl.java | 279 + .../spi/discovery/tcp/TcpDiscoverySpi.java | 5785 +++----------- .../discovery/tcp/TcpDiscoverySpiAdapter.java | 1160 --- .../spi/discovery/tcp/TcpDiscoverySpiMBean.java | 9 + .../tcp/internal/TcpDiscoveryNode.java | 25 +- .../tcp/internal/TcpDiscoveryNodesRing.java | 2 +- .../tcp/ipfinder/TcpDiscoveryIpFinder.java | 10 +- .../ipfinder/TcpDiscoveryIpFinderAdapter.java | 34 +- .../TcpDiscoveryMulticastIpFinder.java | 50 +- .../messages/TcpDiscoveryAbstractMessage.java | 34 +- .../TcpDiscoveryClientHeartbeatMessage.java | 67 + .../messages/TcpDiscoveryClientPingRequest.java | 56 + .../TcpDiscoveryClientPingResponse.java | 67 + .../TcpDiscoveryCustomEventMessage.java | 41 +- .../messages/TcpDiscoveryHeartbeatMessage.java | 28 +- .../TcpDiscoveryNodeAddFinishedMessage.java | 43 + .../messages/TcpDiscoveryNodeAddedMessage.java | 2 +- .../messages/TcpDiscoveryNodeFailedMessage.java | 18 + .../tcp/messages/TcpDiscoveryPingRequest.java | 6 + .../tcp/messages/TcpDiscoveryPingResponse.java | 15 +- .../RoundRobinGlobalLoadBalancer.java | 2 +- .../spi/swapspace/file/FileSwapSpaceSpi.java | 8 +- .../org/apache/ignite/stream/StreamAdapter.java | 111 + .../ignite/stream/StreamTupleExtractor.java | 33 + .../stream/socket/SocketMessageConverter.java | 31 + .../ignite/stream/socket/SocketStreamer.java | 218 + .../ignite/stream/socket/package-info.java | 21 + .../java/org/jsr166/ConcurrentHashMap8.java | 8 +- .../java/org/jsr166/ConcurrentLinkedDeque8.java | 586 +- .../src/main/java/org/jsr166/LongAdder8.java | 35 +- .../core/src/main/java/org/jsr166/README.txt | 11 + .../src/main/java/org/jsr166/Striped64_8.java | 22 +- .../java/org/jsr166/ThreadLocalRandom8.java | 19 +- .../src/main/java/org/jsr166/package-info.java | 12 +- .../resources/META-INF/classnames.properties | 1 - .../core/src/main/resources/ignite.properties | 2 +- modules/core/src/test/config/tests.properties | 2 +- .../ignite/GridSuppressedExceptionSelfTest.java | 4 +- .../affinity/IgniteClientNodeAffinityTest.java | 182 + ...cheStoreSessionListenerAbstractSelfTest.java | 315 + ...heStoreSessionListenerLifecycleSelfTest.java | 395 + .../CacheJdbcStoreSessionListenerSelfTest.java | 175 + .../ignite/internal/GridAffinitySelfTest.java | 1 + .../internal/GridDiscoveryEventSelfTest.java | 13 +- ...ridFailFastNodeFailureDetectionSelfTest.java | 22 +- .../GridFailoverTaskWithPredicateSelfTest.java | 3 - .../GridJobMasterLeaveAwareSelfTest.java | 2 - .../internal/GridJobStealingSelfTest.java | 3 - .../internal/GridProjectionAbstractTest.java | 16 + .../GridProjectionForCachesSelfTest.java | 11 +- ...ectionLocalJobMultipleArgumentsSelfTest.java | 2 - .../internal/GridReleaseTypeSelfTest.java | 77 +- .../apache/ignite/internal/GridSelfTest.java | 28 +- .../GridTaskExecutionContextSelfTest.java | 9 - .../IgniteComputeEmptyClusterGroupTest.java | 3 - .../IgniteComputeTopologyExceptionTest.java | 9 - .../IgniteSlowClientDetectionSelfTest.java | 187 + .../GridDiscoveryManagerAliveCacheSelfTest.java | 82 +- .../GridDiscoveryManagerAttributesSelfTest.java | 122 +- .../discovery/GridDiscoveryManagerSelfTest.java | 46 +- .../GridAffinityProcessorAbstractSelfTest.java | 1 + .../cache/CacheClientStoreSelfTest.java | 228 + .../cache/CacheOffheapMapEntrySelfTest.java | 168 + .../cache/CacheRemoveAllSelfTest.java | 81 + .../CacheStoreUsageMultinodeAbstractTest.java | 305 + ...eUsageMultinodeDynamicStartAbstractTest.java | 169 + ...oreUsageMultinodeDynamicStartAtomicTest.java | 32 + ...heStoreUsageMultinodeDynamicStartTxTest.java | 32 + ...reUsageMultinodeStaticStartAbstractTest.java | 158 + ...toreUsageMultinodeStaticStartAtomicTest.java | 32 + ...cheStoreUsageMultinodeStaticStartTxTest.java | 32 + .../GridCacheAbstractFailoverSelfTest.java | 12 +- .../cache/GridCacheAbstractFullApiSelfTest.java | 379 +- .../cache/GridCacheAbstractMetricsSelfTest.java | 48 +- .../GridCacheAbstractRemoveFailureTest.java | 23 + .../cache/GridCacheAbstractSelfTest.java | 9 +- .../cache/GridCacheAffinityRoutingSelfTest.java | 4 +- .../GridCacheAtomicMessageCountSelfTest.java | 1 + .../GridCacheConcurrentTxMultiNodeTest.java | 8 +- ...idCacheConfigurationConsistencySelfTest.java | 14 +- .../cache/GridCacheDaemonNodeStopSelfTest.java | 119 + .../cache/GridCacheDeploymentSelfTest.java | 3 - .../cache/GridCacheEntryMemorySizeSelfTest.java | 91 +- .../GridCacheExAbstractFullApiSelfTest.java | 103 - .../cache/GridCacheMemoryModeSelfTest.java | 25 +- ...GridCacheMixedPartitionExchangeSelfTest.java | 2 +- ...ridCacheMultinodeUpdateAbstractSelfTest.java | 9 + ...inodeUpdateNearEnabledNoBackupsSelfTest.java | 2 +- ...CacheMultinodeUpdateNearEnabledSelfTest.java | 2 +- .../processors/cache/GridCacheOffHeapTest.java | 33 +- .../cache/GridCachePutAllFailoverSelfTest.java | 1 + .../GridCacheReferenceCleanupSelfTest.java | 3 - .../cache/GridCacheReloadSelfTest.java | 6 +- .../GridCacheReturnValueTransferSelfTest.java | 3 + .../processors/cache/GridCacheStopSelfTest.java | 5 + .../cache/GridCacheSwapReloadSelfTest.java | 20 +- ...acheTcpClientDiscoveryMultiThreadedTest.java | 190 + .../processors/cache/GridCacheTestEntryEx.java | 4 + .../GridCacheVariableTopologySelfTest.java | 12 +- .../cache/GridCacheVersionMultinodeTest.java | 6 +- .../IgniteCacheAbstractStopBusySelfTest.java | 36 +- .../cache/IgniteCacheAbstractTest.java | 5 +- .../IgniteCacheAtomicStopBusySelfTest.java | 8 +- .../IgniteCacheConfigurationTemplateTest.java | 2 +- .../IgniteCacheEntryListenerAbstractTest.java | 14 +- .../IgniteCacheInterceptorSelfTestSuite.java | 2 +- .../cache/IgniteCacheInvokeReadThroughTest.java | 5 + .../cache/IgniteCacheNearLockValueSelfTest.java | 148 + .../IgniteCacheP2pUnmarshallingErrorTest.java | 200 + ...gniteCacheP2pUnmarshallingNearErrorTest.java | 59 + ...CacheP2pUnmarshallingRebalanceErrorTest.java | 77 + .../IgniteCacheP2pUnmarshallingTxErrorTest.java | 116 + .../IgniteCachePartitionMapUpdateTest.java | 226 + .../cache/IgniteCachePeekModesAbstractTest.java | 20 +- ...gniteCacheTransactionalStopBusySelfTest.java | 13 +- .../cache/IgniteDynamicCacheStartSelfTest.java | 101 +- ...niteDynamicCacheWithConfigStartSelfTest.java | 97 + .../IgniteDynamicClientCacheStartSelfTest.java | 283 + ...teStartCacheInTransactionAtomicSelfTest.java | 32 + .../IgniteStartCacheInTransactionSelfTest.java | 254 + .../cache/IgniteSystemCacheOnClientTest.java | 97 + .../IgniteTxMultiThreadedAbstractTest.java | 4 +- .../cache/OffHeapTieredTransactionSelfTest.java | 127 + ...cheAtomicReferenceMultiNodeAbstractTest.java | 11 - .../GridCacheQueueApiSelfAbstractTest.java | 4 +- ...GridCacheQueueMultiNodeAbstractSelfTest.java | 2 - ...dCacheQueueMultiNodeConsistencySelfTest.java | 5 + ...CacheQueueRotativeMultiNodeAbstractTest.java | 10 - .../GridCacheSetAbstractSelfTest.java | 9 - .../IgniteClientDataStructuresAbstractTest.java | 283 + .../IgniteClientDataStructuresTest.java | 28 + ...IgniteClientDiscoveryDataStructuresTest.java | 28 + .../IgniteCountDownLatchAbstractSelfTest.java | 102 + ...omicOffheapQueueCreateMultiNodeSelfTest.java | 5 + ...ionedAtomicQueueCreateMultiNodeSelfTest.java | 5 + ...rtitionedDataStructuresFailoverSelfTest.java | 5 + ...edOffheapDataStructuresFailoverSelfTest.java | 5 + ...PartitionedQueueCreateMultiNodeSelfTest.java | 5 + ...dCachePartitionedQueueEntryMoveSelfTest.java | 5 + ...nedQueueFailoverDataConsistencySelfTest.java | 5 + ...eplicatedDataStructuresFailoverSelfTest.java | 5 + ...CacheLoadingConcurrentGridStartSelfTest.java | 54 +- .../GridCacheAbstractJobExecutionTest.java | 3 - .../GridCacheAbstractNodeRestartSelfTest.java | 11 +- .../GridCacheClientModesAbstractSelfTest.java | 94 +- ...ientModesTcpClientDiscoveryAbstractTest.java | 168 + .../distributed/GridCacheLockAbstractTest.java | 2 - .../distributed/GridCacheMixedModeSelfTest.java | 3 + .../GridCachePreloadLifecycleAbstractTest.java | 2 - ...niteCacheClientNodeChangingTopologyTest.java | 1803 +++++ .../IgniteCacheClientNodeConcurrentStart.java | 113 + ...teCacheClientNodePartitionsExchangeTest.java | 632 ++ .../distributed/IgniteCacheManyClientsTest.java | 316 + .../IgniteCacheMessageRecoveryAbstractTest.java | 1 + .../IgniteCrossCacheTxStoreSelfTest.java | 147 +- .../distributed/IgniteTxGetAfterStopTest.java | 131 + ...heAbstractTransformWriteThroughSelfTest.java | 3 - .../dht/GridCacheClientOnlySelfTest.java | 60 +- .../GridCacheColocatedTxExceptionSelfTest.java | 5 + .../GridCacheDhtClientRemoveFailureTest.java | 28 + ...GridCacheDhtEvictionNearReadersSelfTest.java | 11 +- .../dht/GridCacheDhtEvictionSelfTest.java | 11 +- .../GridCacheExColocatedFullApiSelfTest.java | 33 - ...icOffHeapTieredMultiNodeFullApiSelfTest.java | 43 + ...achePartitionedNearDisabledLockSelfTest.java | 47 + ...ePartitionedNearDisabledMetricsSelfTest.java | 4 +- ...ionedNearDisabledOffHeapFullApiSelfTest.java | 8 +- ...DisabledOffHeapMultiNodeFullApiSelfTest.java | 8 +- ...abledOffHeapTieredAtomicFullApiSelfTest.java | 56 + ...earDisabledOffHeapTieredFullApiSelfTest.java | 33 + ...edOffHeapTieredMultiNodeFullApiSelfTest.java | 33 + ...dCachePartitionedTopologyChangeSelfTest.java | 5 + .../dht/IgniteCacheMultiTxLockSelfTest.java | 53 +- ...ePrimaryNodeFailureRecoveryAbstractTest.java | 4 +- ...cClientInvalidPartitionHandlingSelfTest.java | 29 + .../GridCacheAtomicClientRemoveFailureTest.java | 28 + ...eAtomicInvalidPartitionHandlingSelfTest.java | 23 +- ...idCacheAtomicReplicatedFailoverSelfTest.java | 6 + ...unctionExcludeNeighborsAbstractSelfTest.java | 3 +- .../near/GridCacheAtomicNearOnlySelfTest.java | 32 - ...CacheAtomicOffHeapTieredFullApiSelfTest.java | 32 + ...icOffHeapTieredMultiNodeFullApiSelfTest.java | 33 + ...yWriteOrderOffHeapTieredFullApiSelfTest.java | 33 + ...erOffHeapTieredMultiNodeFullApiSelfTest.java | 33 + .../near/GridCacheExNearFullApiSelfTest.java | 39 - .../near/GridCacheNearEvictionSelfTest.java | 3 - ...idCacheNearOnlyMultiNodeFullApiSelfTest.java | 2 + .../near/GridCacheNearOnlySelfTest.java | 63 +- .../near/GridCacheNearOnlyTopologySelfTest.java | 1 + .../near/GridCacheNearTxExceptionSelfTest.java | 5 + ...ionedClientOnlyNoPrimaryFullApiSelfTest.java | 5 +- .../GridCachePartitionedEvictionSelfTest.java | 11 +- ...PartitionedFullApiMultithreadedSelfTest.java | 5 + .../GridCachePartitionedFullApiSelfTest.java | 32 + ...idCachePartitionedHitsAndMissesSelfTest.java | 3 - ...achePartitionedMultiNodeFullApiSelfTest.java | 15 +- ...ePartitionedMultiThreadedPutGetSelfTest.java | 6 +- .../GridCachePartitionedNodeRestartTest.java | 5 + ...dCachePartitionedOffHeapFullApiSelfTest.java | 8 +- ...titionedOffHeapMultiNodeFullApiSelfTest.java | 8 +- ...PartitionedOffHeapTieredFullApiSelfTest.java | 32 + ...edOffHeapTieredMultiNodeFullApiSelfTest.java | 72 + ...ePartitionedOptimisticTxNodeRestartTest.java | 5 + ...achePartitionedPreloadLifecycleSelfTest.java | 2 +- ...CachePartitionedTxMultiThreadedSelfTest.java | 5 + .../GridCachePartitionedTxSalvageSelfTest.java | 54 +- ...idCacheRendezvousAffinityClientSelfTest.java | 4 + .../near/IgniteCacheNearOnlyTxTest.java | 190 + .../near/NoneRebalanceModeSelfTest.java | 67 + .../GridCacheExReplicatedFullApiSelfTest.java | 33 - .../GridCacheReplicatedClientOnlySelfTest.java | 43 - .../GridCacheReplicatedFailoverSelfTest.java | 6 + ...eReplicatedFullApiMultithreadedSelfTest.java | 5 + .../GridCacheReplicatedInvalidateSelfTest.java | 4 +- .../GridCacheReplicatedLockSelfTest.java | 5 + ...ridCacheReplicatedMultiNodeLockSelfTest.java | 5 + .../GridCacheReplicatedMultiNodeSelfTest.java | 5 + .../GridCacheReplicatedNearOnlySelfTest.java | 43 - .../GridCacheReplicatedNodeRestartSelfTest.java | 85 + ...idCacheReplicatedOffHeapFullApiSelfTest.java | 8 +- ...plicatedOffHeapMultiNodeFullApiSelfTest.java | 8 +- ...eReplicatedOffHeapTieredFullApiSelfTest.java | 33 + ...edOffHeapTieredMultiNodeFullApiSelfTest.java | 33 + .../GridCacheReplicatedTxExceptionSelfTest.java | 5 + .../GridCacheSyncReplicatedPreloadSelfTest.java | 1 - .../replicated/GridReplicatedTxPreloadTest.java | 2 + ...acheAtomicReplicatedNodeRestartSelfTest.java | 5 + ...CacheReplicatedPreloadLifecycleSelfTest.java | 6 +- .../cache/eviction/EvictionAbstractTest.java | 1056 +++ .../GridCacheBatchEvictUnswapSelfTest.java | 5 +- ...heConcurrentEvictionConsistencySelfTest.java | 82 +- .../GridCacheConcurrentEvictionsSelfTest.java | 29 +- .../GridCacheDistributedEvictionsSelfTest.java | 5 +- .../GridCacheEmptyEntriesAbstractSelfTest.java | 11 +- .../eviction/GridCacheEvictionAbstractTest.java | 484 -- .../GridCacheEvictionFilterSelfTest.java | 4 +- .../GridCacheEvictionTouchSelfTest.java | 22 +- .../cache/eviction/GridCacheMockEntry.java | 5 + ...cheSynchronousEvictionsFailoverSelfTest.java | 5 + .../fifo/FifoEvictionPolicySelfTest.java | 262 + ...ridCacheFifoBatchEvictionPolicySelfTest.java | 384 - .../GridCacheFifoEvictionPolicySelfTest.java | 372 - .../lru/GridCacheLruEvictionPolicySelfTest.java | 417 - .../GridCacheLruNearEvictionPolicySelfTest.java | 136 - ...heNearOnlyLruNearEvictionPolicySelfTest.java | 171 - .../eviction/lru/LruEvictionPolicySelfTest.java | 353 + .../lru/LruNearEvictionPolicySelfTest.java | 140 + .../LruNearOnlyNearEvictionPolicySelfTest.java | 172 + .../GridCacheRandomEvictionPolicySelfTest.java | 258 - .../RandomEvictionPolicyCacheSizeSelfTest.java | 78 + .../random/RandomEvictionPolicySelfTest.java | 357 + ...dCacheSortedBatchEvictionPolicySelfTest.java | 385 - ...acheSortedEvictionPolicyPerformanceTest.java | 135 - .../GridCacheSortedEvictionPolicySelfTest.java | 373 - .../SortedEvictionPolicyPerformanceTest.java | 134 + .../sorted/SortedEvictionPolicySelfTest.java | 266 + .../IgniteCacheClientNearCacheExpiryTest.java | 103 + .../IgniteCacheExpiryPolicyAbstractTest.java | 10 +- .../IgniteCacheExpiryPolicyTestSuite.java | 2 + ...eCacheExpiryPolicyWithStoreAbstractTest.java | 4 +- ...CacheLocalOffHeapAndSwapMetricsSelfTest.java | 412 + .../local/GridCacheExLocalFullApiSelfTest.java | 30 - ...LocalAtomicOffHeapTieredFullApiSelfTest.java | 32 + ...dCacheLocalFullApiMultithreadedSelfTest.java | 5 + .../GridCacheLocalIsolatedNodesSelfTest.java | 18 +- .../GridCacheLocalOffHeapFullApiSelfTest.java | 6 +- ...dCacheLocalOffHeapTieredFullApiSelfTest.java | 32 + .../GridCacheLocalTxExceptionSelfTest.java | 5 + .../GridCacheSwapScanQueryAbstractSelfTest.java | 115 +- ...ridCacheContinuousQueryAbstractSelfTest.java | 8 +- ...CacheClientWriteBehindStoreAbstractTest.java | 104 + ...teCacheClientWriteBehindStoreAtomicTest.java | 38 + .../IgnteCacheClientWriteBehindStoreTxTest.java | 32 + .../closure/GridClosureProcessorSelfTest.java | 29 +- .../continuous/GridEventConsumeSelfTest.java | 98 +- .../DataStreamProcessorSelfTest.java | 48 +- .../DataStreamerMultiThreadedSelfTest.java | 62 +- .../DataStreamerMultinodeCreateCacheTest.java | 97 + .../igfs/IgfsClientCacheSelfTest.java | 12 +- .../processors/igfs/IgfsCommonAbstractTest.java | 10 - .../processors/igfs/IgfsModesSelfTest.java | 4 +- .../processors/igfs/IgfsOneClientNodeTest.java | 8 +- .../service/ClosureServiceClientsNodesTest.java | 251 + .../service/GridServiceClientNodeTest.java | 81 + .../ipc/shmem/IgfsSharedMemoryTestServer.java | 2 + .../IpcSharedMemoryCrashDetectionSelfTest.java | 2 +- .../ipc/shmem/IpcSharedMemorySpaceSelfTest.java | 2 +- .../ipc/shmem/IpcSharedMemoryUtilsSelfTest.java | 2 +- .../LoadWithCorruptedLibFileTestRunner.java | 2 +- .../IpcSharedMemoryBenchmarkReader.java | 2 +- .../IpcSharedMemoryBenchmarkWriter.java | 2 +- .../nio/GridNioDelimitedBufferSelfTest.java | 112 + .../internal/util/nio/GridNioSelfTest.java | 15 +- .../internal/util/nio/GridNioSslSelfTest.java | 2 + .../unsafe/GridUnsafeMemorySelfTest.java | 4 +- .../tostring/GridToStringBuilderSelfTest.java | 4 +- ...idFileSwapSpaceSpiMultithreadedLoadTest.java | 4 +- .../loadtests/GridCacheMultiNodeLoadTest.java | 5 +- .../communication/GridIoManagerBenchmark0.java | 1 + .../GridCachePartitionedAtomicLongLoadTest.java | 6 +- .../loadtests/hashmap/GridCacheTestContext.java | 4 +- .../swap/GridSwapEvictAllBenchmark.java | 6 +- .../marshaller/MarshallerContextTestImpl.java | 29 +- .../OptimizedMarshallerNodeFailoverTest.java | 4 +- ...GridMessagingNoPeerClassLoadingSelfTest.java | 7 +- .../ignite/messaging/GridMessagingSelfTest.java | 16 +- .../IgniteMessagingWithClientTest.java | 166 + .../GridP2PContinuousDeploymentSelfTest.java | 2 + .../p2p/GridP2PLocalDeploymentSelfTest.java | 6 +- .../p2p/GridP2PRemoteClassLoadersSelfTest.java | 31 +- .../spi/GridTcpSpiForwardingSelfTest.java | 4 +- .../GridTcpCommunicationSpiAbstractTest.java | 17 +- ...mmunicationSpiConcurrentConnectSelfTest.java | 6 +- .../GridTcpCommunicationSpiConfigSelfTest.java | 3 - ...cpCommunicationSpiMultithreadedSelfTest.java | 23 +- ...pCommunicationSpiMultithreadedShmemTest.java | 28 + ...dTcpCommunicationSpiRecoveryAckSelfTest.java | 1 + ...GridTcpCommunicationSpiRecoverySelfTest.java | 1 + .../GridTcpCommunicationSpiShmemSelfTest.java | 38 + .../tcp/GridTcpCommunicationSpiTcpSelfTest.java | 7 + .../discovery/AbstractDiscoverySelfTest.java | 21 +- ...pClientDiscoveryMarshallerCheckSelfTest.java | 76 + .../tcp/TcpClientDiscoverySelfTest.java | 700 -- .../tcp/TcpClientDiscoverySpiMulticastTest.java | 129 + .../tcp/TcpClientDiscoverySpiSelfTest.java | 1369 ++++ .../tcp/TcpDiscoveryConcurrentStartTest.java | 61 +- .../tcp/TcpDiscoveryMultiThreadedTest.java | 18 +- .../discovery/tcp/TcpDiscoveryRestartTest.java | 199 + .../spi/discovery/tcp/TcpDiscoverySelfTest.java | 111 +- .../stream/socket/SocketStreamerSelfTest.java | 310 + .../ignite/stream/socket/package-info.java | 21 + .../testframework/GridSpiTestContext.java | 42 +- .../ignite/testframework/GridTestUtils.java | 31 +- .../config/GridTestProperties.java | 14 +- .../testframework/junits/GridAbstractTest.java | 52 +- .../junits/GridTestKernalContext.java | 3 +- .../junits/IgniteTestResources.java | 16 +- .../junits/cache/TestCacheSession.java | 18 + .../cache/TestThreadLocalCacheSession.java | 15 + .../junits/common/GridCommonAbstractTest.java | 98 +- .../ignite/testsuites/IgniteBasicTestSuite.java | 34 +- .../IgniteCacheDataStructuresSelfTestSuite.java | 27 +- .../IgniteCacheEvictionSelfTestSuite.java | 18 +- .../IgniteCacheFailoverTestSuite.java | 26 +- .../IgniteCacheFailoverTestSuite2.java | 47 + .../IgniteCacheFullApiSelfTestSuite.java | 32 +- .../IgniteCacheMetricsSelfTestSuite.java | 1 + .../IgniteCacheNearOnlySelfTestSuite.java | 16 +- ...niteCacheP2pUnmarshallingErrorTestSuite.java | 53 + .../testsuites/IgniteCacheRestartTestSuite.java | 10 +- .../IgniteCacheTcpClientDiscoveryTestSuite.java | 47 + .../ignite/testsuites/IgniteCacheTestSuite.java | 336 +- .../testsuites/IgniteCacheTestSuite2.java | 143 + .../testsuites/IgniteCacheTestSuite3.java | 139 + .../testsuites/IgniteCacheTestSuite4.java | 150 + .../IgniteCacheWriteBehindTestSuite.java | 2 + .../testsuites/IgniteKernalSelfTestSuite.java | 23 +- .../IgniteMarshallerSelfTestSuite.java | 28 +- .../IgniteSpiCommunicationSelfTestSuite.java | 2 + .../IgniteSpiDiscoverySelfTestSuite.java | 4 +- .../testsuites/IgniteStreamSelfTestSuite.java | 39 + .../testsuites/IgniteUtilSelfTestSuite.java | 19 +- .../apache/ignite/util/GridRandomSelfTest.java | 4 +- modules/extdata/p2p/pom.xml | 2 +- .../tests/p2p/P2PTestTaskExternalPath1.java | 10 +- .../tests/p2p/P2PTestTaskExternalPath2.java | 8 +- modules/extdata/uri/pom.xml | 2 +- modules/gce/pom.xml | 4 +- .../gce/TcpDiscoveryGoogleStorageIpFinder.java | 43 +- modules/geospatial/pom.xml | 2 +- .../query/h2/GridH2IndexingGeoSelfTest.java | 20 +- modules/hadoop/pom.xml | 3 +- .../fs/IgniteHadoopFileSystemCounterWriter.java | 14 +- .../fs/IgniteHadoopIgfsSecondaryFileSystem.java | 165 +- .../hadoop/fs/v1/IgniteHadoopFileSystem.java | 137 +- .../hadoop/fs/v2/IgniteHadoopFileSystem.java | 32 +- .../processors/hadoop/HadoopDefaultJobInfo.java | 2 +- .../internal/processors/hadoop/HadoopUtils.java | 288 +- .../hadoop/SecondaryFileSystemProvider.java | 57 +- .../hadoop/fs/HadoopDistributedFileSystem.java | 91 - .../hadoop/fs/HadoopFileSystemsUtils.java | 17 - .../hadoop/fs/HadoopLazyConcurrentMap.java | 204 + .../processors/hadoop/igfs/HadoopIgfsEx.java | 6 + .../hadoop/igfs/HadoopIgfsInProc.java | 170 +- .../processors/hadoop/igfs/HadoopIgfsIpcIo.java | 2 +- .../hadoop/igfs/HadoopIgfsOutProc.java | 33 +- .../hadoop/igfs/HadoopIgfsWrapper.java | 19 +- .../hadoop/taskexecutor/HadoopRunnableTask.java | 20 +- .../processors/hadoop/v2/HadoopV2Context.java | 10 +- .../processors/hadoop/v2/HadoopV2Job.java | 31 +- .../hadoop/v2/HadoopV2JobResourceManager.java | 26 +- .../hadoop/v2/HadoopV2TaskContext.java | 52 +- .../hadoop/HadoopClientProtocolSelfTest.java | 6 +- .../HadoopIgfs20FileSystemAbstractSelfTest.java | 73 +- ...oopSecondaryFileSystemConfigurationTest.java | 18 +- .../igfs/IgfsNearOnlyMultiNodeSelfTest.java | 5 +- .../IgniteHadoopFileSystemAbstractSelfTest.java | 65 +- .../IgniteHadoopFileSystemClientSelfTest.java | 2 +- ...IgniteHadoopFileSystemHandshakeSelfTest.java | 7 + .../IgniteHadoopFileSystemIpcCacheSelfTest.java | 9 + .../hadoop/HadoopAbstractSelfTest.java | 19 +- .../hadoop/HadoopCommandLineTest.java | 14 +- .../hadoop/HadoopFileSystemsTest.java | 23 +- .../processors/hadoop/HadoopMapReduceTest.java | 183 +- .../hadoop/HadoopTaskExecutionSelfTest.java | 2 +- .../hadoop/HadoopTasksAllVersionsTest.java | 15 +- .../processors/hadoop/HadoopTasksV1Test.java | 5 +- .../processors/hadoop/HadoopTasksV2Test.java | 5 +- .../processors/hadoop/HadoopV2JobSelfTest.java | 6 +- .../collections/HadoopAbstractMapTest.java | 12 + .../collections/HadoopHashMapSelfTest.java | 4 +- .../collections/HadoopSkipListSelfTest.java | 4 +- .../HadoopExternalTaskExecutionSelfTest.java | 2 + .../HadoopExternalCommunicationSelfTest.java | 5 + .../testsuites/IgniteHadoopTestSuite.java | 9 +- modules/hibernate/pom.xml | 16 +- .../hibernate/CacheHibernateBlobStore.java | 87 +- .../CacheHibernateBlobStoreFactory.java | 235 + .../CacheHibernateStoreSessionListener.java | 216 + .../hibernate/src/test/config/factory-cache.xml | 59 + .../src/test/config/factory-cache1.xml | 61 + .../config/factory-incorrect-store-cache.xml | 56 + .../hibernate/HibernateL2CacheSelfTest.java | 5 + .../HibernateL2CacheTransactionalSelfTest.java | 5 + .../CacheHibernateStoreFactorySelfTest.java | 273 + ...heHibernateStoreSessionListenerSelfTest.java | 228 + .../testsuites/IgniteHibernateTestSuite.java | 8 +- modules/indexing/pom.xml | 18 +- .../processors/query/h2/IgniteH2Indexing.java | 142 +- .../query/h2/opt/GridH2AbstractKeyValueRow.java | 18 +- .../query/h2/opt/GridH2KeyValueRowOffheap.java | 4 +- .../query/h2/sql/GridSqlOperationType.java | 2 +- .../query/h2/sql/GridSqlQuerySplitter.java | 53 +- .../query/h2/twostep/GridMapQueryExecutor.java | 321 +- .../query/h2/twostep/GridMergeIndex.java | 17 +- .../h2/twostep/GridMergeIndexUnsorted.java | 7 +- .../h2/twostep/GridReduceQueryExecutor.java | 656 +- .../query/h2/twostep/GridResultPage.java | 21 +- .../CacheAbstractQueryMetricsSelfTest.java | 205 + .../CachePartitionedQueryMetricsSelfTest.java | 32 + .../CacheReplicatedQueryMetricsSelfTest.java | 32 + ...CacheScanPartitionQueryFallbackSelfTest.java | 408 + .../cache/GridCacheCrossCacheQuerySelfTest.java | 25 +- .../cache/GridCacheOffHeapAndSwapSelfTest.java | 11 +- .../cache/GridCacheOffHeapSelfTest.java | 12 +- .../GridCacheOffheapIndexEntryEvictTest.java | 200 + .../cache/GridCacheOffheapIndexGetSelfTest.java | 183 + .../cache/GridCacheQueryMetricsSelfTest.java | 152 - ...idCacheReduceQueryMultithreadedSelfTest.java | 10 - .../processors/cache/GridCacheSwapSelfTest.java | 3 - .../cache/GridIndexingWithNoopSwapSelfTest.java | 6 +- .../IgniteCacheAbstractFieldsQuerySelfTest.java | 13 +- .../cache/IgniteCacheAbstractQuerySelfTest.java | 85 +- ...acheConfigurationPrimitiveTypesSelfTest.java | 104 + .../cache/IgniteCacheOffheapEvictQueryTest.java | 196 + ...niteCacheP2pUnmarshallingQueryErrorTest.java | 57 + ...hePartitionedQueryMultiThreadedSelfTest.java | 40 +- ...QueryMultiThreadedOffHeapTieredSelfTest.java | 37 + .../IgniteCacheQueryMultiThreadedSelfTest.java | 44 +- ...lientQueryReplicatedNodeRestartSelfTest.java | 419 + .../IgniteCacheQueryNodeRestartSelfTest.java | 41 +- .../IgniteCacheQueryNodeRestartSelfTest2.java | 383 + .../local/IgniteCacheLocalQuerySelfTest.java | 6 + ...dCacheAbstractReduceFieldsQuerySelfTest.java | 1 - .../cache/ttl/CacheTtlAbstractSelfTest.java | 6 +- .../h2/GridIndexingSpiAbstractSelfTest.java | 4 +- .../query/h2/sql/BaseH2CompareQueryTest.java | 22 +- .../query/h2/sql/GridQueryParsingTest.java | 5 +- .../IgniteCacheQuerySelfTestSuite.java | 17 +- .../IgniteCacheWithIndexingTestSuite.java | 5 + modules/jcl/pom.xml | 2 +- modules/jta/pom.xml | 2 +- .../processors/cache/jta/CacheJtaManager.java | 4 +- .../cache/jta/GridCacheXAResource.java | 18 +- .../processors/cache/GridCacheJtaSelfTest.java | 2 +- modules/log4j/pom.xml | 2 +- modules/mesos/README.txt | 28 + modules/mesos/licenses/apache-2.0.txt | 202 + modules/mesos/licenses/jetty-epl-license.txt | 69 + modules/mesos/pom.xml | 101 + .../apache/ignite/mesos/ClusterProperties.java | 534 ++ .../apache/ignite/mesos/IgniteFramework.java | 119 + .../apache/ignite/mesos/IgniteScheduler.java | 365 + .../org/apache/ignite/mesos/IgniteTask.java | 86 + .../org/apache/ignite/mesos/package-info.java | 22 + .../ignite/mesos/resource/IgniteProvider.java | 234 + .../ignite/mesos/resource/JettyServer.java | 61 + .../ignite/mesos/resource/ResourceHandler.java | 142 + .../ignite/mesos/resource/ResourceProvider.java | 120 + .../ignite/mesos/resource/package-info.java | 22 + .../main/resources/ignite-default-config.xml | 35 + .../org/apache/ignite/IgniteMesosTestSuite.java | 38 + .../ignite/mesos/IgniteSchedulerSelfTest.java | 464 ++ modules/rest-http/pom.xml | 2 +- modules/scalar-2.10/README.txt | 4 + modules/scalar-2.10/licenses/apache-2.0.txt | 202 + .../scalar-2.10/licenses/scala-bsd-license.txt | 18 + modules/scalar-2.10/pom.xml | 197 + modules/scalar/pom.xml | 2 +- .../ignite/scalar/ScalarConversions.scala | 8 - .../scalar/tests/ScalarCacheQueriesSpec.scala | 154 +- .../ignite/scalar/tests/ScalarCacheSpec.scala | 23 +- .../scalar/tests/ScalarConversionsSpec.scala | 43 +- .../scalar/tests/ScalarProjectionSpec.scala | 128 +- .../scalar/tests/ScalarReturnableSpec.scala | 41 +- modules/schedule/pom.xml | 2 +- modules/schema-import/pom.xml | 2 +- .../ignite/schema/generator/CodeGenerator.java | 6 +- modules/slf4j/pom.xml | 2 +- modules/spark-2.10/README.txt | 4 + modules/spark-2.10/licenses/apache-2.0.txt | 202 + .../spark-2.10/licenses/scala-bsd-license.txt | 18 + modules/spark-2.10/pom.xml | 120 + modules/spark/README.txt | 8 + modules/spark/licenses/apache-2.0.txt | 202 + modules/spark/licenses/scala-bsd-license.txt | 18 + modules/spark/pom.xml | 110 + .../org/apache/ignite/spark/IgniteContext.scala | 119 + .../org/apache/ignite/spark/IgniteRDD.scala | 244 + .../apache/ignite/spark/JavaIgniteContext.scala | 63 + .../org/apache/ignite/spark/JavaIgniteRDD.scala | 99 + .../ignite/spark/impl/IgniteAbstractRDD.scala | 39 + .../ignite/spark/impl/IgnitePartition.scala | 24 + .../ignite/spark/impl/IgniteQueryIterator.scala | 27 + .../apache/ignite/spark/impl/IgniteSqlRDD.scala | 41 + .../spark/impl/JavaIgniteAbstractRDD.scala | 34 + .../ignite/spark/JavaIgniteRDDSelfTest.java | 298 + .../scala/org/apache/ignite/spark/Entity.scala | 28 + .../org/apache/ignite/spark/IgniteRddSpec.scala | 231 + modules/spring/pom.xml | 23 +- .../spring/CacheSpringStoreSessionListener.java | 207 + .../GridResourceSpringBeanInjector.java | 2 +- .../util/spring/IgniteSpringHelperImpl.java | 17 + .../src/test/config/incorrect-store-cache.xml | 57 + modules/spring/src/test/config/node.xml | 43 + modules/spring/src/test/config/node1.xml | 45 + .../test/config/pojo-incorrect-store-cache.xml | 56 + modules/spring/src/test/config/store-cache.xml | 59 + modules/spring/src/test/config/store-cache1.xml | 62 + .../jdbc/CacheJdbcBlobStoreFactorySelfTest.java | 172 + .../jdbc/CacheJdbcPojoStoreFactorySelfTest.java | 193 + ...CacheSpringStoreSessionListenerSelfTest.java | 197 + .../testsuites/IgniteSpringTestSuite.java | 8 + modules/ssh/pom.xml | 2 +- modules/tools/pom.xml | 2 +- .../ignite/tools/classgen/ClassesGenerator.java | 30 +- modules/urideploy/pom.xml | 2 +- modules/visor-console-2.10/README.txt | 4 + modules/visor-console-2.10/pom.xml | 174 + .../licenses/jcraft-revised-bsd.txt | 28 - modules/visor-console/pom.xml | 4 +- .../commands/cache/VisorCacheScanCommand.scala | 2 +- .../visor/commands/node/VisorNodeCommand.scala | 2 +- .../commands/tasks/VisorTasksCommand.scala | 2 +- .../scala/org/apache/ignite/visor/visor.scala | 63 +- .../ignite/visor/VisorRuntimeBaseSpec.scala | 2 +- .../visor/commands/VisorArgListSpec.scala | 60 +- .../commands/VisorFileNameCompleterSpec.scala | 34 +- .../commands/ack/VisorAckCommandSpec.scala | 20 +- .../commands/alert/VisorAlertCommandSpec.scala | 68 +- .../cache/VisorCacheClearCommandSpec.scala | 48 +- .../commands/cache/VisorCacheCommandSpec.scala | 66 +- .../config/VisorConfigurationCommandSpec.scala | 8 +- .../cswap/VisorCacheSwapCommandSpec.scala | 24 +- .../deploy/VisorDeployCommandSpec.scala | 10 +- .../disco/VisorDiscoveryCommandSpec.scala | 46 +- .../events/VisorEventsCommandSpec.scala | 28 +- .../visor/commands/gc/VisorGcCommandSpec.scala | 30 +- .../commands/help/VisorHelpCommandSpec.scala | 57 +- .../commands/kill/VisorKillCommandSpec.scala | 58 +- .../commands/log/VisorLogCommandSpec.scala | 10 +- .../commands/mem/VisorMemoryCommandSpec.scala | 77 +- .../commands/node/VisorNodeCommandSpec.scala | 22 +- .../commands/open/VisorOpenCommandSpec.scala | 16 +- .../commands/ping/VisorPingCommandSpec.scala | 16 +- .../commands/start/VisorStartCommandSpec.scala | 126 +- .../commands/tasks/VisorTasksCommandSpec.scala | 112 +- .../commands/top/VisorTopologyCommandSpec.scala | 52 +- .../commands/vvm/VisorVvmCommandSpec.scala | 30 +- modules/visor-plugins/pom.xml | 2 +- modules/web/pom.xml | 2 +- .../IgniteWebSessionSelfTestSuite.java | 2 +- .../config/benchmark-client-mode.properties | 89 + modules/yardstick/pom.xml | 2 +- parent/pom.xml | 13 + pom.xml | 67 +- scripts/git-apply-patch.sh | 8 +- scripts/git-format-patch.sh | 16 +- scripts/git-patch-functions.sh | 36 +- scripts/git-patch-prop.sh | 2 +- 948 files changed, 59794 insertions(+), 28761 deletions(-) ----------------------------------------------------------------------