You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2019/04/05 11:13:43 UTC

[ignite] branch ignite-11525 updated (d3e7b15 -> fce0fc9)

This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a change to branch ignite-11525
in repository https://gitbox.apache.org/repos/asf/ignite.git.


    from d3e7b15  Suppress compiler warnings - done
     add 963a40b  IGNITE-11143: SQL: Improved printout of long-running queries. This closes #6353.
     add 70b9e0e  IGNITE-7664: SQL: Throw better error messages for unsupported SQL keywords and features. This closes #6138.
     add a309335  IGNITE-11660 Choose correct closure in DmlStatementsProcessorTest, more tests - Fixes #6379.
     add a1151a7  IGNITE-11599 Thin client to find valid node for connection from the configuration list - Fixes #6368.
     add 0ce456d  IGNITE-11411 Remove tearDown, setUp from JUnit3TestLegacySupport (#6227)
     add 94cd19b  IGNITE-11599 Fix test licence header.
     add 27ea976  IGNITE-10104: MVCC: Fixed SFU for REPLICATED caches. This closes #6141.
     add 4daa681  IGNITE-11629 Make sure Cassandra driver dependencies present in redistributable - Fixes #6375.
     add db38352  IGNITE-11654: [ML] Memory leak in KNNClassificationModel (#6392)
     add 003c41e  IGNITE-11647: [ML] ML Vectors should work with all Serializable objects besides double
     add 3aa9167  IGNITE-11416 Added DistributedMetaStorage improvements - Fixes #6190.
     add 6e36f5c  IGNITE-11569 Enable baseline auto-adjust by default only for empty cluster - Fixes #6305.
     add 770e2ba  IGNITE-11574 Fix exchange on NodeLeft event hangs when cluster is in transition state - Fixes #6310.
     add e1ab893  IGNITE-11334: SQL: Deprecated SqlQuery in Java. This closes #6151.
     add 18af47d  IGNITE-11681 Fix for three failed tests. (#6402)
     add 579036d  IGNITE-10145: [ML] Implement ROC AUC metric (#6394)
     add 448f989  IGNITE-11672 Fix expected message in JdbcThinConnectionSelfTest.testInvalidEndpoint - Fixes #6396.
     add e228241  IGNITE-11673: SQL: It looks like security check is missed in h2 indexing. This closes #6390.
     add c32c7ac  IGNITE-11632 Correctly handle crc errors in no archiver mode - Fixes #6345.
     add 0e6bcd3  IGNITE-9799 Web Console: Removed unused code.
     add 44b0522  IGNITE-9801 Web Console: Export button restyled.
     add 0d93a0b  IGNITE-8368 Web Console: Refactored queries notebooks list.
     add 0af4fdf  IGNITE-11182 Web console: Actualized cluster configuration.
     add 9180be9  IGNITE-11604: SQL: Fixed problem with DROP COLUMN which was not able remove a column properly in some cases. This closes #6399.
     add 89ba43f  IGNITE-11604: SQL: Fixed problem with DROP COLUMN which was not able remove a column properly in some cases. This closes #6399.
     add 9c721f7  IGNITE-11283 Web console: Actualized cluster configuration.
     new fce0fc9  Merge remote-tracking branch 'origin/master' into ignite-11525

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../datagrid/CacheClientBinaryQueryExample.java    | 133 ++--
 .../examples/datagrid/CacheQueryExample.java       |   3 +-
 .../starschema/CacheStarSchemaExample.java         |  25 +-
 .../ignite/examples/sql/SqlQueriesExample.java     |  29 +-
 modules/cassandra/store/pom.xml                    |  12 +
 .../jdbc/thin/JdbcThinConnectionSelfTest.java      |   2 +-
 .../main/java/org/apache/ignite/IgniteCache.java   |   2 -
 .../main/java/org/apache/ignite/IgniteCluster.java |   6 +
 .../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/GridComponent.java  |   9 +-
 .../org/apache/ignite/internal/IgniteFeatures.java |   6 +-
 .../org/apache/ignite/internal/IgniteKernal.java   | 231 +-----
 .../internal/StripedExecutorMXBeanAdapter.java     |   2 +-
 .../internal/TransactionMetricsMxBeanImpl.java     |   2 +-
 .../ignite/internal/TransactionsMXBeanImpl.java    |   2 +-
 .../internal/client/thin/ReliableChannel.java      |  25 +-
 .../cluster/DistributedBaselineConfiguration.java  | 101 ++-
 .../internal/cluster/IgniteClusterAsyncImpl.java   |   6 +
 .../ignite/internal/cluster/IgniteClusterImpl.java |  38 +-
 .../internal/jdbc/thin/JdbcThinStatement.java      |   4 +-
 .../internal/managers/IgniteMBeansManager.java     | 284 ++++++++
 .../cache/GridCachePartitionExchangeManager.java   |   4 +-
 .../cache/distributed/dht/CompoundLockFuture.java  | 112 ---
 .../dht/GridDhtTxAbstractEnlistFuture.java         |   8 +-
 .../dht/GridDhtTxQueryEnlistFuture.java            |   2 +-
 .../preloader/GridDhtPartitionsExchangeFuture.java |  13 +-
 .../near/GridNearTxAbstractEnlistFuture.java       |   5 +-
 .../near/GridNearTxSelectForUpdateFuture.java      | 462 ------------
 .../distributed/near/TxTopologyVersionFuture.java  | 176 -----
 .../GridCacheDatabaseSharedManager.java            |  84 ++-
 .../persistence/wal/FileWriteAheadLogManager.java  |  70 +-
 ...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 +-
 .../distributed/DistributePropertyListener.java}   |  26 +-
 .../distributed/DistributedBooleanProperty.java    |   9 +-
 .../distributed/DistributedComparableProperty.java |   4 +-
 .../DistributedConfigurationProcessor.java         |  14 +-
 .../distributed/DistributedLongProperty.java       |   9 +-
 .../distributed/DistributedProperty.java           |  31 +-
 .../distributed/DistributedPropertyDispatcher.java |   6 +-
 .../ReadableDistributedMetaStorage.java            |  47 +-
 .../persistence/DistributedMetaStorageBridge.java  |   8 +-
 .../DistributedMetaStorageClusterNodeData.java     |  26 +-
 .../DistributedMetaStorageHistoryCache.java        | 228 ++++++
 .../DistributedMetaStorageHistoryItem.java         |  64 +-
 .../persistence/DistributedMetaStorageImpl.java    | 753 +++++++++++++-------
 .../DistributedMetaStorageJoiningNodeData.java     |  16 +-
 ...ava => DistributedMetaStorageKeyValuePair.java} |  20 +-
 .../DistributedMetaStorageUpdateAckMessage.java    |   5 -
 .../persistence/DistributedMetaStorageUtil.java    |  24 +-
 .../persistence/DistributedMetaStorageVersion.java |   3 +-
 .../EmptyDistributedMetaStorageBridge.java         |  10 +-
 ...InMemoryCachedDistributedMetaStorageBridge.java |  27 +-
 .../NotAvailableDistributedMetaStorageBridge.java  |   8 +-
 .../ReadOnlyDistributedMetaStorageBridge.java      | 107 +--
 .../WritableDistributedMetaStorageBridge.java      |  35 +-
 .../processors/query/GridQueryIndexing.java        |   9 +
 .../processors/query/GridQueryProcessor.java       |  14 +-
 .../internal/processors/query/QuerySchema.java     |   8 +-
 .../internal/processors/query/QueryUtils.java      |  29 +
 .../org/apache/ignite/internal/sql/SqlKeyword.java |  12 +
 .../org/apache/ignite/internal/sql/SqlParser.java  |  67 ++
 .../apache/ignite/internal/sql/SqlParserUtils.java |   2 +-
 .../internal/sql/SqlStrictParseException.java      |  27 +-
 .../ignite/internal/util/HostAndPortRange.java     |   3 +
 .../internal/visor/baseline/VisorBaselineTask.java |  11 +-
 .../visor/baseline/VisorBaselineViewTask.java      |   8 +-
 ...onMXBean.java => BaselineAutoAdjustMXBean.java} |  10 +-
 .../org/apache/ignite/client/ConnectionTest.java   |  73 ++
 .../processors/DeadLockOnNodeLeftExchangeTest.java | 111 +++
 .../cache/CacheGetRemoveSkipStoreTest.java         |   4 +-
 .../processors/cache/CacheRemoveAllSelfTest.java   |   4 +-
 .../cache/GridCacheVariableTopologySelfTest.java   |   4 +-
 ...IgniteCacheInvokeReadThroughSingleNodeTest.java |   4 +-
 .../cache/IgniteCacheInvokeReadThroughTest.java    |   4 +-
 .../IgniteCacheReadThroughEvictionSelfTest.java    |   4 +-
 .../IgniteClientCacheInitializationFailTest.java   |   6 +
 .../GridCacheMultiNodeLockAbstractTest.java        |   4 +-
 .../GridCacheNodeFailureAbstractTest.java          |   9 +-
 .../IgniteTxRemoveTimeoutObjectsTest.java          |   4 +-
 .../near/GridCachePartitionedEventSelfTest.java    |   4 +-
 ...niteBaselineAffinityTopologyActivationTest.java |   4 +-
 ...CheckpointSimulationWithRealCpDisabledTest.java |  65 +-
 .../IgniteAbstractWalIteratorInvalidCrcTest.java   |  53 +-
 ...teWithoutArchiverWalIteratorInvalidCrcTest.java | 219 ++++++
 .../cache/persistence/db/wal/crc/WalTestUtils.java | 147 ++++
 .../transactions/TxRollbackAsyncNearCacheTest.java |   4 +-
 ...Test.java => BaselineAutoAdjustMXBeanTest.java} |  23 +-
 ...atcherTest.java => BaselineAutoAdjustTest.java} |  46 +-
 .../DistributedConfigurationAbstractTest.java      |  69 +-
 .../TestDistibutedConfigurationPlugin.java         |   8 +
 .../DistributedMetaStoragePersistentTest.java      |  94 ++-
 .../metastorage/DistributedMetaStorageTest.java    | 115 ++-
 .../DistributedMetaStorageHistoryCacheTest.java    | 227 ++++++
 .../tcp/GridTcpCommunicationSpiLanLoadTest.java    |   2 -
 .../spi/discovery/AbstractDiscoverySelfTest.java   |   2 -
 .../testframework/junits/GridAbstractTest.java     | 206 +++---
 .../junits/JUnit3TestLegacySupport.java            |  33 +-
 .../junits/common/GridCommonAbstractTest.java      |   4 +-
 .../junits/multijvm/IgniteClusterProcessProxy.java |   7 +-
 .../junits/spi/GridSpiAbstractTest.java            |  12 +-
 .../ignite/testsuites/IgniteBasicTestSuite.java    |   9 +-
 .../testsuites/IgniteKernalSelfTestSuite.java      |   5 +-
 .../ignite/testsuites/IgnitePdsTestSuite2.java     |   2 +
 .../util/mbeans/GridMBeanDisableSelfTest.java      |   8 +-
 .../ignite/internal/mxbean/SqlQueryMXBean.java     |  71 ++
 .../ignite/internal/mxbean/SqlQueryMXBeanImpl.java |  56 ++
 .../cache/query/GridCacheTwoStepQuery.java         |  26 +-
 .../query/h2/DhtResultSetEnlistFuture.java         |  63 --
 .../query/h2/DmlStatementsProcessor.java           |  34 +-
 .../processors/query/h2/H2FieldsIterator.java      |   5 +-
 .../processors/query/h2/H2KeyValueIterator.java    |   2 +-
 .../internal/processors/query/h2/H2QueryInfo.java  | 159 +++++
 .../processors/query/h2/H2ResultSetIterator.java   |   7 +-
 .../internal/processors/query/h2/H2Utils.java      |  15 -
 .../processors/query/h2/IgniteH2Indexing.java      | 548 +++++++-------
 .../query/h2/LongRunningQueryManager.java          | 204 ++++++
 ...H2KeyValueIterator.java => MapH2QueryInfo.java} |  46 +-
 .../query/h2/NearResultSetEnlistFuture.java        |  59 --
 .../internal/processors/query/h2/QueryParser.java  | 105 ++-
 .../query/h2/QueryParserResultSelect.java          |  61 +-
 .../processors/query/h2/ReduceH2QueryInfo.java}    |  33 +-
 .../processors/query/h2/ResultSetEnlistFuture.java | 136 ----
 .../processors/query/h2/dml/DmlBatchSender.java    |  22 +-
 .../internal/processors/query/h2/dml/DmlUtils.java |  14 +-
 .../processors/query/h2/dml/UpdatePlanBuilder.java |  12 +-
 .../processors/query/h2/sql/GridSqlKeyword.java    |   3 +-
 .../query/h2/sql/GridSqlQueryParser.java           | 254 ++++---
 .../query/h2/sql/GridSqlQuerySplitter.java         |  84 ++-
 .../processors/query/h2/sql/GridSqlSelect.java     |  24 +
 .../query/h2/twostep/GridMapQueryExecutor.java     | 201 +-----
 .../query/h2/twostep/GridReduceQueryExecutor.java  | 177 +----
 .../query/h2/twostep/MapQueryResults.java          |  15 +-
 .../query/h2/twostep/ReduceQueryRun.java           |  14 -
 .../query/h2/twostep/ReduceResultPage.java         |  20 +-
 .../org/apache/ignite/client/ClientTestSuite.java  |   3 +-
 .../cache/IgniteCacheUpdateSqlQuerySelfTest.java   |  33 -
 .../processors/cache/index/StaticCacheDdlTest.java |   1 -
 ...cheMvccPartitionedSelectForUpdateQueryTest.java |  47 --
 .../CacheMvccSelectForUpdateQueryAbstractTest.java | 370 ----------
 .../CacheMvccSelectForUpdateQueryBasicTest.java    | 789 +++++++++++++++++++++
 .../mvcc/CacheMvccSelectForUpdateQueryTest.java    | 184 +++++
 .../processors/query/LongRunningQueryTest.java     | 194 +++++
 .../query/h2/DmlStatementsProcessorTest.java       |  44 +-
 .../processors/query/h2/QueryDataPageScanTest.java |   5 +-
 .../query/h2/sql/GridQueryParsingTest.java         |  47 +-
 .../query/h2/sql/SqlUnsupportedSelfTest.java       | 332 +++++++++
 .../IgniteBinaryCacheQueryTestSuite.java           |   2 +
 .../IgniteBinaryCacheQueryTestSuite2.java          |   3 +
 .../testsuites/IgniteCacheMvccSqlTestSuite.java    |   9 +-
 .../ignite/ml/clustering/kmeans/KMeansModel.java   |   2 +-
 .../extractor/impl/BinaryObjectVectorizer.java     |   9 +-
 .../java/org/apache/ignite/ml/inference/Model.java |   4 +-
 .../ignite/ml/knn/NNClassificationModel.java       |   2 +-
 .../knn/classification/KNNClassificationModel.java |  15 +
 .../apache/ignite/ml/math/StorageOpsMetrics.java   |  15 +-
 .../ml/math/primitives/matrix/AbstractMatrix.java  |  10 -
 .../ignite/ml/math/primitives/matrix/Matrix.java   |   5 +
 .../ml/math/primitives/matrix/MatrixStorage.java   |   5 +
 .../math/primitives/matrix/impl/SparseMatrix.java  |   2 +-
 .../matrix/storage/DenseMatrixStorage.java         |  12 +-
 .../matrix/storage/SparseMatrixStorage.java        |  12 +-
 .../matrix/storage/ViewMatrixStorage.java          |  10 -
 .../ml/math/primitives/vector/AbstractVector.java  |  78 +-
 .../ignite/ml/math/primitives/vector/Vector.java   |  59 +-
 .../ml/math/primitives/vector/VectorStorage.java   |  27 +-
 .../ml/math/primitives/vector/VectorUtils.java     |   5 +-
 .../primitives/vector/impl/DelegatingVector.java   |  34 +-
 .../math/primitives/vector/impl/SparseVector.java  |  11 +-
 .../vector/storage/DenseVectorStorage.java         | 164 ++++-
 .../vector/storage/SparseVectorStorage.java        | 107 ++-
 .../vector/storage/VectorViewStorage.java          |  25 +-
 .../storage/VectorizedViewMatrixStorage.java       |  28 +-
 .../ignite/ml/nn/ReplicatedVectorMatrix.java       |  28 +-
 .../BinaryClassificationMetricValues.java          |  12 +-
 .../BinaryClassificationMetrics.java               |  47 +-
 .../scoring/metric/classification/ROCAUC.java      | 141 ++++
 .../ml/svm/SVMLinearClassificationTrainer.java     |  10 +-
 .../ml/dataset/feature/ObjectHistogramTest.java    |   4 +-
 .../java/org/apache/ignite/ml/math/BlasTest.java   |   9 +-
 .../ignite/ml/math/MathImplLocalTestSuite.java     |   4 +
 .../primitives/matrix/MatrixArrayStorageTest.java  |   7 -
 .../primitives/matrix/MatrixAttributeTest.java     |   9 +-
 .../matrix/MatrixViewConstructorTest.java          |   2 -
 .../math/primitives/vector/AbstractVectorTest.java |  20 -
 .../vector/SparseVectorConstructorTest.java        |  25 +-
 .../primitives/vector/VectorAttributesTest.java    |  20 +-
 .../vector/VectorImplementationsFixtures.java      |   4 +-
 .../vector/VectorImplementationsTest.java          |   3 +-
 .../vector/storage/AbstractStorageTest.java        | 147 ++++
 .../vector/storage/DenseVectorStorageTest.java     |  61 ++
 .../vector/storage/SparseVectorStorageTest.java}   |  28 +-
 .../BinaryClassificationMetricsValuesTest.java     |   3 +-
 .../scoring/metric/classification/ROCAUCTest.java  | 121 ++++
 .../ignite/ml/xgboost/XGModelComposition.java      |   6 +-
 .../ApiParity/ClusterParityTest.cs                 |   3 +-
 modules/web-console/backend/app/schemas.js         |  79 ++-
 .../components/queries-notebook/template.tpl.pug   |  18 +-
 .../queries-notebooks-list/controller.js           |  43 +-
 .../queries-notebooks-list/template.tpl.pug        |   9 +-
 .../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 +
 .../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 ++++++-
 .../generator/generator/AbstractTransformer.js     |  18 +-
 .../app/configuration/generator/generator/Beans.js |   7 +
 .../generator/generator/ConfigurationGenerator.js  | 180 ++++-
 .../generator/generator/JavaTransformer.service.js |   8 +
 .../generator/generator/Maven.service.js           |   2 +-
 .../generator/SpringTransformer.service.js         |   2 +
 .../generator/generator/defaults/Cache.service.js  |  10 +-
 .../generator/defaults/Cluster.service.js          |  12 +-
 .../generator/generator/defaults/IGFS.service.js   |  15 +-
 .../frontend/app/configuration/services/Caches.ts  |   3 +-
 .../frontend/app/configuration/services/IGFSs.ts   |  16 +-
 modules/web-console/frontend/package-lock.json     |  27 -
 .../WebConsoleConfigurationSelfTest.java           | 124 +++-
 .../ignite/console/configuration/WrongFields.java  |   2 +-
 233 files changed, 8216 insertions(+), 4206 deletions(-)
 create mode 100644 modules/core/src/main/java/org/apache/ignite/internal/managers/IgniteMBeansManager.java
 delete mode 100644 modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/CompoundLockFuture.java
 delete mode 100644 modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxSelectForUpdateFuture.java
 delete mode 100644 modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/TxTopologyVersionFuture.java
 rename modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/{BaselineConfigurationMXBeanImpl.java => BaselineAutoAdjustMXBeanImpl.java} (75%)
 rename modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/baseline/autoadjust/{BaselineAutoAdjustStatistic.java => BaselineAutoAdjustStatus.java} (73%)
 rename modules/{indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSelectForUpdateQueryTest.java => core/src/main/java/org/apache/ignite/internal/processors/configuration/distributed/DistributePropertyListener.java} (60%)
 create mode 100644 modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageHistoryCache.java
 copy modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/{DistributedMetaStorageHistoryItem.java => DistributedMetaStorageKeyValuePair.java} (72%)
 rename modules/core/src/main/java/org/apache/ignite/mxbean/{BaselineConfigurationMXBean.java => BaselineAutoAdjustMXBean.java} (84%)
 create mode 100644 modules/core/src/test/java/org/apache/ignite/client/ConnectionTest.java
 create mode 100644 modules/core/src/test/java/org/apache/ignite/internal/processors/DeadLockOnNodeLeftExchangeTest.java
 create mode 100644 modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/crc/IgniteWithoutArchiverWalIteratorInvalidCrcTest.java
 create mode 100644 modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/crc/WalTestUtils.java
 rename modules/core/src/test/java/org/apache/ignite/internal/processors/cluster/{BaselineConfigurationMXBeanTest.java => BaselineAutoAdjustMXBeanTest.java} (77%)
 rename modules/core/src/test/java/org/apache/ignite/internal/processors/cluster/{ChangeTopologyWatcherTest.java => BaselineAutoAdjustTest.java} (86%)
 create mode 100644 modules/core/src/test/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageHistoryCacheTest.java
 create mode 100644 modules/indexing/src/main/java/org/apache/ignite/internal/mxbean/SqlQueryMXBean.java
 create mode 100644 modules/indexing/src/main/java/org/apache/ignite/internal/mxbean/SqlQueryMXBeanImpl.java
 delete mode 100644 modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/DhtResultSetEnlistFuture.java
 create mode 100644 modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/H2QueryInfo.java
 create mode 100644 modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/LongRunningQueryManager.java
 copy modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/{H2KeyValueIterator.java => MapH2QueryInfo.java} (50%)
 delete mode 100644 modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/NearResultSetEnlistFuture.java
 copy modules/{ml/src/main/java/org/apache/ignite/ml/inference/Model.java => indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/ReduceH2QueryInfo.java} (58%)
 delete mode 100644 modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/ResultSetEnlistFuture.java
 delete mode 100644 modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSelectForUpdateQueryTest.java
 delete mode 100644 modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSelectForUpdateQueryAbstractTest.java
 create mode 100644 modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSelectForUpdateQueryBasicTest.java
 create mode 100644 modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSelectForUpdateQueryTest.java
 create mode 100644 modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/LongRunningQueryTest.java
 create mode 100644 modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/SqlUnsupportedSelfTest.java
 create mode 100644 modules/ml/src/main/java/org/apache/ignite/ml/selection/scoring/metric/classification/ROCAUC.java
 create mode 100644 modules/ml/src/test/java/org/apache/ignite/ml/math/primitives/vector/storage/AbstractStorageTest.java
 create mode 100644 modules/ml/src/test/java/org/apache/ignite/ml/math/primitives/vector/storage/DenseVectorStorageTest.java
 copy modules/{core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncNearCacheTest.java => ml/src/test/java/org/apache/ignite/ml/math/primitives/vector/storage/SparseVectorStorageTest.java} (54%)
 create mode 100644 modules/ml/src/test/java/org/apache/ignite/ml/selection/scoring/metric/classification/ROCAUCTest.java
 create mode 100644 modules/web-console/frontend/app/configuration/components/page-configure-advanced/components/cache-edit-form/templates/key-cfg.pug
 create mode 100644 modules/web-console/frontend/app/configuration/components/page-configure-advanced/components/cache-edit-form/templates/misc.pug


[ignite] 01/01: Merge remote-tracking branch 'origin/master' into ignite-11525

Posted by pt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-11525
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit fce0fc9c7b1bb87b5a72d7264b5b82f14f89f7f7
Merge: d3e7b15 9c721f7
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Fri Apr 5 14:13:14 2019 +0300

    Merge remote-tracking branch 'origin/master' into ignite-11525

 .../datagrid/CacheClientBinaryQueryExample.java    | 133 ++--
 .../examples/datagrid/CacheQueryExample.java       |   3 +-
 .../starschema/CacheStarSchemaExample.java         |  25 +-
 .../ignite/examples/sql/SqlQueriesExample.java     |  29 +-
 modules/cassandra/store/pom.xml                    |  12 +
 .../jdbc/thin/JdbcThinConnectionSelfTest.java      |   2 +-
 .../main/java/org/apache/ignite/IgniteCache.java   |   2 -
 .../main/java/org/apache/ignite/IgniteCluster.java |   6 +
 .../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/GridComponent.java  |   9 +-
 .../org/apache/ignite/internal/IgniteFeatures.java |   6 +-
 .../org/apache/ignite/internal/IgniteKernal.java   | 231 +-----
 .../internal/StripedExecutorMXBeanAdapter.java     |   2 +-
 .../internal/TransactionMetricsMxBeanImpl.java     |   2 +-
 .../ignite/internal/TransactionsMXBeanImpl.java    |   2 +-
 .../internal/client/thin/ReliableChannel.java      |  25 +-
 .../cluster/DistributedBaselineConfiguration.java  | 101 ++-
 .../internal/cluster/IgniteClusterAsyncImpl.java   |   6 +
 .../ignite/internal/cluster/IgniteClusterImpl.java |  38 +-
 .../internal/jdbc/thin/JdbcThinStatement.java      |   4 +-
 .../internal/managers/IgniteMBeansManager.java     | 284 ++++++++
 .../cache/GridCachePartitionExchangeManager.java   |   4 +-
 .../cache/distributed/dht/CompoundLockFuture.java  | 112 ---
 .../dht/GridDhtTxAbstractEnlistFuture.java         |   8 +-
 .../dht/GridDhtTxQueryEnlistFuture.java            |   2 +-
 .../preloader/GridDhtPartitionsExchangeFuture.java |  13 +-
 .../near/GridNearTxAbstractEnlistFuture.java       |   5 +-
 .../near/GridNearTxSelectForUpdateFuture.java      | 462 ------------
 .../distributed/near/TxTopologyVersionFuture.java  | 176 -----
 .../GridCacheDatabaseSharedManager.java            |  84 ++-
 .../persistence/wal/FileWriteAheadLogManager.java  |  70 +-
 ...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 +-
 .../distributed/DistributePropertyListener.java}   |  26 +-
 .../distributed/DistributedBooleanProperty.java    |   9 +-
 .../distributed/DistributedComparableProperty.java |   4 +-
 .../DistributedConfigurationProcessor.java         |  14 +-
 .../distributed/DistributedLongProperty.java       |   9 +-
 .../distributed/DistributedProperty.java           |  31 +-
 .../distributed/DistributedPropertyDispatcher.java |   6 +-
 .../ReadableDistributedMetaStorage.java            |  47 +-
 .../persistence/DistributedMetaStorageBridge.java  |   8 +-
 .../DistributedMetaStorageClusterNodeData.java     |  26 +-
 .../DistributedMetaStorageHistoryCache.java        | 228 ++++++
 .../DistributedMetaStorageHistoryItem.java         |  64 +-
 .../persistence/DistributedMetaStorageImpl.java    | 753 +++++++++++++-------
 .../DistributedMetaStorageJoiningNodeData.java     |  16 +-
 ...ava => DistributedMetaStorageKeyValuePair.java} |  20 +-
 .../DistributedMetaStorageUpdateAckMessage.java    |   5 -
 .../persistence/DistributedMetaStorageUtil.java    |  24 +-
 .../persistence/DistributedMetaStorageVersion.java |   3 +-
 .../EmptyDistributedMetaStorageBridge.java         |  10 +-
 ...InMemoryCachedDistributedMetaStorageBridge.java |  27 +-
 .../NotAvailableDistributedMetaStorageBridge.java  |   8 +-
 .../ReadOnlyDistributedMetaStorageBridge.java      | 107 +--
 .../WritableDistributedMetaStorageBridge.java      |  35 +-
 .../processors/query/GridQueryIndexing.java        |   9 +
 .../processors/query/GridQueryProcessor.java       |  14 +-
 .../internal/processors/query/QuerySchema.java     |   8 +-
 .../internal/processors/query/QueryUtils.java      |  29 +
 .../org/apache/ignite/internal/sql/SqlKeyword.java |  12 +
 .../org/apache/ignite/internal/sql/SqlParser.java  |  67 ++
 .../apache/ignite/internal/sql/SqlParserUtils.java |   2 +-
 .../internal/sql/SqlStrictParseException.java      |  27 +-
 .../ignite/internal/util/HostAndPortRange.java     |   3 +
 .../internal/visor/baseline/VisorBaselineTask.java |  11 +-
 .../visor/baseline/VisorBaselineViewTask.java      |   8 +-
 ...onMXBean.java => BaselineAutoAdjustMXBean.java} |  10 +-
 .../org/apache/ignite/client/ConnectionTest.java   |  73 ++
 .../processors/DeadLockOnNodeLeftExchangeTest.java | 111 +++
 .../cache/CacheGetRemoveSkipStoreTest.java         |   4 +-
 .../processors/cache/CacheRemoveAllSelfTest.java   |   4 +-
 .../cache/GridCacheVariableTopologySelfTest.java   |   4 +-
 ...IgniteCacheInvokeReadThroughSingleNodeTest.java |   4 +-
 .../cache/IgniteCacheInvokeReadThroughTest.java    |   4 +-
 .../IgniteCacheReadThroughEvictionSelfTest.java    |   4 +-
 .../IgniteClientCacheInitializationFailTest.java   |   6 +
 .../GridCacheMultiNodeLockAbstractTest.java        |   4 +-
 .../GridCacheNodeFailureAbstractTest.java          |   9 +-
 .../IgniteTxRemoveTimeoutObjectsTest.java          |   4 +-
 .../near/GridCachePartitionedEventSelfTest.java    |   4 +-
 ...niteBaselineAffinityTopologyActivationTest.java |   4 +-
 ...CheckpointSimulationWithRealCpDisabledTest.java |  65 +-
 .../IgniteAbstractWalIteratorInvalidCrcTest.java   |  53 +-
 ...teWithoutArchiverWalIteratorInvalidCrcTest.java | 219 ++++++
 .../cache/persistence/db/wal/crc/WalTestUtils.java | 147 ++++
 .../transactions/TxRollbackAsyncNearCacheTest.java |   4 +-
 ...Test.java => BaselineAutoAdjustMXBeanTest.java} |  23 +-
 ...atcherTest.java => BaselineAutoAdjustTest.java} |  46 +-
 .../DistributedConfigurationAbstractTest.java      |  69 +-
 .../TestDistibutedConfigurationPlugin.java         |   8 +
 .../DistributedMetaStoragePersistentTest.java      |  94 ++-
 .../metastorage/DistributedMetaStorageTest.java    | 115 ++-
 .../DistributedMetaStorageHistoryCacheTest.java    | 227 ++++++
 .../tcp/GridTcpCommunicationSpiLanLoadTest.java    |   2 -
 .../spi/discovery/AbstractDiscoverySelfTest.java   |   2 -
 .../testframework/junits/GridAbstractTest.java     | 206 +++---
 .../junits/JUnit3TestLegacySupport.java            |  33 +-
 .../junits/common/GridCommonAbstractTest.java      |   4 +-
 .../junits/multijvm/IgniteClusterProcessProxy.java |   7 +-
 .../junits/spi/GridSpiAbstractTest.java            |  12 +-
 .../ignite/testsuites/IgniteBasicTestSuite.java    |   9 +-
 .../testsuites/IgniteKernalSelfTestSuite.java      |   5 +-
 .../ignite/testsuites/IgnitePdsTestSuite2.java     |   2 +
 .../util/mbeans/GridMBeanDisableSelfTest.java      |   8 +-
 .../ignite/internal/mxbean/SqlQueryMXBean.java     |  71 ++
 .../ignite/internal/mxbean/SqlQueryMXBeanImpl.java |  56 ++
 .../cache/query/GridCacheTwoStepQuery.java         |  26 +-
 .../query/h2/DhtResultSetEnlistFuture.java         |  63 --
 .../query/h2/DmlStatementsProcessor.java           |  34 +-
 .../processors/query/h2/H2FieldsIterator.java      |   5 +-
 .../processors/query/h2/H2KeyValueIterator.java    |   2 +-
 .../internal/processors/query/h2/H2QueryInfo.java  | 159 +++++
 .../processors/query/h2/H2ResultSetIterator.java   |   7 +-
 .../internal/processors/query/h2/H2Utils.java      |  15 -
 .../processors/query/h2/IgniteH2Indexing.java      | 548 +++++++-------
 .../query/h2/LongRunningQueryManager.java          | 204 ++++++
 ...H2KeyValueIterator.java => MapH2QueryInfo.java} |  46 +-
 .../query/h2/NearResultSetEnlistFuture.java        |  59 --
 .../internal/processors/query/h2/QueryParser.java  | 105 ++-
 .../query/h2/QueryParserResultSelect.java          |  61 +-
 .../processors/query/h2/ReduceH2QueryInfo.java}    |  33 +-
 .../processors/query/h2/ResultSetEnlistFuture.java | 136 ----
 .../processors/query/h2/dml/DmlBatchSender.java    |  22 +-
 .../internal/processors/query/h2/dml/DmlUtils.java |  14 +-
 .../processors/query/h2/dml/UpdatePlanBuilder.java |  12 +-
 .../processors/query/h2/sql/GridSqlKeyword.java    |   3 +-
 .../query/h2/sql/GridSqlQueryParser.java           | 254 ++++---
 .../query/h2/sql/GridSqlQuerySplitter.java         |  84 ++-
 .../processors/query/h2/sql/GridSqlSelect.java     |  24 +
 .../query/h2/twostep/GridMapQueryExecutor.java     | 201 +-----
 .../query/h2/twostep/GridReduceQueryExecutor.java  | 177 +----
 .../query/h2/twostep/MapQueryResults.java          |  15 +-
 .../query/h2/twostep/ReduceQueryRun.java           |  14 -
 .../query/h2/twostep/ReduceResultPage.java         |  20 +-
 .../org/apache/ignite/client/ClientTestSuite.java  |   3 +-
 .../cache/IgniteCacheUpdateSqlQuerySelfTest.java   |  33 -
 .../processors/cache/index/StaticCacheDdlTest.java |   1 -
 ...cheMvccPartitionedSelectForUpdateQueryTest.java |  47 --
 .../CacheMvccSelectForUpdateQueryAbstractTest.java | 370 ----------
 .../CacheMvccSelectForUpdateQueryBasicTest.java    | 789 +++++++++++++++++++++
 .../mvcc/CacheMvccSelectForUpdateQueryTest.java    | 184 +++++
 .../processors/query/LongRunningQueryTest.java     | 194 +++++
 .../query/h2/DmlStatementsProcessorTest.java       |  44 +-
 .../processors/query/h2/QueryDataPageScanTest.java |   5 +-
 .../query/h2/sql/GridQueryParsingTest.java         |  47 +-
 .../query/h2/sql/SqlUnsupportedSelfTest.java       | 332 +++++++++
 .../IgniteBinaryCacheQueryTestSuite.java           |   2 +
 .../IgniteBinaryCacheQueryTestSuite2.java          |   3 +
 .../testsuites/IgniteCacheMvccSqlTestSuite.java    |   9 +-
 .../ignite/ml/clustering/kmeans/KMeansModel.java   |   2 +-
 .../extractor/impl/BinaryObjectVectorizer.java     |   9 +-
 .../java/org/apache/ignite/ml/inference/Model.java |   4 +-
 .../ignite/ml/knn/NNClassificationModel.java       |   2 +-
 .../knn/classification/KNNClassificationModel.java |  15 +
 .../apache/ignite/ml/math/StorageOpsMetrics.java   |  15 +-
 .../ml/math/primitives/matrix/AbstractMatrix.java  |  10 -
 .../ignite/ml/math/primitives/matrix/Matrix.java   |   5 +
 .../ml/math/primitives/matrix/MatrixStorage.java   |   5 +
 .../math/primitives/matrix/impl/SparseMatrix.java  |   2 +-
 .../matrix/storage/DenseMatrixStorage.java         |  12 +-
 .../matrix/storage/SparseMatrixStorage.java        |  12 +-
 .../matrix/storage/ViewMatrixStorage.java          |  10 -
 .../ml/math/primitives/vector/AbstractVector.java  |  78 +-
 .../ignite/ml/math/primitives/vector/Vector.java   |  59 +-
 .../ml/math/primitives/vector/VectorStorage.java   |  27 +-
 .../ml/math/primitives/vector/VectorUtils.java     |   5 +-
 .../primitives/vector/impl/DelegatingVector.java   |  34 +-
 .../math/primitives/vector/impl/SparseVector.java  |  11 +-
 .../vector/storage/DenseVectorStorage.java         | 164 ++++-
 .../vector/storage/SparseVectorStorage.java        | 107 ++-
 .../vector/storage/VectorViewStorage.java          |  25 +-
 .../storage/VectorizedViewMatrixStorage.java       |  28 +-
 .../ignite/ml/nn/ReplicatedVectorMatrix.java       |  28 +-
 .../BinaryClassificationMetricValues.java          |  12 +-
 .../BinaryClassificationMetrics.java               |  47 +-
 .../scoring/metric/classification/ROCAUC.java      | 141 ++++
 .../ml/svm/SVMLinearClassificationTrainer.java     |  10 +-
 .../ml/dataset/feature/ObjectHistogramTest.java    |   4 +-
 .../java/org/apache/ignite/ml/math/BlasTest.java   |   9 +-
 .../ignite/ml/math/MathImplLocalTestSuite.java     |   4 +
 .../primitives/matrix/MatrixArrayStorageTest.java  |   7 -
 .../primitives/matrix/MatrixAttributeTest.java     |   9 +-
 .../matrix/MatrixViewConstructorTest.java          |   2 -
 .../math/primitives/vector/AbstractVectorTest.java |  20 -
 .../vector/SparseVectorConstructorTest.java        |  25 +-
 .../primitives/vector/VectorAttributesTest.java    |  20 +-
 .../vector/VectorImplementationsFixtures.java      |   4 +-
 .../vector/VectorImplementationsTest.java          |   3 +-
 .../vector/storage/AbstractStorageTest.java        | 147 ++++
 .../vector/storage/DenseVectorStorageTest.java     |  61 ++
 .../vector/storage/SparseVectorStorageTest.java}   |  28 +-
 .../BinaryClassificationMetricsValuesTest.java     |   3 +-
 .../scoring/metric/classification/ROCAUCTest.java  | 121 ++++
 .../ignite/ml/xgboost/XGModelComposition.java      |   6 +-
 .../ApiParity/ClusterParityTest.cs                 |   3 +-
 modules/web-console/backend/app/schemas.js         |  79 ++-
 .../components/queries-notebook/template.tpl.pug   |  18 +-
 .../queries-notebooks-list/controller.js           |  43 +-
 .../queries-notebooks-list/template.tpl.pug        |   9 +-
 .../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 +
 .../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 ++++++-
 .../generator/generator/AbstractTransformer.js     |  18 +-
 .../app/configuration/generator/generator/Beans.js |   7 +
 .../generator/generator/ConfigurationGenerator.js  | 180 ++++-
 .../generator/generator/JavaTransformer.service.js |   8 +
 .../generator/generator/Maven.service.js           |   2 +-
 .../generator/SpringTransformer.service.js         |   2 +
 .../generator/generator/defaults/Cache.service.js  |  10 +-
 .../generator/defaults/Cluster.service.js          |  12 +-
 .../generator/generator/defaults/IGFS.service.js   |  15 +-
 .../frontend/app/configuration/services/Caches.ts  |   3 +-
 .../frontend/app/configuration/services/IGFSs.ts   |  16 +-
 modules/web-console/frontend/package-lock.json     |  27 -
 .../WebConsoleConfigurationSelfTest.java           | 124 +++-
 .../ignite/console/configuration/WrongFields.java  |   2 +-
 233 files changed, 8216 insertions(+), 4206 deletions(-)