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:44 UTC

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

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(-)