This is an automated email from the ASF dual-hosted git repository. sboikov pushed a commit to branch ignite-9720 in repository https://gitbox.apache.org/repos/asf/ignite.git
commit 1e142d89b0e8a1172f9d01b741ece8815d887e2a Merge: 5ef026f b722305 Author: sboikov <sboi...@apache.org> AuthorDate: Wed Apr 10 22:22:13 2019 +0300 Merge remote-tracking branch 'remotes/origin/master' into ignite-9720 .../datagrid/CacheClientBinaryQueryExample.java | 133 +- .../examples/datagrid/CacheQueryExample.java | 3 +- .../starschema/CacheStarSchemaExample.java | 25 +- .../clustering/CustomersClusterizationExample.java | 140 + .../examples/ml/knn/IrisClassificationExample.java | 93 + .../linear/BostonHousePricesPredictionExample.java | 113 + .../examples/ml/tree/FraudDetectionExample.java | 125 + .../ignite/examples/sql/SqlQueriesExample.java | 29 +- .../internal/jdbc2/JdbcAbstractSchemaCaseTest.java | 2 +- .../internal/jdbc2/JdbcMetadataSelfTest.java | 147 +- .../jdbc/thin/JdbcThinConnectionSelfTest.java | 2 +- .../ignite/jdbc/thin/JdbcThinMetadataSelfTest.java | 103 +- .../main/java/org/apache/ignite/IgniteCache.java | 2 - .../main/java/org/apache/ignite/IgniteCluster.java | 6 + .../org/apache/ignite/IgniteSystemProperties.java | 7 +- .../eviction/lru/LruEvictionPolicyFactory.java | 1 - .../java/org/apache/ignite/cache/query/Query.java | 2 - .../apache/ignite/cache/query/SqlFieldsQuery.java | 3 +- .../org/apache/ignite/cache/query/SqlQuery.java | 3 + .../java/org/apache/ignite/client/ClientCache.java | 3 +- .../org/apache/ignite/internal/IgniteKernal.java | 10 +- .../cluster/DistributedBaselineConfiguration.java | 101 +- .../internal/cluster/IgniteClusterAsyncImpl.java | 6 + .../ignite/internal/cluster/IgniteClusterImpl.java | 38 +- .../internal/commandline/CommandHandler.java | 36 +- .../internal/jdbc/thin/JdbcThinStatement.java | 4 +- .../ignite/internal/jdbc2/JdbcConnection.java | 23 +- .../internal/jdbc2/JdbcPreparedStatement.java | 94 +- .../internal/jdbc2/JdbcResultSetMetadata.java | 25 +- .../ignite/internal/jdbc2/JdbcStatement.java | 18 + .../jdbc2/JdbcStreamedPreparedStatement.java | 7 +- .../internal/managers/IgniteMBeansManager.java | 9 +- .../processors/affinity/AffinityAssignment.java | 5 + .../affinity/GridAffinityAssignment.java | 5 + .../affinity/GridAffinityAssignmentCache.java | 126 +- .../affinity/GridAffinityAssignmentV2.java | 23 +- .../affinity/HistoryAffinityAssignmentImpl.java | 10 + .../HistoryAffinityAssignmentShallowCopy.java | 5 + .../affinity/IdealAffinityAssignment.java | 148 + .../cache/CacheAffinitySharedManager.java | 362 ++- .../processors/cache/ExchangeDiscoveryEvents.java | 33 +- .../processors/cache/GridCacheAffinityManager.java | 2 +- .../cache/GridCacheExplicitLockSpan.java | 31 +- .../processors/cache/GridCacheIoManager.java | 17 +- .../processors/cache/GridCacheMapEntry.java | 28 +- .../internal/processors/cache/GridCacheMvcc.java | 2 +- .../cache/GridCachePartitionExchangeManager.java | 4 +- .../processors/cache/GridCacheProcessor.java | 2 +- .../dht/preloader/CacheGroupAffinityMessage.java | 2 +- .../preloader/GridDhtPartitionsExchangeFuture.java | 9 +- .../dht/topology/GridDhtPartitionTopologyImpl.java | 2 +- .../topology/GridDhtPartitionsStateValidator.java | 2 +- .../cache/distributed/near/GridNearTxLocal.java | 3 +- .../processors/cache/mvcc/MvccProcessorImpl.java | 34 +- .../internal/processors/cache/mvcc/MvccUtils.java | 35 +- ...ion.java => CorruptedPersistenceException.java} | 20 +- .../GridCacheDatabaseSharedManager.java | 100 +- .../persistence/freelist/AbstractFreeList.java | 152 +- .../CorruptedFreeListException.java} | 10 +- .../persistence/tree/CorruptedTreeException.java | 4 +- .../persistence/wal/FileWriteAheadLogManager.java | 70 +- .../cache/verify/IdleVerifyResultV2.java | 54 +- .../NoMatchingCachesException.java} | 20 +- .../verify/VerifyBackupPartitionsDumpTask.java | 38 + .../cache/verify/VerifyBackupPartitionsTaskV2.java | 191 +- ...Impl.java => BaselineAutoAdjustMXBeanImpl.java} | 23 +- .../processors/cluster/BaselineTopology.java | 7 + .../processors/cluster/ClusterProcessor.java | 18 - .../cluster/GridClusterStateProcessor.java | 112 +- ...tatistic.java => BaselineAutoAdjustStatus.java} | 24 +- .../baseline/autoadjust/ChangeTopologyWatcher.java | 10 +- ...operty.java => DistributePropertyListener.java} | 22 +- .../distributed/DistributedBooleanProperty.java | 9 +- .../distributed/DistributedComparableProperty.java | 4 +- .../DistributedConfigurationProcessor.java | 14 +- .../distributed/DistributedLongProperty.java | 9 +- .../distributed/DistributedProperty.java | 31 +- .../distributed/DistributedPropertyDispatcher.java | 6 +- .../processors/failure/FailureProcessor.java | 8 + .../processors/odbc/jdbc/JdbcRequestHandler.java | 88 +- .../processors/odbc/odbc/OdbcRequestHandler.java | 21 +- .../processors/query/GridQueryIndexing.java | 39 +- .../processors/query/GridQueryProcessor.java | 28 +- .../internal/processors/query/QuerySchema.java | 8 +- .../internal/processors/query/QueryUtils.java | 33 +- .../internal/visor/baseline/VisorBaselineTask.java | 11 +- .../visor/baseline/VisorBaselineViewTask.java | 8 +- ...onMXBean.java => BaselineAutoAdjustMXBean.java} | 10 +- .../ignite/spi/discovery/tcp/ServerImpl.java | 17 +- .../TransactionMixedModeException.java} | 20 +- ...ransactionUnsupportedConcurrencyException.java} | 20 +- .../processors/DeadLockOnNodeLeftExchangeTest.java | 111 + .../cache/CacheNoAffinityExchangeTest.java | 81 +- .../cache/CacheStoreTxPutAllMultiNodeTest.java | 224 ++ .../IgniteClientCacheInitializationFailTest.java | 20 +- .../distributed/CacheLockChangingTopologyTest.java | 158 + .../distributed/GridCacheLockAbstractTest.java | 16 + ...idCachePartitionedNearDisabledLockSelfTest.java | 9 - .../near/GridCacheNearOnlyTopologySelfTest.java | 4 +- .../GridCacheReplicatedLockSelfTest.java | 9 - .../cache/mvcc/CacheMvccClientReconnectTest.java | 111 + ...niteBaselineAffinityTopologyActivationTest.java | 4 +- ...CheckpointSimulationWithRealCpDisabledTest.java | 65 +- .../db/wal/IgniteWalSerializerVersionTest.java | 14 +- .../IgniteAbstractWalIteratorInvalidCrcTest.java | 53 +- ...teWithoutArchiverWalIteratorInvalidCrcTest.java | 219 ++ .../cache/persistence/db/wal/crc/WalTestUtils.java | 147 + ...Test.java => BaselineAutoAdjustMXBeanTest.java} | 23 +- ...atcherTest.java => BaselineAutoAdjustTest.java} | 46 +- .../DistributedConfigurationAbstractTest.java | 69 +- .../TestDistibutedConfigurationPlugin.java | 8 + .../DistributedMetaStoragePersistentTest.java | 2 + .../metastorage/DistributedMetaStorageTest.java | 4 + .../tcp/TcpDiscoveryNodeJoinAndFailureTest.java | 256 ++ .../junits/multijvm/IgniteClusterProcessProxy.java | 7 +- .../ignite/testsuites/IgniteBasicTestSuite.java | 7 +- .../testsuites/IgniteCacheMvccTestSuite.java | 4 +- .../ignite/testsuites/IgniteCacheTestSuite3.java | 3 + .../ignite/testsuites/IgniteCacheTestSuite8.java | 2 + .../testsuites/IgniteKernalSelfTestSuite.java | 5 +- .../ignite/testsuites/IgnitePdsTestSuite2.java | 2 + .../IgniteSpiDiscoverySelfTestSuite.java | 2 + .../apache/ignite/util/GridCommandHandlerTest.java | 207 +- .../query/h2/H2IndexesSystemViewTest.java | 2 +- .../internal/processors/query/h2/H2Utils.java | 27 + .../processors/query/h2/IgniteH2Indexing.java | 80 +- .../internal/processors/query/h2/QueryParser.java | 23 +- .../processors/query/h2/QueryParserCacheEntry.java | 17 + .../processors/query/h2/QueryParserResult.java | 24 +- .../processors/query/h2/QueryParserResultDml.java | 13 - .../query/h2/QueryParserResultSelect.java | 16 +- .../query/h2/sql/GridSqlQueryParser.java | 12 - .../processors/cache/SqlFieldsQuerySelfTest.java | 47 - .../cache/index/H2DynamicTableSelfTest.java | 2 +- .../processors/cache/index/StaticCacheDdlTest.java | 1 - .../cache/mvcc/CacheMvccSqlTxModesTest.java | 123 +- .../processors/query/SqlIllegalSchemaSelfTest.java | 16 +- .../processors/query/SqlSchemaSelfTest.java | 12 + .../processors/query/SqlSystemViewsSelfTest.java | 236 +- .../ml/selection/scoring/evaluator/Evaluator.java | 95 +- .../BinaryClassificationMetricValues.java | 12 +- .../BinaryClassificationMetrics.java | 47 +- .../scoring/metric/classification/ROCAUC.java | 141 + .../metric/regression/RegressionMetricValues.java | 12 +- .../metric/regression/RegressionMetrics.java | 27 +- .../apache/ignite/ml/util/MLSandboxDatasets.java | 8 +- .../main/resources/datasets/fraud_detection.csv | 3336 ++++++++++++++++++++ .../resources/datasets/wholesale_customers.csv | 441 +++ .../BinaryClassificationMetricsValuesTest.java | 3 +- .../scoring/metric/classification/ROCAUCTest.java | 121 + .../metric/regression/RegressionMetricsTest.java | 39 +- .../cpp/examples/include/ignite/examples/person.h | 53 + .../query-example/config/query-example.xml | 12 +- .../examples/query-example/src/query_example.cpp | 68 +- .../project/vs/thin-client-put-get-example.vcxproj | 3 - .../vs/thin-client-put-get-example.vcxproj.filters | 8 - .../Binary/BinarizableReadBenchmark.cs | 1 + .../Binary/BinarizableWriteBenchmark.cs | 5 +- .../ApiParity/ClusterParityTest.cs | 3 +- .../Binary/BinaryBuilderSelfTest.cs | 69 + .../Binary/BinaryReaderWriterTest.cs | 2 +- .../Binary/Serializable/SqlDmlTest.cs | 2 + .../Cache/CacheAbstractTransactionalTest.cs | 2 +- .../Cache/DataRegionMetricsTest.cs | 19 +- .../Cache/Query/CacheDmlQueriesTest.cs | 2 +- .../Query/CacheQueriesCodeConfigurationTest.cs | 4 + .../Cache/Query/CacheQueriesTest.cs | 24 +- .../Cache/Store/CacheTestStore.cs | 4 +- .../Client/Cache/CacheClientAsyncWrapper.cs | 4 +- .../Client/Cache/CacheTestNoMeta.cs | 2 + .../Client/Cache/SqlQueryTest.cs | 4 + .../Compute/AbstractTaskTest.cs | 2 + .../Apache.Ignite.Core/Cache/Query/SqlQuery.cs | 2 + .../Client/Cache/ICacheClient.cs | 2 + .../Binary/BinaryReflectiveSerializerInternal.cs | 14 +- .../Impl/Client/Cache/CacheClient.cs | 2 + .../NuGet/LINQPad/BinaryModeExample.linq | 5 - .../NuGet/LINQPad/QueryExample.linq | 7 +- .../EntityFrameworkCacheInitializationTest.cs | 1 + .../Datagrid/BinaryModeExample.cs | 38 +- .../Apache.Ignite.Examples/Sql/SqlExample.cs | 38 +- .../ThinClient/ThinClientSqlExample.cs | 37 +- .../dotnet/examples/dotnetcore/LinqExample.cs | 4 +- .../dotnet/examples/dotnetcore/SqlExample.cs | 64 +- modules/web-console/backend/app/schemas.js | 150 +- .../components/grid-item-selected/controller.js | 2 +- .../components/queries-notebook/template.tpl.pug | 18 +- .../queries-notebooks-list/controller.js | 43 +- .../queries-notebooks-list/template.tpl.pug | 9 +- .../frontend/app/components/ui-grid/component.js | 3 +- .../frontend/app/components/ui-grid/controller.js | 3 + .../frontend/app/components/ui-grid/style.scss | 16 - .../components/cache-edit-form/template.tpl.pug | 2 + .../cache-edit-form/templates/general.pug | 42 +- .../cache-edit-form/templates/key-cfg.pug | 66 + .../cache-edit-form/templates/memory.pug | 21 + .../components/cache-edit-form/templates/misc.pug | 95 + .../components/cache-edit-form/templates/query.pug | 45 +- .../components/cache-edit-form/templates/store.pug | 9 + .../components/cluster-edit-form/controller.ts | 45 +- .../components/cluster-edit-form/template.tpl.pug | 4 + .../cluster-edit-form/templates/atomic.pug | 36 +- .../cluster-edit-form/templates/communication.pug | 49 + .../cluster-edit-form/templates/data-storage.pug | 71 +- .../cluster-edit-form/templates/discovery.pug | 27 + .../cluster-edit-form/templates/encryption.pug | 81 + .../cluster-edit-form/templates/events.pug | 38 + .../cluster-edit-form/templates/failover.pug | 62 + .../cluster-edit-form/templates/misc.pug | 167 +- .../cluster-edit-form/templates/mvcc.pug | 4 +- .../cluster-edit-form/templates/persistence.pug | 31 + .../components/cluster-edit-form/templates/ssl.pug | 28 + .../cluster-edit-form/templates/transactions.pug | 25 + .../igfs-edit-form/templates/secondary.pug | 252 +- .../components/model-edit-form/templates/query.pug | 72 +- .../generator/generator/AbstractTransformer.js | 27 +- .../app/configuration/generator/generator/Beans.js | 16 +- .../generator/generator/ConfigurationGenerator.js | 462 ++- .../generator/generator/JavaTransformer.service.js | 46 +- .../generator/generator/Maven.service.js | 2 +- .../generator/SpringTransformer.service.js | 27 +- .../generator/generator/defaults/Cache.service.js | 22 +- .../generator/defaults/Cluster.service.js | 51 +- .../generator/generator/defaults/IGFS.service.js | 15 +- .../frontend/app/configuration/services/Caches.ts | 3 +- .../app/configuration/services/Clusters.ts | 21 +- .../frontend/app/configuration/services/IGFSs.ts | 16 +- .../frontend/app/configuration/services/Models.ts | 41 + modules/web-console/frontend/package-lock.json | 27 - .../WebConsoleConfigurationSelfTest.java | 194 +- .../ignite/console/configuration/WrongFields.java | 2 +- 231 files changed, 11410 insertions(+), 1872 deletions(-)