Merge branches 'ignite-comm-balance-master' and 'master' of https://git-wip-us.apache.org/repos/asf/ignite into ignite-comm-balance-master-apache
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/fb5ef696 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/fb5ef696 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/fb5ef696 Branch: refs/heads/ignite-comm-balance-master Commit: fb5ef696bdd6e769677d8f7056fe0ff6065b105b Parents: c57d72e 7f74458 Author: Yakov Zhdanov <[email protected]> Authored: Thu Feb 16 20:35:33 2017 +0300 Committer: Yakov Zhdanov <[email protected]> Committed: Thu Feb 16 20:35:33 2017 +0300 ---------------------------------------------------------------------- NOTICE | 2 +- assembly/NOTICE_FABRIC | 2 +- assembly/NOTICE_HADOOP | 2 +- examples/config/spark/example-shared-rdd.xml | 83 +++ examples/pom.xml | 27 +- .../examples/java8/spark/SharedRDDExample.java | 110 ++++ .../examples/spark/ScalarSharedRDDExample.scala | 89 +++ .../examples/SharedRDDExampleSelfTest.java | 36 ++ .../IgniteExamplesJ8SelfTestSuite.java | 3 + .../tests/examples/ScalarExamplesSelfTest.scala | 6 + modules/core/src/main/java/META-INF/NOTICE | 2 +- .../java/org/apache/ignite/IgniteMessaging.java | 11 +- .../apache/ignite/IgniteSystemProperties.java | 6 + .../org/apache/ignite/cache/QueryEntity.java | 21 + .../org/apache/ignite/cache/query/SqlQuery.java | 25 + .../internal/GridEventConsumeHandler.java | 5 + .../ignite/internal/GridKernalContext.java | 1 + .../ignite/internal/GridKernalContextImpl.java | 1 + .../internal/GridMessageListenHandler.java | 5 + .../internal/GridPerformanceSuggestions.java | 92 ---- .../apache/ignite/internal/IgniteKernal.java | 57 +- .../ignite/internal/IgniteMessagingImpl.java | 6 +- .../ignite/internal/IgniteVersionUtils.java | 2 +- .../internal/StripedExecutorMXBeanAdapter.java | 90 +++ .../internal/managers/GridManagerAdapter.java | 2 +- .../managers/communication/GridIoManager.java | 55 +- .../processors/cache/EntryGetResult.java | 65 +++ .../processors/cache/GridCacheAdapter.java | 125 +++-- .../processors/cache/GridCacheContext.java | 4 +- .../processors/cache/GridCacheEntryEx.java | 42 +- .../processors/cache/GridCacheMapEntry.java | 140 ++++- .../processors/cache/GridCacheProcessor.java | 92 +++- .../processors/cache/GridCacheUtils.java | 3 + .../processors/cache/IgniteCacheProxy.java | 3 + .../processors/cache/ReaderArguments.java | 74 +++ .../distributed/dht/GridDhtCacheAdapter.java | 19 +- .../cache/distributed/dht/GridDhtGetFuture.java | 83 ++- .../distributed/dht/GridDhtGetSingleFuture.java | 75 +-- .../distributed/dht/GridDhtLocalPartition.java | 120 +++- .../distributed/dht/GridDhtTxPrepareFuture.java | 35 +- .../dht/GridPartitionedGetFuture.java | 10 +- .../dht/GridPartitionedSingleGetFuture.java | 10 +- .../dht/atomic/GridDhtAtomicCache.java | 12 +- .../dht/colocated/GridDhtColocatedCache.java | 10 +- .../distributed/near/GridNearGetFuture.java | 19 +- .../local/atomic/GridLocalAtomicCache.java | 11 +- .../cache/query/GridCacheQueryManager.java | 83 ++- .../continuous/CacheContinuousQueryHandler.java | 97 +++- .../cache/transactions/IgniteTxHandler.java | 2 +- .../transactions/IgniteTxLocalAdapter.java | 65 ++- .../continuous/GridContinuousHandler.java | 5 + .../continuous/GridContinuousProcessor.java | 3 + .../internal/processors/job/GridJobWorker.java | 4 + .../processors/query/GridQueryIndexing.java | 21 +- .../processors/query/GridQueryProcessor.java | 120 ++-- .../query/GridQueryTypeDescriptor.java | 7 + .../processors/query/GridRunningQueryInfo.java | 132 +++++ .../suggestions/GridPerformanceSuggestions.java | 105 ++++ .../JvmConfigurationSuggestions.java | 104 ++++ .../suggestions/OsConfigurationSuggestions.java | 127 +++++ .../internal/suggestions/package-info.java | 21 + .../ignite/internal/util/IgniteUtils.java | 14 + .../ignite/internal/util/StripedExecutor.java | 55 +- .../internal/visor/VisorMultiNodeTask.java | 2 +- .../visor/cache/VisorCacheTypeMetadata.java | 6 + .../visor/query/VisorCancelQueriesTask.java | 72 +++ .../query/VisorCollectRunningQueriesTask.java | 96 ++++ .../internal/visor/query/VisorRunningQuery.java | 132 +++++ .../ignite/mxbean/StripedExecutorMXBean.java | 90 +++ .../communication/tcp/TcpCommunicationSpi.java | 16 + .../ignite/spi/discovery/tcp/ClientImpl.java | 90 ++- .../ignite/spi/discovery/tcp/ServerImpl.java | 63 ++- .../messages/TcpDiscoveryAbstractMessage.java | 21 + modules/core/src/test/config/log4j-test.xml | 6 + .../internal/GridContinuousTaskSelfTest.java | 79 +++ .../communication/GridIoManagerSelfTest.java | 6 +- .../cache/CacheConcurrentReadThroughTest.java | 184 +++++++ .../cache/CacheDeferredDeleteQueueTest.java | 134 +++++ .../cache/GridCacheLifecycleAwareSelfTest.java | 33 ++ .../processors/cache/GridCacheTestEntryEx.java | 30 +- ...niteTopologyValidatorGridSplitCacheTest.java | 334 ++++++++++++ ...CacheAtomicReferenceApiSelfAbstractTest.java | 60 +- ...idCacheAtomicStampedApiSelfAbstractTest.java | 59 ++ .../GridCacheQueueApiSelfAbstractTest.java | 58 ++ .../GridCacheSetAbstractSelfTest.java | 53 ++ .../IgniteAtomicLongApiAbstractSelfTest.java | 27 + .../IgniteCountDownLatchAbstractSelfTest.java | 43 ++ .../IgniteLockAbstractSelfTest.java | 54 +- .../IgniteSemaphoreAbstractSelfTest.java | 52 +- .../near/GridNearCacheStoreUpdateTest.java | 466 ++++++++++++++++ .../GridNearOffheapCacheStoreUpdateTest.java | 35 ++ .../cache/query/IndexingSpiQuerySelfTest.java | 69 ++- .../IndexingSpiQueryWithH2IndexingSelfTest.java | 36 ++ .../ClientReconnectContinuousQueryTest.java | 201 +++++++ ...niteMessagingConfigVariationFullApiTest.java | 195 +++++-- .../internal/util/StripedExecutorTest.java | 168 ++++++ .../ignite/messaging/GridMessagingSelfTest.java | 114 +++- .../messaging/IgniteMessagingSendAsyncTest.java | 544 +++++++++++++++++++ .../tcp/TcpCommunicationSpiDropNodesTest.java | 322 +++++++++++ .../TcpCommunicationSpiFaultyClientTest.java | 265 +++++++++ .../startup/GridRandomCommandLineLoader.java | 2 +- .../ignite/testframework/GridTestNode.java | 1 + .../testframework/junits/GridAbstractTest.java | 2 + .../ignite/testsuites/IgniteBasicTestSuite.java | 2 + .../ignite/testsuites/IgniteCacheTestSuite.java | 2 + .../testsuites/IgniteCacheTestSuite2.java | 7 + .../testsuites/IgniteComputeGridTestSuite.java | 2 + .../IgniteSpiCommunicationSelfTestSuite.java | 5 + .../IgniteSpiDiscoverySelfTestSuite.java | 2 +- .../IgniteTopologyValidatorTestSuit.java | 1 + .../hadoop/shuffle/HadoopShuffle.java | 2 +- .../cache/query/GridCacheTwoStepQuery.java | 18 +- .../processors/query/h2/IgniteH2Indexing.java | 111 +++- .../query/h2/sql/GridSqlQuerySplitter.java | 4 +- .../h2/twostep/GridReduceQueryExecutor.java | 60 +- ...CacheScanPartitionQueryFallbackSelfTest.java | 2 +- .../cache/CacheSqlQueryValueCopySelfTest.java | 208 ++++++- .../cache/GridCacheCrossCacheQuerySelfTest.java | 2 +- .../cache/IgniteCacheAbstractQuerySelfTest.java | 294 ++++++++++ .../cache/QueryEntityCaseMismatchTest.java | 107 ++++ .../IgniteCachePartitionedQuerySelfTest.java | 85 +++ .../h2/GridIndexingSpiAbstractSelfTest.java | 36 +- .../IgniteCacheQuerySelfTestSuite.java | 2 + .../IgniteCacheQuerySelfTestSuite3.java | 2 + modules/kubernetes/DEVNOTES.txt | 63 +++ modules/kubernetes/README.txt | 33 ++ modules/kubernetes/config/Dockerfile | 45 ++ modules/kubernetes/config/example-kube.xml | 44 ++ .../kubernetes/config/ignite-deployment.yaml | 26 + modules/kubernetes/config/ignite-service.yaml | 14 + modules/kubernetes/config/run.sh | 50 ++ modules/kubernetes/licenses/apache-2.0.txt | 202 +++++++ modules/kubernetes/pom.xml | 93 ++++ .../TcpDiscoveryKubernetesIpFinder.java | 317 +++++++++++ .../tcp/ipfinder/kubernetes/package-info.java | 22 + .../TcpDiscoveryKubernetesIpFinderSelfTest.java | 93 ++++ .../tcp/ipfinder/kubernetes/package-info.java | 22 + .../testsuites/IgniteKubernetesTestSuite.java | 41 ++ .../Properties/AssemblyInfo.cs | 2 +- .../Apache.Ignite.AspNet.nuspec | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Cache/Query/CacheLinqTest.cs | 96 ++++ .../Cache/Store/CacheStoreTest.cs | 30 +- .../Properties/AssemblyInfo.cs | 2 +- .../Apache.Ignite.Core.Schema.nuspec | 2 +- .../Apache.Ignite.Core.nuspec | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Apache.Ignite.EntityFramework.nuspec | 2 +- .../Apache.Ignite.Linq.nuspec | 2 +- .../Impl/CacheQueryExpressionVisitor.cs | 127 ++++- .../Impl/CacheQueryModelVisitor.cs | 3 + .../Properties/AssemblyInfo.cs | 2 +- .../Apache.Ignite.Log4Net.nuspec | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Apache.Ignite.NLog.nuspec | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Apache.Ignite/Properties/AssemblyInfo.cs | 2 +- .../Apache.Ignite.Examples.csproj | 1 + .../Datagrid/TransactionExample.cs | 75 ++- .../Properties/AssemblyInfo.cs | 2 +- modules/scalar-2.10/pom.xml | 2 +- modules/scalar/pom.xml | 2 +- .../apache/ignite/spark/JavaIgniteContext.scala | 6 + modules/web-console/backend/app/agent.js | 44 +- modules/web-console/backend/app/browser.js | 26 + modules/web-console/backend/app/mongo.js | 49 +- modules/web-console/backend/app/routes.js | 5 +- .../web-console/backend/routes/activities.js | 45 ++ modules/web-console/backend/routes/admin.js | 2 +- modules/web-console/backend/routes/agent.js | 10 +- modules/web-console/backend/routes/profile.js | 4 +- modules/web-console/backend/routes/public.js | 1 - .../web-console/backend/services/activities.js | 117 ++++ .../web-console/backend/services/sessions.js | 6 +- modules/web-console/backend/services/users.js | 20 +- .../backend/test/unit/ActivitiesService.test.js | 131 +++++ modules/web-console/frontend/app/app.config.js | 13 + modules/web-console/frontend/app/app.js | 29 +- .../activities-user-dialog.controller.js | 27 + .../activities-user-dialog.jade | 36 ++ .../components/activities-user-dialog/index.js | 35 ++ .../form-field-datepicker.jade | 55 ++ .../form-field-datepicker.scss | 20 + .../list-of-registered-users/index.js | 28 + .../list-of-registered-users.categories.js | 30 + .../list-of-registered-users.column-defs.js | 80 +++ .../list-of-registered-users.controller.js | 239 ++++++++ .../list-of-registered-users.jade | 58 ++ .../ui-grid-header/ui-grid-header.jade | 27 + .../ui-grid-header/ui-grid-header.scss | 84 +++ .../ui-grid-settings/ui-grid-settings.jade | 33 ++ .../ui-grid-settings/ui-grid-settings.scss | 99 ++++ .../app/core/activities/Activities.data.js | 34 ++ .../frontend/app/core/admin/Admin.data.js | 77 +++ modules/web-console/frontend/app/core/index.js | 25 + modules/web-console/frontend/app/data/i18n.js | 39 ++ .../ui-ace-pom/ui-ace-pom.controller.js | 4 +- .../ui-grid-settings/ui-grid-settings.jade | 33 -- .../ui-grid-settings/ui-grid-settings.scss | 38 -- .../app/filters/uiGridSubcategories.filter.js | 24 + .../frontend/app/modules/Demo/Demo.module.js | 166 ------ .../frontend/app/modules/agent/agent.module.js | 15 - .../app/modules/branding/branding.provider.js | 2 +- .../modules/configuration/Version.service.js | 35 +- .../configuration/generator/Maven.service.js | 10 +- .../frontend/app/modules/demo/Demo.module.js | 172 ++++++ .../frontend/app/modules/sql/sql.controller.js | 14 +- .../frontend/app/modules/sql/sql.module.js | 2 +- .../frontend/app/modules/states/admin.state.js | 2 +- .../configuration/summary/summary.controller.js | 6 +- .../configuration/summary/summary.worker.js | 6 +- .../app/modules/user/AclRoute.provider.js | 31 +- .../frontend/app/modules/user/Auth.service.js | 2 +- .../frontend/app/modules/user/permissions.js | 2 +- .../frontend/app/modules/user/user.module.js | 6 +- modules/web-console/frontend/app/vendor.js | 1 + .../frontend/controllers/admin-controller.js | 234 -------- .../frontend/controllers/domains-controller.js | 12 +- modules/web-console/frontend/package.json | 181 +++--- .../stylesheets/_font-awesome-custom.scss | 28 + .../frontend/public/stylesheets/style.scss | 31 +- .../frontend/test/unit/Version.test.js | 26 +- .../frontend/views/settings/admin.jade | 32 +- modules/web-console/frontend/views/sql/sql.jade | 4 +- .../views/templates/agent-download.jade | 10 +- .../ignite/console/agent/AgentLauncher.java | 203 ++++--- .../apache/ignite/console/agent/AgentUtils.java | 80 +++ .../console/agent/handlers/AbstractHandler.java | 110 ---- .../agent/handlers/AbstractListener.java | 104 ++++ .../console/agent/handlers/DatabaseHandler.java | 298 ---------- .../agent/handlers/DatabaseListener.java | 316 +++++++++++ .../console/agent/handlers/RestHandler.java | 276 ---------- .../console/agent/handlers/RestListener.java | 280 ++++++++++ .../ignite/console/demo/AgentClusterDemo.java | 475 +--------------- .../ignite/console/demo/AgentDemoUtils.java | 79 +++ .../demo/service/DemoCachesLoadService.java | 456 ++++++++++++++++ .../service/DemoRandomCacheLoadService.java | 120 ++++ .../service/DemoServiceClusterSingleton.java | 41 ++ .../demo/service/DemoServiceKeyAffinity.java | 41 ++ .../service/DemoServiceMultipleInstances.java | 41 ++ .../demo/service/DemoServiceNodeSingleton.java | 41 ++ modules/yardstick/DEVNOTES-standalone.txt | 15 + modules/yardstick/DEVNOTES.txt | 20 +- modules/yardstick/README.txt | 119 ++-- .../config/benchmark-sample.properties | 62 +++ modules/yardstick/pom.xml | 4 +- .../yardstick/IgniteBenchmarkArguments.java | 28 +- .../org/apache/ignite/yardstick/IgniteNode.java | 2 +- .../cache/IgnitePutRemoveBenchmark.java | 42 ++ .../cache/IgnitePutRemoveTxBenchmark.java | 30 + .../cache/IgnitePutValue8Benchmark.java | 42 ++ .../IgniteCacheRandomOperationBenchmark.java | 49 ++ parent/pom.xml | 2 +- pom.xml | 2 + 257 files changed, 12602 insertions(+), 2710 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/fb5ef696/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/fb5ef696/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/fb5ef696/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/fb5ef696/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicCache.java ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/fb5ef696/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxHandler.java ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/fb5ef696/modules/core/src/main/java/org/apache/ignite/internal/util/StripedExecutor.java ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/fb5ef696/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java ----------------------------------------------------------------------
