Merge remote-tracking branch 'apache/ignite-2.0' into ignite-4490 # Conflicts: # modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheUpdateSqlQuerySelfTest.java
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5982e39a Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5982e39a Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5982e39a Branch: refs/heads/ignite-6022-proto Commit: 5982e39a7bbf5c40ffc614f7efe6302338c93710 Parents: 8c785cc aa46bc7 Author: Alexander Paschenko <[email protected]> Authored: Wed Feb 8 18:40:38 2017 +0300 Committer: Alexander Paschenko <[email protected]> Committed: Wed Feb 8 18:40:38 2017 +0300 ---------------------------------------------------------------------- .gitignore | 2 +- DEVNOTES.txt | 3 + assembly/dependencies-fabric-lgpl.xml | 1 + assembly/dependencies-fabric.xml | 1 + .../tcp/ipfinder/s3/TcpDiscoveryS3IpFinder.java | 37 +- .../TcpDiscoveryS3IpFinderAbstractSelfTest.java | 84 ++ ...3IpFinderAwsCredentialsProviderSelfTest.java | 46 + ...scoveryS3IpFinderAwsCredentialsSelfTest.java | 45 + .../s3/TcpDiscoveryS3IpFinderSelfTest.java | 79 -- .../ignite/testsuites/IgniteS3TestSuite.java | 26 +- .../stream/camel/IgniteCamelStreamerTest.java | 4 +- .../cassandra/persistence/PojoKeyField.java | 2 +- .../ClientAbstractMultiNodeSelfTest.java | 8 +- ...BinaryMarshallerInsertStatementSelfTest.java | 2 - ...cBinaryMarshallerMergeStatementSelfTest.java | 2 - .../internal/jdbc2/JdbcMetadataSelfTest.java | 2 +- .../ignite/jdbc/JdbcMetadataSelfTest.java | 4 +- .../jdbc/suite/IgniteJdbcDriverTestSuite.java | 3 +- modules/cloud/pom.xml | 6 +- .../ignite/codegen/MessageCodeGenerator.java | 2 +- .../java/org/apache/ignite/IgniteLogger.java | 4 +- .../apache/ignite/IgniteSystemProperties.java | 13 + .../org/apache/ignite/cache/QueryEntity.java | 1 - .../ignite/cache/affinity/AffinityKey.java | 4 +- .../ignite/cache/query/SqlFieldsQuery.java | 6 + .../store/jdbc/CacheAbstractJdbcStore.java | 11 +- .../store/jdbc/CacheJdbcBlobStoreFactory.java | 2 +- .../store/jdbc/JdbcTypesDefaultTransformer.java | 19 + .../cache/store/jdbc/JdbcTypesTransformer.java | 17 + .../store/jdbc/dialect/BasicJdbcDialect.java | 31 +- .../configuration/CacheConfiguration.java | 4 +- .../configuration/HadoopConfiguration.java | 2 +- .../configuration/IgniteConfiguration.java | 110 ++- .../org/apache/ignite/events/CacheEvent.java | 6 +- .../ignite/events/CacheQueryReadEvent.java | 8 +- .../apache/ignite/hadoop/HadoopInputSplit.java | 54 ++ .../org/apache/ignite/hadoop/HadoopJob.java | 74 ++ .../ignite/hadoop/HadoopMapReducePlan.java | 80 ++ .../ignite/hadoop/HadoopMapReducePlanner.java | 40 + .../igfs/IgfsGroupDataBlocksKeyMapper.java | 17 +- .../igfs/secondary/IgfsSecondaryFileSystem.java | 28 + .../local/LocalIgfsSecondaryFileSystem.java | 130 ++- .../apache/ignite/internal/GridComponent.java | 48 +- .../ignite/internal/GridKernalContext.java | 29 +- .../ignite/internal/GridKernalContextImpl.java | 58 +- .../ignite/internal/GridPluginComponent.java | 21 +- .../org/apache/ignite/internal/GridTopic.java | 3 + .../ignite/internal/IgniteComputeImpl.java | 2 + .../apache/ignite/internal/IgniteKernal.java | 34 +- .../org/apache/ignite/internal/IgnitionEx.java | 89 +- .../ignite/internal/MappingStoreTask.java | 58 ++ .../internal/MarshallerContextAdapter.java | 211 ----- .../ignite/internal/MarshallerContextImpl.java | 664 +++++++++----- .../internal/MarshallerMappingFileStore.java | 174 ++++ .../ignite/internal/MarshallerPlatformIds.java | 30 + .../ignite/internal/binary/BinaryContext.java | 12 +- .../internal/binary/BinaryEnumObjectImpl.java | 14 +- .../internal/binary/BinaryMarshaller.java | 1 - .../ignite/internal/binary/BinaryMetadata.java | 5 +- .../internal/binary/BinaryObjectExImpl.java | 8 +- .../ignite/internal/binary/BinaryTypeProxy.java | 15 +- .../ignite/internal/binary/BinaryUtils.java | 4 +- .../GridClientConnectionManagerAdapter.java | 7 +- .../impl/connection/GridClientTopology.java | 53 +- .../GridClientOptimizedMarshaller.java | 16 +- .../impl/GridRouterCommandLineStartup.java | 4 +- .../cluster/ClusterNodeLocalMapImpl.java | 1 - .../igfs/common/IgfsHandshakeRequest.java | 17 - .../internal/igfs/common/IgfsMarshaller.java | 6 +- .../internal/jdbc2/JdbcSqlFieldsQuery.java | 1 - .../ignite/internal/jdbc2/JdbcStatement.java | 2 - .../internal/managers/GridManagerAdapter.java | 19 +- .../managers/communication/GridIoManager.java | 8 +- .../communication/GridIoMessageFactory.java | 12 + .../managers/communication/GridIoPolicy.java | 13 +- .../discovery/GridDiscoveryManager.java | 85 +- .../internal/mxbean/IgniteStandardMXBean.java | 12 +- .../processors/GridProcessorAdapter.java | 21 +- .../cache/CacheEvictableEntryImpl.java | 4 +- .../cache/CacheInvokeDirectResult.java | 2 +- .../processors/cache/CacheInvokeResult.java | 2 +- .../processors/cache/CacheLazyEntry.java | 4 +- .../processors/cache/CacheMetricsImpl.java | 10 +- .../processors/cache/CacheObjectAdapter.java | 7 +- .../internal/processors/cache/CacheType.java | 8 +- .../processors/cache/GridCacheAdapter.java | 46 +- .../cache/GridCacheAffinityManager.java | 60 +- .../processors/cache/GridCacheAtomicFuture.java | 3 +- .../processors/cache/GridCacheContext.java | 17 - .../cache/GridCacheDeploymentManager.java | 4 +- .../cache/GridCacheEvictionManager.java | 6 +- .../cache/GridCacheMvccCandidate.java | 9 +- .../GridCachePartitionExchangeManager.java | 2 +- .../processors/cache/GridCacheProcessor.java | 288 +++--- .../processors/cache/GridCacheReturn.java | 2 +- .../processors/cache/GridCacheSwapManager.java | 2 +- .../processors/cache/GridCacheTtlManager.java | 5 +- .../processors/cache/GridCacheUtils.java | 35 +- .../processors/cache/IgniteCacheProxy.java | 2 +- .../processors/cache/QueryCursorImpl.java | 6 +- .../cache/affinity/GridCacheAffinityImpl.java | 16 +- .../binary/CacheObjectBinaryProcessorImpl.java | 2 +- .../CacheDataStructuresManager.java | 2 +- .../GridDistributedCacheAdapter.java | 9 +- .../distributed/GridDistributedCacheEntry.java | 3 - .../GridDistributedLockResponse.java | 1 - .../dht/GridClientPartitionTopology.java | 1 - .../dht/GridDhtAssignmentFetchFuture.java | 3 +- .../distributed/dht/GridDhtCacheAdapter.java | 16 +- .../distributed/dht/GridDhtCacheEntry.java | 2 +- .../distributed/dht/GridDhtGetSingleFuture.java | 2 +- .../distributed/dht/GridDhtLocalPartition.java | 6 +- .../distributed/dht/GridDhtLockFuture.java | 35 +- .../dht/GridDhtPartitionTopology.java | 1 - .../dht/GridDhtPartitionTopologyImpl.java | 6 +- .../dht/GridDhtTransactionalCacheAdapter.java | 21 +- .../distributed/dht/GridDhtTxFinishFuture.java | 8 +- .../cache/distributed/dht/GridDhtTxLocal.java | 1 - .../distributed/dht/GridDhtTxLocalAdapter.java | 11 +- .../distributed/dht/GridDhtTxPrepareFuture.java | 13 +- .../cache/distributed/dht/GridDhtTxRemote.java | 2 +- .../distributed/dht/GridDhtUnlockRequest.java | 3 +- .../dht/GridPartitionedGetFuture.java | 3 +- .../dht/GridPartitionedSingleGetFuture.java | 4 +- .../GridDhtAtomicAbstractUpdateFuture.java | 2 +- .../dht/atomic/GridDhtAtomicCache.java | 22 +- .../GridNearAtomicAbstractUpdateFuture.java | 34 +- .../atomic/GridNearAtomicFullUpdateRequest.java | 1 - .../GridNearAtomicSingleUpdateFuture.java | 46 +- .../dht/atomic/GridNearAtomicUpdateFuture.java | 61 +- .../dht/colocated/GridDhtColocatedCache.java | 16 +- .../colocated/GridDhtColocatedLockFuture.java | 14 +- .../dht/preloader/GridDhtForceKeysFuture.java | 8 +- .../dht/preloader/GridDhtPartitionDemander.java | 16 +- .../dht/preloader/GridDhtPartitionMap2.java | 3 +- .../dht/preloader/GridDhtPartitionSupplier.java | 12 +- .../GridDhtPartitionsExchangeFuture.java | 13 +- .../dht/preloader/GridDhtPreloader.java | 4 +- .../distributed/near/GridNearAtomicCache.java | 3 +- .../distributed/near/GridNearCacheEntry.java | 6 +- .../distributed/near/GridNearGetFuture.java | 12 +- .../distributed/near/GridNearGetRequest.java | 77 +- .../distributed/near/GridNearLockFuture.java | 11 +- .../distributed/near/GridNearLockRequest.java | 81 +- ...arOptimisticSerializableTxPrepareFuture.java | 4 +- .../near/GridNearOptimisticTxPrepareFuture.java | 13 +- ...ridNearOptimisticTxPrepareFutureAdapter.java | 13 + .../GridNearPessimisticTxPrepareFuture.java | 2 +- .../near/GridNearSingleGetRequest.java | 57 +- .../near/GridNearTransactionalCache.java | 8 +- .../near/GridNearTxFinishFuture.java | 15 +- .../cache/distributed/near/GridNearTxLocal.java | 17 +- .../processors/cache/local/GridLocalCache.java | 1 + .../local/atomic/GridLocalAtomicCache.java | 1 + .../processors/cache/query/CacheQuery.java | 1 - .../cache/query/GridCacheQueryAdapter.java | 12 +- .../cache/query/GridCacheQueryManager.java | 26 +- .../cache/query/GridCacheQueryRequest.java | 2 + .../cache/query/GridCacheSqlQuery.java | 6 +- .../continuous/CacheContinuousQueryEvent.java | 8 +- .../continuous/CacheContinuousQueryHandler.java | 4 +- .../continuous/CacheContinuousQueryManager.java | 6 +- .../store/GridCacheStoreManagerAdapter.java | 30 +- .../cache/store/GridCacheWriteBehindStore.java | 2 +- .../cache/transactions/IgniteTxAdapter.java | 4 +- .../cache/transactions/IgniteTxEntry.java | 2 +- .../cache/transactions/IgniteTxHandler.java | 6 +- .../transactions/IgniteTxLocalAdapter.java | 53 +- .../cache/transactions/IgniteTxLocalEx.java | 3 + .../cache/transactions/IgniteTxManager.java | 3 +- .../cache/transactions/IgniteTxStateImpl.java | 1 - .../cache/transactions/TxDeadlockDetection.java | 2 +- .../cache/transactions/TxEntryValueHolder.java | 6 +- .../GridCacheVersionConflictContext.java | 2 +- .../IgniteCacheObjectProcessorImpl.java | 7 +- .../processors/clock/GridClockServer.java | 4 +- .../closure/GridClosureProcessor.java | 6 +- .../processors/cluster/ClusterProcessor.java | 53 +- .../continuous/GridContinuousMessage.java | 2 +- .../continuous/GridContinuousProcessor.java | 144 ++- .../datastreamer/DataStreamProcessor.java | 62 +- .../datastreamer/DataStreamerImpl.java | 43 +- .../datastructures/CollocatedSetItemKey.java | 2 +- .../GridCacheAtomicLongValue.java | 2 + .../GridCacheAtomicSequenceImpl.java | 2 + .../GridCacheAtomicSequenceValue.java | 2 + .../GridCacheCountDownLatchValue.java | 3 + .../datastructures/GridCacheSetImpl.java | 2 +- .../datastructures/GridCacheSetItemKey.java | 2 +- .../datastructures/GridSetQueryPredicate.java | 2 +- .../processors/hadoop/HadoopClasspathUtils.java | 4 +- .../processors/hadoop/HadoopDefaultJobInfo.java | 9 +- .../processors/hadoop/HadoopFileBlock.java | 1 + .../processors/hadoop/HadoopInputSplit.java | 54 -- .../internal/processors/hadoop/HadoopJob.java | 107 --- .../internal/processors/hadoop/HadoopJobEx.java | 140 +++ .../processors/hadoop/HadoopJobInfo.java | 54 +- .../processors/hadoop/HadoopJobProperty.java | 9 +- .../processors/hadoop/HadoopMapReducePlan.java | 80 -- .../hadoop/HadoopMapReducePlanner.java | 40 - .../processors/hadoop/HadoopTaskContext.java | 16 +- .../processors/hadoop/HadoopTaskInfo.java | 1 + .../hadoop/counter/HadoopCounterWriter.java | 4 +- .../shuffle/HadoopDirectShuffleMessage.java | 34 +- .../processors/igfs/IgfsBaseBlockKey.java | 42 + .../internal/processors/igfs/IgfsBlockKey.java | 26 +- .../processors/igfs/IgfsBlockLocationImpl.java | 55 ++ .../processors/igfs/IgfsDataManager.java | 12 +- .../internal/processors/igfs/IgfsFileImpl.java | 5 +- .../internal/processors/igfs/IgfsImpl.java | 26 +- .../processors/igfs/IgfsIpcHandler.java | 4 - .../processors/igfs/IgfsKernalContextAware.java | 32 - .../processors/igfs/IgfsMetaManager.java | 2 +- .../internal/processors/igfs/IgfsProcessor.java | 3 +- .../igfs/IgfsSecondaryFileSystemImpl.java | 10 +- .../igfs/IgfsSecondaryFileSystemV2.java | 40 - .../internal/processors/igfs/IgfsUtils.java | 105 +++ .../igfs/client/IgfsClientSizeCallable.java | 1 - .../local/LocalFileSystemBlockKey.java | 103 +++ .../local/LocalFileSystemIgfsFile.java | 10 +- .../LocalFileSystemPositionedReadable.java | 65 ++ ...fsSecondaryFileSystemPositionedReadable.java | 65 -- .../processors/job/GridJobProcessor.java | 2 +- .../internal/processors/job/GridJobWorker.java | 7 +- .../marshaller/ClientRequestFuture.java | 183 ++++ .../GridMarshallerMappingProcessor.java | 348 +++++++ .../processors/marshaller/MappedName.java | 63 ++ .../marshaller/MappingAcceptedMessage.java | 71 ++ .../marshaller/MappingExchangeResult.java | 96 ++ .../marshaller/MappingProposedMessage.java | 137 +++ .../marshaller/MarshallerMappingItem.java | 99 ++ .../marshaller/MarshallerMappingTransport.java | 212 +++++ .../MissingMappingRequestMessage.java | 146 +++ .../MissingMappingResponseMessage.java | 169 ++++ .../internal/processors/odbc/IgniteTypes.java | 69 ++ .../odbc/OdbcQueryExecuteRequest.java | 6 +- .../internal/processors/odbc/OdbcTypes.java | 131 +++ .../internal/processors/odbc/OdbcUtils.java | 85 ++ .../processors/odbc/escape/OdbcEscapeUtils.java | 52 +- .../platform/PlatformAbstractBootstrap.java | 3 +- .../platform/PlatformConfigurationEx.java | 3 +- .../platform/PlatformNativeException.java | 3 +- .../platform/PlatformNoopProcessor.java | 5 + .../platform/PlatformPluginExtension.java | 39 + .../processors/platform/PlatformProcessor.java | 7 + .../platform/PlatformProcessorImpl.java | 62 +- .../platform/cache/PlatformCache.java | 23 +- .../callback/PlatformCallbackGateway.java | 96 ++ .../platform/callback/PlatformCallbackOp.java | 18 + .../plugin/PlatformPluginProcessor.java | 46 + .../cache/PlatformCachePluginConfiguration.java | 58 ++ .../cache/PlatformCachePluginProvider.java | 123 +++ .../transactions/PlatformTransactions.java | 9 + .../utils/PlatformConfigurationUtils.java | 158 +++- .../platform/utils/PlatformUtils.java | 58 +- .../processors/plugin/CachePluginManager.java | 8 +- .../plugin/IgnitePluginProcessor.java | 84 +- .../internal/processors/pool/PoolProcessor.java | 15 +- .../processors/query/GridQueryProcessor.java | 39 +- .../processors/resource/GridResourceIoc.java | 6 +- .../resource/GridResourceProcessor.java | 32 +- .../processors/rest/GridRestResponse.java | 2 +- .../handlers/cache/GridCacheCommandHandler.java | 2 - .../string/GridRedisSetCommandHandler.java | 2 +- .../service/GridServiceProcessor.java | 9 +- .../processors/task/GridTaskWorker.java | 2 +- .../internal/util/GridStripedSpinBusyLock.java | 2 +- .../ignite/internal/util/HostAndPortRange.java | 2 +- .../ignite/internal/util/IgniteUtils.java | 73 +- .../ignite/internal/util/StripedExecutor.java | 2 +- .../internal/util/future/GridFutureAdapter.java | 2 +- .../util/lang/GridMetadataAwareAdapter.java | 2 +- .../ignite/internal/util/nio/GridNioServer.java | 159 +++- .../util/tostring/GridToStringBuilder.java | 656 ++++++++++++-- .../util/tostring/GridToStringInclude.java | 12 +- .../util/tostring/GridToStringThreadLocal.java | 12 +- .../visor/node/VisorIgfsConfiguration.java | 1 - .../query/VisorQueryScanSubstringFilter.java | 5 +- .../internal/visor/query/VisorQueryUtils.java | 60 ++ .../ignite/marshaller/MarshallerContext.java | 23 +- .../ignite/marshaller/jdk/JdkMarshaller.java | 1 - .../optimized/OptimizedClassDescriptor.java | 2 +- .../optimized/OptimizedMarshallerUtils.java | 16 +- .../ignite/resources/FileSystemResource.java | 62 ++ .../communication/tcp/TcpCommunicationSpi.java | 22 +- .../tcp/TcpCommunicationSpiMBean.java | 6 +- .../ignite/spi/discovery/DiscoveryDataBag.java | 299 ++++++ .../spi/discovery/DiscoverySpiDataExchange.java | 15 +- .../ignite/spi/discovery/tcp/ClientImpl.java | 30 +- .../ignite/spi/discovery/tcp/ServerImpl.java | 105 +-- .../spi/discovery/tcp/TcpDiscoverySpi.java | 71 +- .../tcp/internal/DiscoveryDataPacket.java | 345 +++++++ .../tcp/internal/TcpDiscoveryStatistics.java | 8 +- .../TcpDiscoveryJoinRequestMessage.java | 18 +- .../TcpDiscoveryNodeAddFinishedMessage.java | 10 +- .../messages/TcpDiscoveryNodeAddedMessage.java | 78 +- .../apache/ignite/spi/indexing/IndexingSpi.java | 3 + .../roundrobin/RoundRobinLoadBalancingSpi.java | 16 +- .../resources/META-INF/classnames.properties | 5 +- .../org.apache.ignite.plugin.PluginProvider | 1 + .../CacheJdbcPojoStoreAbstractSelfTest.java | 21 +- .../store/jdbc/CacheJdbcPojoStoreTest.java | 48 +- ...eJdbcStoreAbstractMultithreadedSelfTest.java | 17 +- .../ignite/cache/store/jdbc/model/Gender.java | 41 + .../ignite/cache/store/jdbc/model/Person.java | 33 +- .../internal/ClusterGroupHostsSelfTest.java | 6 +- .../ComputeJobCancelWithServiceSelfTest.java | 2 +- .../ignite/internal/GridAffinitySelfTest.java | 2 +- .../internal/GridContinuousTaskSelfTest.java | 4 +- .../GridEventStorageCheckAllEventsSelfTest.java | 2 +- .../IgniteClientReconnectApiExceptionTest.java | 6 +- ...niteClientReconnectFailoverAbstractTest.java | 4 +- .../MarshallerContextLockingSelfTest.java | 61 +- .../internal/binary/BinaryEnumsSelfTest.java | 18 + .../binary/BinaryMarshallerSelfTest.java | 20 +- ...GridBinaryMarshallerCtxDisabledSelfTest.java | 42 +- ...mmunicationBalancePairedConnectionsTest.java | 28 + .../IgniteCommunicationBalanceTest.java | 25 +- .../GridDiscoveryManagerAliveCacheSelfTest.java | 3 +- .../GridDiscoveryManagerAttributesSelfTest.java | 4 +- .../BinaryObjectOffHeapUnswapTemporaryTest.java | 1 - .../cache/CacheAffinityCallSelfTest.java | 8 +- .../cache/CacheEntryProcessorCopySelfTest.java | 6 +- .../cache/CacheGetEntryAbstractTest.java | 2 +- .../CacheSerializableTransactionsTest.java | 6 +- .../CacheStartupInDeploymentModesTest.java | 7 +- .../cache/CacheStopAndDestroySelfTest.java | 6 +- .../cache/GridCacheAbstractFullApiSelfTest.java | 6 +- .../cache/GridCacheBasicStoreAbstractTest.java | 2 +- .../cache/GridCacheEntryMemorySizeSelfTest.java | 8 +- .../cache/GridCacheMvccPartitionedSelfTest.java | 48 +- .../processors/cache/GridCacheMvccSelfTest.java | 208 ++--- .../processors/cache/GridCacheStopSelfTest.java | 4 +- .../processors/cache/GridCacheTestEntryEx.java | 3 +- .../cache/GridCacheUtilsSelfTest.java | 2 +- ...ProjectionForCachesOnDaemonNodeSelfTest.java | 8 +- .../IgniteCacheConfigVariationsFullApiTest.java | 8 +- .../cache/IgniteCachePeekModesAbstractTest.java | 8 +- .../cache/IgniteCacheStoreCollectionTest.java | 1 - .../cache/IgniteInternalCacheTypesTest.java | 11 - ...iteMarshallerCacheClassNameConflictTest.java | 273 ++++++ ...lerCacheClientRequestsMappingOnMissTest.java | 345 +++++++ .../cache/IgniteSystemCacheOnClientTest.java | 23 +- ...gniteTopologyValidatorAbstractCacheTest.java | 6 +- .../processors/cache/IgniteTxAbstractTest.java | 3 +- .../cache/IgniteTxConfigCacheSelfTest.java | 2 +- .../IgniteTxExceptionAbstractSelfTest.java | 3 +- .../IgniteTxMultiThreadedAbstractTest.java | 4 +- .../CacheKeepBinaryWithInterceptorTest.java | 1 - .../GridBinaryCacheEntryMemorySizeSelfTest.java | 21 +- ...yAtomicEntryProcessorDeploymentSelfTest.java | 4 +- .../GridCacheBinaryObjectsAbstractSelfTest.java | 7 +- ...IgniteCacheAbstractExecutionContextTest.java | 2 - ...eAbstractDataStructuresFailoverSelfTest.java | 16 +- ...actQueueFailoverDataConsistencySelfTest.java | 2 +- .../IgniteLockAbstractSelfTest.java | 24 +- .../CacheGetFutureHangsSelfTest.java | 6 +- .../CacheLateAffinityAssignmentTest.java | 2 +- ...ridCachePartitionNotLoadedEventSelfTest.java | 4 +- ...cMessageRecoveryNoPairedConnectionsTest.java | 47 - ...micMessageRecoveryPairedConnectionsTest.java | 47 + ...niteCacheClientNodeChangingTopologyTest.java | 20 +- .../IgniteCacheSystemTransactionsSelfTest.java | 18 +- ...teSynchronizationModesMultithreadedTest.java | 8 +- .../GridCacheDhtEvictionsDisabledSelfTest.java | 5 +- .../IgniteCacheCrossCacheTxFailoverTest.java | 6 +- ...ePrimaryNodeFailureRecoveryAbstractTest.java | 4 +- ...gniteCachePutRetryTransactionalSelfTest.java | 4 +- .../AtomicPutAllChangingTopologyTest.java | 212 +++++ ...eAtomicInvalidPartitionHandlingSelfTest.java | 4 +- ...idCacheNearOnlyMultiNodeFullApiSelfTest.java | 4 +- ...achePartitionedMultiNodeFullApiSelfTest.java | 8 +- .../GridCacheReplicatedNodeRestartSelfTest.java | 3 +- .../GridCacheReplicatedPreloadSelfTest.java | 1 - .../IgniteCacheExpiryPolicyAbstractTest.java | 4 +- ...eCacheExpiryPolicyWithStoreAbstractTest.java | 100 ++- .../IgniteCacheTxExpiryPolicyWithStoreTest.java | 21 + .../IgniteCacheQueryCacheDestroySelfTest.java | 142 +++ .../cache/query/IndexingSpiQuerySelfTest.java | 199 +++- ...ContinuousQueryFailoverAbstractSelfTest.java | 6 +- ...ridCacheContinuousQueryAbstractSelfTest.java | 2 +- ...dCacheContinuousQueryNodesFilteringTest.java | 2 +- ...IgniteCacheContinuousQueryReconnectTest.java | 12 +- .../TxDeadlockDetectionNoHangsTest.java | 2 +- .../transactions/TxDeadlockDetectionTest.java | 2 +- .../TxOptimisticDeadlockDetectionTest.java | 2 +- .../TxPessimisticDeadlockDetectionTest.java | 2 +- ...ComputeJobExecutionErrorToLogManualTest.java | 4 +- .../DataStreamProcessorSelfTest.java | 104 +++ .../datastreamer/DataStreamerImplSelfTest.java | 8 +- .../datastreamer/DataStreamerTimeoutTest.java | 6 +- .../processors/igfs/IgfsAbstractSelfTest.java | 50 +- .../igfs/IgfsDualAbstractSelfTest.java | 26 +- .../processors/igfs/IgfsFileInfoSelfTest.java | 4 +- ...SecondaryFileSystemDualAbstractSelfTest.java | 5 - ...fsLocalSecondaryFileSystemProxySelfTest.java | 81 ++ ...IgfsLocalSecondaryFileSystemTestAdapter.java | 7 +- .../igfs/IgfsMetaManagerSelfTest.java | 3 +- .../igfs/IgfsModeResolverSelfTest.java | 10 +- ...gfsSecondaryFileSystemInjectionSelfTest.java | 270 ++++++ .../processors/igfs/IgfsTaskSelfTest.java | 87 +- .../igfs/benchmark/IgfsBenchmark.java | 4 +- .../odbc/OdbcEscapeSequenceSelfTest.java | 131 +++ .../cache/GridCacheCommandHandlerSelfTest.java | 1 - ...rviceDeploymentExceptionPropagationTest.java | 2 +- .../GridServiceProcessorStopSelfTest.java | 2 +- .../service/IgniteServiceReassignmentTest.java | 2 +- .../internal/util/IgniteUtilsSelfTest.java | 71 +- .../unsafe/GridOffheapSnapTreeSelfTest.java | 7 +- .../tostring/GridToStringBuilderSelfTest.java | 33 +- .../lang/GridMetadataAwareAdapterSelfTest.java | 4 +- .../marshaller/MarshallerContextSelfTest.java | 144 ++- .../marshaller/MarshallerContextTestImpl.java | 34 +- .../OptimizedMarshallerEnumSelfTest.java | 25 +- .../p2p/GridP2PSameClassLoaderSelfTest.java | 14 +- .../platform/PlatformComputeEchoTask.java | 12 + .../platform/PlatformEventsWriteEventTask.java | 9 - .../ignite/platform/PlatformExceptionTask.java | 78 ++ .../platform/plugin/PlatformTestPlugin.java | 27 + .../plugin/PlatformTestPluginExtension.java | 51 ++ .../plugin/PlatformTestPluginProvider.java | 97 ++ .../plugin/PlatformTestPluginTarget.java | 90 ++ .../local/GridLocalDeploymentSpiSelfTest.java | 6 +- .../discovery/AbstractDiscoverySelfTest.java | 7 +- ...lientDiscoverySpiFailureTimeoutSelfTest.java | 4 +- .../spi/discovery/tcp/TcpDiscoverySelfTest.java | 111 ++- .../TcpDiscoverySpiFailureTimeoutSelfTest.java | 14 +- .../tcp/TcpDiscoverySpiStartStopSelfTest.java | 11 +- .../GridSwapSpaceSpiAbstractSelfTest.java | 3 +- .../testframework/GridSpiTestContext.java | 5 +- .../ignite/testframework/IgniteTestSuite.java | 2 +- .../testframework/junits/GridAbstractTest.java | 13 +- .../junits/GridTestKernalContext.java | 12 +- .../junits/spi/GridSpiAbstractTest.java | 9 +- .../ignite/testsuites/IgniteBasicTestSuite.java | 2 +- .../testsuites/IgniteBinaryBasicTestSuite.java | 5 + .../IgniteCacheDataStructuresSelfTestSuite.java | 2 - .../IgniteCacheFailoverTestSuite.java | 3 + .../ignite/testsuites/IgniteCacheTestSuite.java | 6 +- .../ignite/testsuites/IgniteIgfsTestSuite.java | 3 + ...essagingConfigVariationFullApiTestSuite.java | 4 +- .../ignite/thread/IgniteThreadPoolSizeTest.java | 8 - .../ignite/util/mbeans/GridMBeanSelfTest.java | 10 +- .../CacheNoValueClassOnServerTestClient.java | 3 +- .../CacheConfigurationP2PTestClient.java | 3 +- .../apache/ignite/stream/flume/IgniteSink.java | 7 +- modules/gce/pom.xml | 4 +- .../gce/TcpDiscoveryGoogleStorageIpFinder.java | 4 +- .../fs/IgniteHadoopFileSystemCounterWriter.java | 6 +- .../fs/IgniteHadoopIgfsSecondaryFileSystem.java | 23 +- .../io/BytesWritablePartiallyRawComparator.java | 51 ++ .../hadoop/io/TextPartiallyRawComparator.java | 68 +- .../mapreduce/IgniteHadoopMapReducePlanner.java | 416 --------- .../IgniteHadoopWeightedMapReducePlanner.java | 15 +- .../planner/HadoopAbstractMapReducePlanner.java | 118 +++ .../planner/HadoopTestRoundRobinMrPlanner.java | 75 ++ .../processors/hadoop/HadoopCommonUtils.java | 1 + .../processors/hadoop/HadoopContext.java | 2 + .../processors/hadoop/HadoopExternalSplit.java | 1 + .../processors/hadoop/HadoopProcessor.java | 4 +- .../processors/hadoop/HadoopSplitWrapper.java | 1 + .../HadoopFileSystemCounterWriterDelegate.java | 4 +- .../HadoopIgfsSecondaryFileSystemDelegate.java | 4 +- .../hadoop/igfs/HadoopIgfsEndpoint.java | 42 +- .../processors/hadoop/impl/HadoopUtils.java | 66 ++ .../HadoopBasicFileSystemFactoryDelegate.java | 2 +- ...doopFileSystemCounterWriterDelegateImpl.java | 4 +- ...doopIgfsSecondaryFileSystemDelegateImpl.java | 61 +- .../hadoop/impl/igfs/HadoopIgfsInProc.java | 40 +- .../hadoop/impl/igfs/HadoopIgfsJclLogger.java | 9 +- .../hadoop/impl/igfs/HadoopIgfsOutProc.java | 24 +- .../hadoop/impl/igfs/HadoopIgfsWrapper.java | 33 +- .../hadoop/impl/v1/HadoopV1MapTask.java | 95 +- .../hadoop/impl/v1/HadoopV1ReduceTask.java | 73 +- .../hadoop/impl/v1/HadoopV1Splitter.java | 2 +- .../hadoop/impl/v2/HadoopV2Context.java | 14 +- .../processors/hadoop/impl/v2/HadoopV2Job.java | 15 +- .../hadoop/impl/v2/HadoopV2MapTask.java | 18 +- .../hadoop/impl/v2/HadoopV2ReduceTask.java | 14 + .../hadoop/impl/v2/HadoopV2Splitter.java | 2 +- .../hadoop/impl/v2/HadoopV2TaskContext.java | 85 +- .../hadoop/jobtracker/HadoopJobMetadata.java | 4 +- .../hadoop/jobtracker/HadoopJobTracker.java | 32 +- .../planner/HadoopAbstractMapReducePlanner.java | 116 --- .../planner/HadoopDefaultMapReducePlan.java | 4 +- .../hadoop/shuffle/HadoopShuffle.java | 4 +- .../hadoop/shuffle/HadoopShuffleJob.java | 73 +- .../shuffle/direct/HadoopDirectDataInput.java | 77 +- .../shuffle/direct/HadoopDirectDataOutput.java | 14 + .../direct/HadoopDirectDataOutputContext.java | 48 +- .../direct/HadoopDirectDataOutputState.java | 14 +- .../shuffle/streams/HadoopDataInStream.java | 34 +- .../shuffle/streams/HadoopOffheapBuffer.java | 18 + .../HadoopEmbeddedTaskExecutor.java | 8 +- .../taskexecutor/HadoopExecutorService.java | 6 +- .../hadoop/taskexecutor/HadoopRunnableTask.java | 18 +- .../taskexecutor/HadoopTaskExecutorAdapter.java | 8 +- .../external/HadoopExternalTaskExecutor.java | 16 +- .../child/HadoopChildProcessRunner.java | 14 +- .../resources/META-INF/classnames.properties | 4 +- .../impl/HadoopAbstractMapReduceTest.java | 4 +- .../hadoop/impl/HadoopAbstractSelfTest.java | 3 +- .../hadoop/impl/HadoopCommandLineTest.java | 4 +- .../HadoopDefaultMapReducePlannerSelfTest.java | 619 ------------- .../hadoop/impl/HadoopErrorSimulator.java | 12 +- .../hadoop/impl/HadoopJobTrackerSelfTest.java | 1 + .../impl/HadoopMapReduceEmbeddedSelfTest.java | 6 +- .../hadoop/impl/HadoopPlannerMockJob.java | 10 +- .../impl/HadoopTaskExecutionSelfTest.java | 19 +- .../hadoop/impl/HadoopTasksAllVersionsTest.java | 16 +- .../hadoop/impl/HadoopTasksV1Test.java | 4 +- .../hadoop/impl/HadoopTasksV2Test.java | 4 +- .../hadoop/impl/HadoopTeraSortTest.java | 32 +- .../impl/HadoopTestRoundRobinMrPlanner.java | 75 -- .../hadoop/impl/HadoopTestTaskContext.java | 6 +- .../hadoop/impl/HadoopV2JobSelfTest.java | 6 +- .../HadoopWeightedMapReducePlannerTest.java | 6 +- .../client/HadoopClientProtocolSelfTest.java | 2 +- .../impl/igfs/Hadoop1DualAbstractTest.java | 7 +- .../impl/igfs/Hadoop1OverIgfsProxyTest.java | 67 ++ .../igfs/HadoopFIleSystemFactorySelfTest.java | 6 +- .../HadoopIgfs20FileSystemAbstractSelfTest.java | 3 +- ...Igfs20FileSystemLoopbackPrimarySelfTest.java | 2 +- ...oopIgfs20FileSystemShmemPrimarySelfTest.java | 2 +- .../igfs/HadoopIgfsDualAbstractSelfTest.java | 6 +- ...oopSecondaryFileSystemConfigurationTest.java | 4 +- .../hadoop/impl/igfs/IgfsEventsTestSuite.java | 4 +- .../IgniteHadoopFileSystemAbstractSelfTest.java | 4 +- .../IgniteHadoopFileSystemClientSelfTest.java | 8 +- ...IgniteHadoopFileSystemHandshakeSelfTest.java | 32 +- ...niteHadoopFileSystemLoggerStateSelfTest.java | 6 +- ...condaryFileSystemInitializationSelfTest.java | 4 +- .../collections/HadoopAbstractMapTest.java | 4 +- .../streams/HadoopDataStreamSelfTest.java | 177 +++- .../testsuites/IgniteHadoopTestSuite.java | 4 +- .../query/h2/GridH2ResultSetIterator.java | 3 +- .../processors/query/h2/IgniteH2Indexing.java | 6 +- .../query/h2/opt/GridH2IndexBase.java | 6 +- .../processors/query/h2/sql/DmlAstUtils.java | 2 +- .../query/h2/twostep/GridMapQueryExecutor.java | 8 +- .../h2/twostep/GridReduceQueryExecutor.java | 7 +- .../query/h2/twostep/msg/GridH2Geometry.java | 2 +- .../cache/BinarySerializationQuerySelfTest.java | 2 - .../CacheRandomOperationsMultithreadedTest.java | 4 +- .../ClientReconnectAfterClusterRestartTest.java | 4 +- .../GridCacheQueryIndexDisabledSelfTest.java | 20 +- ...niteCacheAbstractInsertSqlQuerySelfTest.java | 14 +- .../cache/IgniteCacheAbstractQuerySelfTest.java | 3 +- .../IgniteCacheAbstractSqlDmlQuerySelfTest.java | 6 +- .../IgniteCacheInsertSqlQuerySelfTest.java | 18 +- ...eLockPartitionOnAffinityRunAbstractTest.java | 1 - ...PartitionOnAffinityRunAtomicCacheOpTest.java | 11 +- ...niteCacheLockPartitionOnAffinityRunTest.java | 51 +- ...titionOnAffinityRunWithCollisionSpiTest.java | 10 +- .../cache/IgniteCacheMergeSqlQuerySelfTest.java | 15 +- .../cache/IgniteCacheOffheapEvictQueryTest.java | 4 +- ...niteCacheP2pUnmarshallingQueryErrorTest.java | 4 +- .../IgniteCacheUpdateSqlQuerySelfTest.java | 4 +- ...niteCacheDistributedQueryCancelSelfTest.java | 4 +- .../IgniteCacheQueryNodeRestartSelfTest2.java | 4 +- .../query/IgniteSqlQueryDedicatedPoolTest.java | 110 +++ .../query/IgniteSqlSchemaIndexingTest.java | 15 +- .../query/IgniteSqlSplitterSelfTest.java | 4 +- .../h2/GridIndexingSpiAbstractSelfTest.java | 4 +- .../query/h2/sql/GridQueryParsingTest.java | 4 - .../IgniteCacheQuerySelfTestSuite.java | 4 + .../org/apache/ignite/logger/jcl/JclLogger.java | 9 +- .../apache/ignite/stream/jms11/JmsStreamer.java | 4 +- .../ignite/stream/kafka/KafkaStreamer.java | 6 +- .../ignite/stream/kafka/TestKafkaBroker.java | 2 +- .../connect/IgniteSourceConnectorTest.java | 2 +- .../stream/mqtt/IgniteMqttStreamerTest.java | 4 +- .../BundleDelegatingClassLoader.java | 4 +- .../classloaders/ContainerSweepClassLoader.java | 4 +- modules/platforms/cpp/binary/Makefile.am | 5 +- .../platforms/cpp/binary/include/Makefile.am | 6 + .../cpp/binary/include/ignite/binary/binary.h | 15 +- .../binary/binary_array_identity_resolver.h | 64 ++ .../ignite/binary/binary_identity_resolver.h | 61 ++ .../include/ignite/binary/binary_object.h | 78 ++ .../binary/include/ignite/binary/binary_type.h | 16 - .../ignite/impl/binary/binary_object_header.h | 250 ++++++ .../ignite/impl/binary/binary_object_impl.h | 109 +++ .../include/ignite/impl/binary/binary_schema.h | 2 +- .../ignite/impl/binary/binary_type_impl.h | 149 +++ .../ignite/impl/binary/binary_type_manager.h | 2 +- .../ignite/impl/binary/binary_type_snapshot.h | 18 +- .../include/ignite/impl/binary/binary_utils.h | 236 ++--- .../ignite/impl/binary/binary_writer_impl.h | 11 +- .../ignite/impl/interop/interop_output_stream.h | 10 +- .../cpp/binary/project/vs/binary.vcxproj | 9 + .../binary/project/vs/binary.vcxproj.filters | 27 + .../binary/binary_array_identity_resolver.cpp | 42 + .../cpp/binary/src/binary/binary_type.cpp | 4 +- .../src/impl/binary/binary_object_header.cpp | 51 ++ .../src/impl/binary/binary_object_impl.cpp | 56 ++ .../src/impl/binary/binary_type_manager.cpp | 16 +- .../cpp/binary/src/impl/binary/binary_utils.cpp | 169 ++-- .../src/impl/binary/binary_writer_impl.cpp | 4 +- .../binary/src/impl/interop/interop_memory.cpp | 2 +- .../src/impl/interop/interop_output_stream.cpp | 5 + modules/platforms/cpp/common/Makefile.am | 7 +- .../platforms/cpp/common/include/Makefile.am | 1 + .../include/ignite/common/dynamic_size_array.h | 2 +- .../include/ignite/common/platform_utils.h | 79 ++ .../cpp/common/include/ignite/common/utils.h | 249 +++-- .../os/linux/src/common/platform_utils.cpp | 81 ++ .../cpp/common/os/linux/src/common/utils.cpp | 136 --- .../common/os/win/src/common/platform_utils.cpp | 88 ++ .../cpp/common/os/win/src/common/utils.cpp | 142 --- .../cpp/common/project/vs/common.vcxproj | 5 +- .../common/project/vs/common.vcxproj.filters | 12 +- .../platforms/cpp/common/src/common/utils.cpp | 153 ++++ modules/platforms/cpp/configure.ac | 2 +- modules/platforms/cpp/configure.acrel | 2 +- modules/platforms/cpp/core-test/Makefile.am | 7 +- .../cpp/core-test/config/cache-identity.xml | 121 +++ .../cpp/core-test/config/cache-query.xml | 10 - .../core-test/include/ignite/binary_test_defs.h | 25 + .../cpp/core-test/include/ignite/complex_type.h | 135 +++ .../cpp/core-test/include/ignite/test_type.h | 186 ++++ .../cpp/core-test/include/ignite/test_utils.h | 63 ++ .../cpp/core-test/project/vs/core-test.vcxproj | 7 + .../project/vs/core-test.vcxproj.filters | 29 +- .../src/binary_identity_resolver_test.cpp | 522 +++++++++++ .../cpp/core-test/src/binary_object_test.cpp | 282 ++++++ .../cpp/core-test/src/binary_session_test.cpp | 4 +- .../cpp/core-test/src/cache_query_test.cpp | 157 ++-- .../platforms/cpp/core-test/src/cache_test.cpp | 43 +- .../cpp/core-test/src/continuous_query_test.cpp | 31 +- .../cpp/core-test/src/ignition_test.cpp | 19 +- .../cpp/core-test/src/interop_test.cpp | 42 +- .../cpp/core-test/src/reference_test.cpp | 14 +- .../platforms/cpp/core-test/src/test_utils.cpp | 79 ++ .../cpp/core-test/src/transactions_test.cpp | 23 +- modules/platforms/cpp/core/Makefile.am | 2 +- .../cache/query/continuous/continuous_query.h | 8 +- .../include/ignite/cache/query/query_cursor.h | 4 +- .../query/continuous/continuous_query_impl.h | 8 +- .../core/include/ignite/impl/handle_registry.h | 2 +- .../cpp/core/include/ignite/impl/operations.h | 4 +- .../cpp/core/src/impl/cache/cache_impl.cpp | 5 +- .../cpp/core/src/impl/handle_registry.cpp | 2 +- .../platforms/cpp/core/src/impl/ignite_impl.cpp | 4 +- modules/platforms/cpp/examples/configure.ac | 2 +- .../cpp/examples/odbc-example/Makefile.am | 2 +- .../cpp/examples/putget-example/Makefile.am | 2 +- .../cpp/examples/query-example/Makefile.am | 2 +- modules/platforms/cpp/ignite/Makefile.am | 2 +- modules/platforms/cpp/jni/Makefile.am | 2 +- .../cpp/jni/include/ignite/jni/exports.h | 1 + .../platforms/cpp/jni/include/ignite/jni/java.h | 2 + .../platforms/cpp/jni/project/vs/jni.vcxproj | 1 + modules/platforms/cpp/jni/project/vs/module.def | 1 + modules/platforms/cpp/jni/src/exports.cpp | 4 + modules/platforms/cpp/jni/src/java.cpp | 15 +- modules/platforms/cpp/odbc-test/Makefile.am | 3 +- .../cpp/odbc-test/config/queries-default.xml | 1 + .../odbc-test/include/sql_test_suite_fixture.h | 16 + .../platforms/cpp/odbc-test/include/test_type.h | 20 +- .../cpp/odbc-test/include/test_utils.h | 51 +- .../cpp/odbc-test/project/vs/odbc-test.vcxproj | 1 + .../project/vs/odbc-test.vcxproj.filters | 3 + .../cpp/odbc-test/src/api_robustness_test.cpp | 150 +++- .../src/application_data_buffer_test.cpp | 24 +- .../platforms/cpp/odbc-test/src/column_test.cpp | 189 ++++ .../cpp/odbc-test/src/queries_test.cpp | 71 +- .../src/sql_aggregate_functions_test.cpp | 5 +- .../src/sql_date_time_functions_test.cpp | 26 +- .../src/sql_esc_convert_function_test.cpp | 160 ++++ .../src/sql_numeric_functions_test.cpp | 1 + .../cpp/odbc-test/src/sql_outer_join_test.cpp | 1 + .../odbc-test/src/sql_string_functions_test.cpp | 1 + .../odbc-test/src/sql_test_suite_fixture.cpp | 105 ++- .../cpp/odbc-test/src/sql_types_test.cpp | 256 ++++++ .../platforms/cpp/odbc-test/src/test_utils.cpp | 60 +- modules/platforms/cpp/odbc/Makefile.am | 5 +- modules/platforms/cpp/odbc/include/Makefile.am | 3 +- .../cpp/odbc/include/ignite/odbc/common_types.h | 29 +- .../ignite/odbc/config/connection_info.h | 2 - .../cpp/odbc/include/ignite/odbc/log.h | 123 +++ .../odbc/include/ignite/odbc/meta/column_meta.h | 2 - .../cpp/odbc/include/ignite/odbc/statement.h | 143 ++- .../cpp/odbc/include/ignite/odbc/utility.h | 26 +- .../cpp/odbc/install/ignite-odbc-amd64.wxs | 2 +- .../cpp/odbc/install/ignite-odbc-x86.wxs | 2 +- .../odbc/os/linux/src/system/socket_client.cpp | 9 +- .../odbc/os/win/src/system/socket_client.cpp | 9 +- .../src/system/ui/dsn_configuration_window.cpp | 18 +- .../cpp/odbc/os/win/src/system_dsn.cpp | 17 +- .../platforms/cpp/odbc/project/vs/odbc.vcxproj | 2 + .../cpp/odbc/project/vs/odbc.vcxproj.filters | 6 + .../odbc/src/app/application_data_buffer.cpp | 66 +- .../platforms/cpp/odbc/src/app/parameter.cpp | 4 +- modules/platforms/cpp/odbc/src/column.cpp | 28 +- .../cpp/odbc/src/config/connection_info.cpp | 267 +++++- modules/platforms/cpp/odbc/src/connection.cpp | 21 +- .../odbc/src/diagnostic/diagnosable_adapter.cpp | 3 +- .../odbc/src/diagnostic/diagnostic_record.cpp | 38 + modules/platforms/cpp/odbc/src/entry_points.cpp | 52 +- modules/platforms/cpp/odbc/src/log.cpp | 83 ++ .../platforms/cpp/odbc/src/meta/column_meta.cpp | 4 - modules/platforms/cpp/odbc/src/odbc.cpp | 286 +++--- .../odbc/src/query/column_metadata_query.cpp | 13 +- .../platforms/cpp/odbc/src/query/data_query.cpp | 23 +- .../cpp/odbc/src/query/table_metadata_query.cpp | 12 +- modules/platforms/cpp/odbc/src/statement.cpp | 187 +++- modules/platforms/cpp/odbc/src/utility.cpp | 29 +- .../Apache.Ignite.AspNet.Tests.csproj | 7 +- .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.AspNet.csproj | 5 + .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.Benchmarks.csproj | 5 + .../Properties/AssemblyInfo.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.Core.Tests.TestDll.csproj | 5 + .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.Core.Tests.csproj | 19 + .../Binary/BinaryBuilderSelfTest.cs | 179 ++-- .../BinaryBuilderSelfTestArrayIdentity.cs | 34 + .../Binary/BinaryEqualityComparerTest.cs | 279 ++++++ .../Binary/BinaryStructureTest.cs | 122 +++ .../Binary/IO/BinaryStreamsTest.cs | 19 + .../Cache/CacheAbstractTest.cs | 648 +------------ .../Cache/CacheAbstractTransactionalTest.cs | 899 +++++++++++++++++++ .../Cache/CacheConfigurationTest.cs | 16 +- .../Cache/CacheLocalAtomicTest.cs | 5 - .../Cache/CacheLocalTest.cs | 6 +- .../CachePartitionedAtomicNearEnabledTest.cs | 5 - .../Cache/CachePartitionedAtomicTest.cs | 5 - .../Cache/CachePartitionedNearEnabledTest.cs | 7 +- .../Cache/CachePartitionedTest.cs | 7 +- .../Cache/CacheReplicatedAtomicTest.cs | 5 - .../Cache/CacheReplicatedTest.cs | 7 +- .../Cache/Query/CacheDmlQueriesTest.cs | 296 ++++++ .../Query/CacheQueriesCodeConfigurationTest.cs | 4 +- .../Cache/Store/CacheParallelLoadStoreTest.cs | 9 +- .../Cache/Store/CacheStoreSessionTest.cs | 22 +- .../Cache/Store/CacheStoreTest.cs | 333 ++++--- .../Cache/Store/CacheTestStore.cs | 14 + .../Cache/Store/NamedNodeCacheStoreTest.cs | 34 + .../Compute/ComputeApiTest.cs | 48 + .../Examples/Example.cs | 5 +- .../Examples/ExamplesTest.cs | 107 ++- .../Apache.Ignite.Core.Tests/ExceptionsTest.cs | 38 + .../IgniteConfigurationSerializerTest.cs | 71 +- .../IgniteConfigurationTest.cs | 39 +- .../Log/ConcurrentMemoryTarget.cs | 73 ++ .../Log/NLogLoggerTest.cs | 5 +- .../Apache.Ignite.Core.Tests/MessagingTest.cs | 6 +- .../Plugin/Cache/CachePlugin.cs | 127 +++ .../Plugin/Cache/CachePluginConfiguration.cs | 40 + .../Plugin/Cache/CachePluginTest.cs | 215 +++++ .../Plugin/PluginTest.cs | 254 ++++++ .../Plugin/TestIgnitePlugin.cs | 39 + .../Plugin/TestIgnitePluginConfiguration.cs | 33 + .../Plugin/TestIgnitePluginProvider.cs | 132 +++ .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.Core.Tests/ReconnectTest.cs | 26 +- .../Apache.Ignite.Core.Tests/TestUtils.cs | 1 - .../Apache.Ignite.Core.csproj | 41 +- .../Binary/BinaryArrayEqualityComparer.cs | 149 +++ .../Binary/BinaryConfiguration.cs | 24 + .../Binary/BinaryTypeConfiguration.cs | 14 + .../Cache/Configuration/CacheConfiguration.cs | 34 + .../Cache/Configuration/QueryEntity.cs | 33 +- .../Cache/Configuration/QueryField.cs | 6 + .../dotnet/Apache.Ignite.Core/Cache/ICache.cs | 4 +- .../Communication/Tcp/TcpCommunicationSpi.cs | 2 +- .../Discovery/Tcp/TcpDiscoverySpi.cs | 2 +- .../dotnet/Apache.Ignite.Core/IIgnite.cs | 10 + .../Apache.Ignite.Core/IgniteConfiguration.cs | 107 ++- .../IgniteConfigurationSection.xsd | 61 ++ .../Apache.Ignite.Core/Impl/Binary/Binary.cs | 28 +- .../Binary/BinaryEqualityComparerSerializer.cs | 99 ++ .../Impl/Binary/BinaryFieldEqualityComparer.cs | 138 +++ .../Impl/Binary/BinaryFullTypeDescriptor.cs | 21 +- .../Impl/Binary/BinaryObject.cs | 31 +- .../Impl/Binary/BinaryObjectBuilder.cs | 64 +- .../Impl/Binary/BinaryObjectHeader.cs | 21 +- .../Impl/Binary/BinaryObjectSchemaHolder.cs | 22 + .../Impl/Binary/BinaryReader.cs | 153 ++-- .../Binary/BinarySurrogateTypeDescriptor.cs | 6 + .../Impl/Binary/BinarySystemHandlers.cs | 20 +- .../Impl/Binary/BinaryWriter.cs | 17 +- .../Impl/Binary/DateTimeHolder.cs | 35 +- .../Impl/Binary/IBinaryEqualityComparer.cs | 53 ++ .../Impl/Binary/IBinaryTypeDescriptor.cs | 5 + .../Impl/Binary/Io/BinaryHeapStream.cs | 9 + .../Impl/Binary/Io/BinaryStreamBase.cs | 13 + .../Impl/Binary/Io/IBinaryStream.cs | 11 +- .../Impl/Binary/Io/IBinaryStreamProcessor.cs | 36 + .../Impl/Binary/Marshaller.cs | 22 +- .../Impl/Binary/SerializableObjectHolder.cs | 16 + .../Apache.Ignite.Core/Impl/Cache/CacheImpl.cs | 107 ++- .../Common/IgniteConfigurationXmlSerializer.cs | 8 +- .../Apache.Ignite.Core/Impl/ExceptionUtils.cs | 6 +- .../dotnet/Apache.Ignite.Core/Impl/Ignite.cs | 26 +- .../Apache.Ignite.Core/Impl/IgniteProxy.cs | 6 + .../Impl/Memory/PlatformMemoryStream.cs | 16 + .../Apache.Ignite.Core/Impl/PlatformTarget.cs | 70 +- .../Impl/Plugin/Cache/CachePluginContext.cs | 82 ++ .../Impl/Plugin/Cache/CachePluginProcessor.cs | 77 ++ .../Plugin/Cache/CachePluginProviderProxy.cs | 75 ++ .../Plugin/Cache/ICachePluginProviderProxy.cs | 52 ++ .../Impl/Plugin/IPluginProviderProxy.cs | 74 ++ .../Impl/Plugin/PluginContext.cs | 72 ++ .../Impl/Plugin/PluginProcessor.cs | 235 +++++ .../Impl/Plugin/PluginProviderProxy.cs | 90 ++ .../Transactions/CacheTransactionManager.cs | 161 ++++ .../Impl/Transactions/Transaction.cs | 8 + .../Impl/Transactions/TransactionImpl.cs | 13 + .../Impl/Transactions/TransactionsImpl.cs | 28 + .../Impl/Unmanaged/IgniteJniNativeMethods.cs | 3 + .../Impl/Unmanaged/UnmanagedCallbackOp.cs | 8 +- .../Impl/Unmanaged/UnmanagedCallbacks.cs | 83 +- .../Impl/Unmanaged/UnmanagedUtils.cs | 11 +- .../Interop/IPlatformTarget.cs | 91 ++ .../Cache/CachePluginProviderTypeAttribute.cs | 52 ++ .../Plugin/Cache/ICachePluginConfiguration.cs | 50 ++ .../Plugin/Cache/ICachePluginContext.cs | 47 + .../Plugin/Cache/ICachePluginProvider.cs | 52 ++ .../Plugin/IPluginConfiguration.cs | 48 + .../Apache.Ignite.Core/Plugin/IPluginContext.cs | 52 ++ .../Plugin/IPluginProvider.cs | 69 ++ .../Plugin/PluginNotFoundException.cs | 65 ++ .../Plugin/PluginProviderTypeAttribute.cs | 52 ++ .../Properties/AssemblyInfo.cs | 4 +- .../Transactions/ITransactions.cs | 19 +- .../Apache.Ignite.EntityFramework.Tests.csproj | 5 + .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.EntityFramework.csproj | 9 +- .../Impl/ArrayDbDataReader.cs | 5 + .../Impl/DataReaderResult.cs | 2 + .../Impl/DbCommandInfo.cs | 11 + .../Impl/DbCommandProxy.cs | 1 + .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.Linq.csproj | 5 + .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.Log4Net.csproj | 5 + .../IgniteLog4NetLogger.cs | 16 +- .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.NLog.csproj | 5 + .../Properties/AssemblyInfo.cs | 4 +- modules/platforms/dotnet/Apache.Ignite.sln | 3 + .../dotnet/Apache.Ignite/Apache.Ignite.csproj | 5 + .../Apache.Ignite/Properties/AssemblyInfo.cs | 4 +- modules/platforms/dotnet/README.md | 6 +- modules/platforms/dotnet/build.ps1 | 2 +- .../Apache.Ignite.Examples.csproj | 4 + .../examples/Apache.Ignite.Examples/App.config | 2 + .../DataStructures/AtomicSequenceExample.cs | 26 +- .../Datagrid/QueryDmlExample.cs | 162 ++++ .../Properties/AssemblyInfo.cs | 4 +- .../Apache.Ignite.ExamplesDll.csproj | 4 + .../Properties/AssemblyInfo.cs | 4 +- .../Services/MapService.cs | 2 - .../apache/ignite/logger/slf4j/Slf4jLogger.java | 11 +- .../spark/JavaStandaloneIgniteRDDSelfTest.java | 3 +- .../util/spring/IgniteSpringHelperImpl.java | 8 +- .../src/test/config/jdbc-pojo-store-builtin.xml | 8 + .../src/test/config/jdbc-pojo-store-obj.xml | 8 + .../ignite/internal/GridFactorySelfTest.java | 2 +- .../internal/IgniteDynamicCacheConfigTest.java | 4 +- .../GridSpringTransactionManagerSelfTest.java | 2 +- .../ignite/tools/classgen/ClassesGenerator.java | 2 +- .../twitter/IgniteTwitterStreamerTest.java | 4 +- .../GridUriDeploymentFileProcessorSelfTest.java | 3 +- .../scala/org/apache/ignite/visor/visor.scala | 115 ++- .../commands/mem/VisorMemoryCommandSpec.scala | 33 + modules/web-console/backend/app/agent.js | 12 +- modules/web-console/backend/app/mongo.js | 19 + .../generator/AbstractTransformer.js | 5 + .../modules/configuration/generator/Beans.js | 4 + .../generator/ConfigurationGenerator.js | 45 +- .../states/configuration/caches/affinity.jade | 82 ++ .../states/configuration/caches/memory.jade | 4 +- .../frontend/views/configuration/caches.jade | 1 + .../web-agent/bin/ignite-web-agent.bat | 4 +- .../web-agent/bin/ignite-web-agent.sh | 2 + .../ignite/console/agent/AgentLauncher.java | 90 +- .../ignite/cache/websession/WebSessionV2.java | 2 +- .../internal/websession/WebSessionSelfTest.java | 6 +- modules/yardstick/DEVNOTES.txt | 16 + modules/yardstick/README.txt | 10 +- modules/yardstick/pom-standalone.xml | 209 +++++ modules/yardstick/pom.xml | 10 +- .../yardstick/cache/IgniteIoTestBenchmark.java | 73 -- .../apache/ignite/yarn/ApplicationMaster.java | 4 +- .../org/apache/ignite/yarn/IgniteProvider.java | 4 +- .../tcp/ipfinder/zk/ZookeeperIpFinderTest.java | 2 +- parent/pom.xml | 2 +- pom.xml | 95 +- 893 files changed, 25767 insertions(+), 8085 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/5982e39a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/DmlAstUtils.java ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/5982e39a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheUpdateSqlQuerySelfTest.java ----------------------------------------------------------------------
