[2/2] ignite git commit: Merge remote-tracking branch 'origin/master'
Merge remote-tracking branch 'origin/master' Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/8c032203 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/8c032203 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/8c032203 Branch: refs/heads/master Commit: 8c032203880619a9213a7959b8d9dc4639fa0d9e Parents: 56e83a8 cee7447 Author: Denis Magda Authored: Mon Apr 17 17:27:25 2017 -0700 Committer: Denis Magda Committed: Mon Apr 17 17:27:25 2017 -0700 -- .../JettyRestProcessorAbstractSelfTest.java | 72 .../visor/compute/VisorGatewayTask.java | 2 +- .../commands/cache/VisorCacheScanCommand.scala | 3 +- .../commands/cache/VisorCacheCommandSpec.scala | 4 ++ 4 files changed, 21 insertions(+), 60 deletions(-) --
[1/2] ignite git commit: Fixed memory policies example and improved page memory related documentation.
Repository: ignite Updated Branches: refs/heads/master cee744737 -> 8c0322038 Fixed memory policies example and improved page memory related documentation. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/56e83a82 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/56e83a82 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/56e83a82 Branch: refs/heads/master Commit: 56e83a82430c5e608f61fd9770b744e2df28f1d2 Parents: 90bd8b5 Author: Denis Magda Authored: Mon Apr 17 17:27:14 2017 -0700 Committer: Denis Magda Committed: Mon Apr 17 17:27:14 2017 -0700 -- examples/config/example-memory-policies.xml | 14 +-- .../datagrid/MemoryPoliciesExample.java | 16 ++-- .../configuration/CacheConfiguration.java | 4 +- .../configuration/DataPageEvictionMode.java | 33 --- .../configuration/MemoryConfiguration.java | 87 +- .../MemoryPolicyConfiguration.java | 96 +++- 6 files changed, 178 insertions(+), 72 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/56e83a82/examples/config/example-memory-policies.xml -- diff --git a/examples/config/example-memory-policies.xml b/examples/config/example-memory-policies.xml index 9390a20..121b8a5 100644 --- a/examples/config/example-memory-policies.xml +++ b/examples/config/example-memory-policies.xml @@ -53,12 +53,12 @@ - - - + + + @@ -68,9 +68,9 @@ 'swapFilePath' parameter. --> - - - + + + http://git-wip-us.apache.org/repos/asf/ignite/blob/56e83a82/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java -- diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java b/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java index 3f27d3e..52cda5f 100644 --- a/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java @@ -43,11 +43,11 @@ public class MemoryPoliciesExample { /** Name of the default memory policy defined in 'example-memory-policies.xml'. */ public static final String POLICY_DEFAULT = "Default_Region"; -/** Name of the memory policy that creates a memory region limited by 10 MB with eviction enabled */ -public static final String POLICY_10MB_EVICTION = "10MB_Region_Eviction"; +/** Name of the memory policy that creates a memory region limited by 20 MB with eviction enabled */ +public static final String POLICY_20MB_EVICTION = "20MB_Region_Eviction"; /** Name of the memory policy that creates a memory region mapped to a memory-mapped file. */ -public static final String POLICY_5MB_MEMORY_MAPPED_FILE = "5MB_Region_Swapping"; +public static final String POLICY_15MB_MEMORY_MAPPED_FILE = "15MB_Region_Swapping"; /** * Executes example. @@ -66,19 +66,19 @@ public class MemoryPoliciesExample { */ CacheConfiguration firstCacheCfg = new CacheConfiguration<>("firstCache"); -firstCacheCfg.setMemoryPolicyName(POLICY_10MB_EVICTION); +firstCacheCfg.setMemoryPolicyName(POLICY_20MB_EVICTION); firstCacheCfg.setCacheMode(CacheMode.PARTITIONED); firstCacheCfg.setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL); CacheConfiguration secondCacheCfg = new CacheConfiguration<>("secondCache"); -secondCacheCfg.setMemoryPolicyName(POLICY_10MB_EVICTION); +secondCacheCfg.setMemoryPolicyName(POLICY_20MB_EVICTION); secondCacheCfg.setCacheMode(CacheMode.REPLICATED); secondCacheCfg.setAtomicityMode(CacheAtomicityMode.ATOMIC); IgniteCache firstCache = ignite.createCache(firstCacheCfg); IgniteCache secondCache = ignite.createCache(secondCacheCfg); -System.out.println(">>> Started two caches bound to '" + POLICY_10MB_EVICTION + "' memo
svn commit: r1792006 - in /ignite/site/trunk: css/all.css download.html includes/scripts.html news.html scss/ignite.scss
Author: dmagda Date: Wed Apr 19 23:43:19 2017 New Revision: 1792006 URL: http://svn.apache.org/viewvc?rev=1792006&view=rev Log: social media icons to the news page Modified: ignite/site/trunk/css/all.css ignite/site/trunk/download.html ignite/site/trunk/includes/scripts.html ignite/site/trunk/news.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1792006&r1=1792005&r2=1792006&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Wed Apr 19 23:43:19 2017 @@ -8543,6 +8543,16 @@ a.github-icon { height: 500px; } +.news-socialmedia-icons { + float: right !important; +} + +.news-socialmedia-share { + display: inline; + font-size: 16px; + color: #888; +} + .btn-transparent { color: #fff; background-color: transparent; Modified: ignite/site/trunk/download.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/download.html?rev=1792006&r1=1792005&r2=1792006&view=diff == --- ignite/site/trunk/download.html (original) +++ ignite/site/trunk/download.html Wed Apr 19 23:43:19 2017 @@ -1245,6 +1245,8 @@ $(document).ready(function(){ }); }); + +https://static.addtoany.com/menu/page.js"</a>;> Modified: ignite/site/trunk/includes/scripts.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/scripts.html?rev=1792006&r1=1792005&r2=1792006&view=diff == --- ignite/site/trunk/includes/scripts.html (original) +++ ignite/site/trunk/includes/scripts.html Wed Apr 19 23:43:19 2017 @@ -162,4 +162,6 @@ $(document).ready(function(){ $("#clustering").attr('src', clusteringUrl); }); }); - \ No newline at end of file + + +https://static.addtoany.com/menu/page.js"</a>;> \ No newline at end of file Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1792006&r1=1792005&r2=1792006&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/ignite/site/trunk/scss/ignite.scss?rev=1792006&r1=1792005&r2=1792006&view=diff == --- ignite/site/trunk/scss/ignite.scss (original) +++ ignite/site/trunk/scss/ignite.scss Wed Apr 19 23:43:19 2017 @@ -1021,3 +1021,14 @@ a.github-icon { width: 700px; height: 500px; } + + +.news-socialmedia-icons { +float: right !important; + } + + .news-socialmedia-share { +display:inline; +font-size: 16px; +color: #888; + } \ No newline at end of file
svn commit: r1786791 - in /ignite/site/trunk: ./ community/ css/ features/ includes/ scss/ use-cases/caching/ use-cases/hadoop/ use-cases/platforms/ use-cases/spark/
Author: dmagda Date: Mon Mar 13 20:29:18 2017 New Revision: 1786791 URL: http://svn.apache.org/viewvc?rev=1786791&view=rev Log: twitter link Modified: ignite/site/trunk/addons.html ignite/site/trunk/blogs.html ignite/site/trunk/community/contribute.html ignite/site/trunk/community/resources.html ignite/site/trunk/css/all.css ignite/site/trunk/download.html ignite/site/trunk/features.html ignite/site/trunk/features/clientprotos.html ignite/site/trunk/features/computegrid.html ignite/site/trunk/features/cpp.html ignite/site/trunk/features/datagrid.html ignite/site/trunk/features/datastructures.html ignite/site/trunk/features/deploy.html ignite/site/trunk/features/dotnet.html ignite/site/trunk/features/igfs.html ignite/site/trunk/features/igniterdd.html ignite/site/trunk/features/java.html ignite/site/trunk/features/mapreduce.html ignite/site/trunk/features/messaging.html ignite/site/trunk/features/rdbmsintegration.html ignite/site/trunk/features/runseverywhere.html ignite/site/trunk/features/servicegrid.html ignite/site/trunk/features/sql.html ignite/site/trunk/features/streaming.html ignite/site/trunk/includes/header.html ignite/site/trunk/index.html ignite/site/trunk/news.html ignite/site/trunk/scss/ignite.scss ignite/site/trunk/use-cases/caching/database-caching.html ignite/site/trunk/use-cases/caching/hibernate-l2-cache.html ignite/site/trunk/use-cases/caching/jcache-provider.html ignite/site/trunk/use-cases/caching/key-value-store.html ignite/site/trunk/use-cases/caching/web-session-clustering.html ignite/site/trunk/use-cases/hadoop/hdfs-cache.html ignite/site/trunk/use-cases/hadoop/mapreduce.html ignite/site/trunk/use-cases/platforms/dotnet.html ignite/site/trunk/use-cases/spark/shared-memory-layer.html ignite/site/trunk/use-cases/spark/sql-queries.html ignite/site/trunk/usecases.html Modified: ignite/site/trunk/addons.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/addons.html?rev=1786791&r1=1786790&r2=1786791&view=diff == --- ignite/site/trunk/addons.html (original) +++ ignite/site/trunk/addons.html Mon Mar 13 20:29:18 2017 @@ -40,7 +40,7 @@ under the License. Addons and Related Solutions - Apache Ignite - + https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1786791&r1=1786790&r2=1786791&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/community/contribute.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/contribute.html?rev=1786791&r1=1786790&r2=1786791&view=diff == --- ignite/site/trunk/community/contribute.html (original) +++ ignite/site/trunk/community/contribute.html Mon Mar 13 20:29:18 2017 @@ -40,7 +40,7 @@ under the License. Contribute to the Community - Apache Ignite - + https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> Modified: ignite/site/trunk/community/resources.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/resources.html?rev=1786791&r1=1786790&r2=1786791&view=diff == --- ignite/site/trunk/community/resources.html (original) +++ ignite/site/trunk/community/resources.html Mon Mar 13 20:29:18 2017 @@ -40,7 +40,7 @@ under the License. Community Resources - Apache Ignite - + https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1786791&r1=1786790&r2=1786791&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Mon Mar 13 20:29:18 2017 @@ -8476,7 +8476,7 @@ section.page-subsection { margin: auto; width: 80px; height: 80px; - background: #CF4F54; + background: #d7d7d7; } .features-icon:hover { background: #c51017; Modified: ignite/site/trunk/download.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/download.html?rev=1786791&r1=1786790&r2=1786791&view=diff == --- ignite/site/trunk/download.html (original) +++ ignite/site/trunk/download.html Mon Mar 13 20:29:18 2017 @@
svn commit: r1786945 - in /ignite/site/trunk: index.html news.html
Author: dmagda Date: Tue Mar 14 18:06:10 2017 New Revision: 1786945 URL: http://svn.apache.org/viewvc?rev=1786945&view=rev Log: updates news feed Modified: ignite/site/trunk/index.html ignite/site/trunk/news.html Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1786945&r1=1786944&r2=1786945&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Tue Mar 14 18:06:10 2017 @@ -145,6 +145,11 @@ under the License. Latest News +https://blogs.apache.org/ignite/entry/presenting-apache-ignite-sql-grid"; target="_blank"> +Presenting Apache Ignite SQL Grid at Big Data Bootcamp +Big Data Bootcamp, Denis Magda, March 28, 2017 + + https://www.gridgain.com/company/news/events/gridgain-webinar-apacher-ignitetm-sql-grid-hot-blend-traditional-sql-and-memory"; target="_blank"> The Apache® Ignite™ SQL Grid: A Hot Blend of Traditional SQL and In-Memory Data Grids Webinar, Denis Magda, March 15, 2017 @@ -159,11 +164,6 @@ under the License. Apache® Ignite™: Transform batch-based system into swift real-time solution. Apache Ignite London Meetup, Feb 23, 2017 - -https://dzone.com/articles/the-high-performance-in-memory-computing-with-apac"; target="_blank"> -Book Review: High Performance In-Memory Computing With Apache Ignite -Blog, Shamim Bhuiyan, Feb 16, 2017 - Read more Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1786945&r1=1786944&r2=1786945&view=diff == Binary files - no diff available.
ignite git commit: IGNITE-933: GridFailFastNodeFailureDetectionSelfTest.testFailFast fails periodically
Repository: ignite Updated Branches: refs/heads/master 3da7794fb -> f361da430 IGNITE-933: GridFailFastNodeFailureDetectionSelfTest.testFailFast fails periodically Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f361da43 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f361da43 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f361da43 Branch: refs/heads/master Commit: f361da4305db72cd1e3784721ebbbc8520382353 Parents: 3da7794 Author: Vadim Opolskij Authored: Tue Mar 14 19:03:08 2017 -0700 Committer: Denis Magda Committed: Tue Mar 14 19:03:08 2017 -0700 -- .../ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/f361da43/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java -- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java index 49a3f94..a4886cd 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java @@ -113,7 +113,7 @@ public class GridFailFastNodeFailureDetectionSelfTest extends GridCommonAbstract failNode(ignite1); -assert failLatch.await(1000, MILLISECONDS); +assert failLatch.await(1500, MILLISECONDS); } /**
svn commit: r1787238 - /ignite/site/trunk/index.html
Author: dmagda Date: Thu Mar 16 20:59:37 2017 New Revision: 1787238 URL: http://svn.apache.org/viewvc?rev=1787238&view=rev Log: fixing text Modified: ignite/site/trunk/index.html Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1787238&r1=1787237&r2=1787238&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Thu Mar 16 20:59:37 2017 @@ -105,10 +105,10 @@ under the License. -Apache Ignite Open Source In-Memory Computing Platform +Apache Ignite In-Memory Computing Platform -Apache Ignite In-Memory Data Fabric is a high-performance, -integrated and distributed in-memory platform for computing +Apache Ignite is a high-performance, integrated and +distributed in-memory platform for computing and transacting on large-scale data sets in real-time, orders of magnitude faster than possible with traditional disk-based or flash technologies.
svn commit: r1787245 - in /ignite/site/trunk: addons.html blogs.html download.html features/datavisualization.html features/deploy.html includes/header.html index.html news.html sitemap.xml
Author: dmagda Date: Thu Mar 16 21:08:19 2017 New Revision: 1787245 URL: http://svn.apache.org/viewvc?rev=1787245&view=rev Log: added data visualization Added: ignite/site/trunk/features/datavisualization.html (with props) Modified: ignite/site/trunk/addons.html ignite/site/trunk/blogs.html ignite/site/trunk/download.html ignite/site/trunk/features/deploy.html ignite/site/trunk/includes/header.html ignite/site/trunk/index.html ignite/site/trunk/news.html ignite/site/trunk/sitemap.xml Modified: ignite/site/trunk/addons.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/addons.html?rev=1787245&r1=1787244&r2=1787245&view=diff == --- ignite/site/trunk/addons.html (original) +++ ignite/site/trunk/addons.html Thu Mar 16 21:08:19 2017 @@ -56,37 +56,13 @@ under the License. Ignite Manage are projects that intend to make user experience with Ignite easier. To contribute your project to Ignite, send an email to mailto:d...@ignite.apache.org";>dev list. - - - - -https://github.com/sumeet70/aiex"; target="_blank"> - - Apache Ignite Extensions - -Contributed by: Sumeet Singh -Apache Ignite Extensions is a modular system to create user interface modules -for interacting with application deployed in Apache Ignite. It allows users to: - - -Obtain topology information, list of nodes, and various metrics -Perform basic cache operations - - -https://github.com/sumeet70/aiex"; target="_blank">Apache Ignite Extensions - - - - -Click on the image to view full size. - - - - +https://console.gridgain.com/"; target="_blank"> + + Apache Ignite Web Console Contributed by: GridGain Team @@ -104,10 +80,6 @@ under the License. For demo purposes, check out https://console.gridgain.com"; target="_blank">Ignite Web Console hosted by GridGain. - - - - Docs: Click https://apacheignite-tools.readme.io/docs/ignite-web-console"; target="_blank">here for documentation. @@ -126,12 +98,41 @@ under the License. - - + + +Click on the image to view full size. + + + + + + + + +https://github.com/sumeet70/aiex"; target="_blank"> + + Apache Ignite Extensions + +Contributed by: Sumeet Singh +Apache Ignite Extensions is a modular system to create user interface modules +for interacting with application deployed in Apache Ignite. It allows users to: + + +Obtain topology information, list of nodes, and various metrics +Perform basic cache operations + + +https://github.com/sumeet70/aiex"; target="_blank">Apache Ignite Extensions + + + + Click on the image to view full size. + + Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1787245&r1=1787244&r2=1787245&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/download.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/download.html?rev=1787245&r1=1787244&r2=1787245&view=diff == --- ignite/site/trunk/download.html (original) +++ ignite/site/trunk/download.html Thu Mar 16 21:08:19 2017 @@ -135,6 +135,11 @@
svn commit: r1787253 - in /ignite/site/trunk/images: ignite-deploy-2.png tableau_logo-2.png tableau_visualizing_data.png webconsole-sql.png zeppelin-integration-bargraph.png zeppelin_logo.png
Author: dmagda Date: Thu Mar 16 21:27:06 2017 New Revision: 1787253 URL: http://svn.apache.org/viewvc?rev=1787253&view=rev Log: adding missing images Added: ignite/site/trunk/images/ignite-deploy-2.png (with props) ignite/site/trunk/images/tableau_logo-2.png (with props) ignite/site/trunk/images/tableau_visualizing_data.png (with props) ignite/site/trunk/images/webconsole-sql.png (with props) ignite/site/trunk/images/zeppelin-integration-bargraph.png (with props) ignite/site/trunk/images/zeppelin_logo.png (with props) Added: ignite/site/trunk/images/ignite-deploy-2.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/ignite-deploy-2.png?rev=1787253&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/ignite-deploy-2.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/tableau_logo-2.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/tableau_logo-2.png?rev=1787253&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/tableau_logo-2.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/tableau_visualizing_data.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/tableau_visualizing_data.png?rev=1787253&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/tableau_visualizing_data.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/webconsole-sql.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/webconsole-sql.png?rev=1787253&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/webconsole-sql.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/zeppelin-integration-bargraph.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/zeppelin-integration-bargraph.png?rev=1787253&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/zeppelin-integration-bargraph.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/zeppelin_logo.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/zeppelin_logo.png?rev=1787253&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/zeppelin_logo.png -- svn:mime-type = application/octet-stream
[08/19] ignite git commit: IGNITE-4740 - Fix. Service could be deployed/undeployed twice on concurrent cancel and discovery event.
IGNITE-4740 - Fix. Service could be deployed/undeployed twice on concurrent cancel and discovery event. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/9fcb3e74 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/9fcb3e74 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/9fcb3e74 Branch: refs/heads/ignite-1192 Commit: 9fcb3e74f91c8497b7b1358cdff40950cdf5c568 Parents: c0e2df2 Author: dkarachentsev Authored: Tue Feb 28 16:05:06 2017 +0300 Committer: dkarachentsev Committed: Tue Feb 28 16:05:06 2017 +0300 -- .../cache/DynamicCacheChangeBatch.java | 14 ++ .../service/GridServiceProcessor.java | 49 +++--- .../GridServiceContinuousQueryRedeploy.java | 167 +++ .../testsuites/IgniteKernalSelfTestSuite.java | 2 + 4 files changed, 208 insertions(+), 24 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/9fcb3e74/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeBatch.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeBatch.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeBatch.java index 4dcff9b..a250063 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeBatch.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeBatch.java @@ -113,6 +113,20 @@ public class DynamicCacheChangeBatch implements DiscoveryCustomMessage { return clientReconnect; } +/** + * @return {@code True} if request should trigger partition exchange. + */ +public boolean exchangeNeeded() { +if (reqs != null) { +for (DynamicCacheChangeRequest req : reqs) { +if (req.exchangeNeeded()) +return true; +} +} + +return false; +} + /** {@inheritDoc} */ @Override public String toString() { return S.toString(DynamicCacheChangeBatch.class, this); http://git-wip-us.apache.org/repos/asf/ignite/blob/9fcb3e74/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java index 3690f35..4eeafed 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java @@ -65,10 +65,12 @@ import org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion; import org.apache.ignite.internal.processors.cache.CacheAffinityChangeMessage; import org.apache.ignite.internal.processors.cache.CacheEntryImpl; import org.apache.ignite.internal.processors.cache.CacheIteratorConverter; +import org.apache.ignite.internal.processors.cache.DynamicCacheChangeBatch; import org.apache.ignite.internal.processors.cache.IgniteInternalCache; import org.apache.ignite.internal.processors.cache.query.CacheQuery; import org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager; import org.apache.ignite.internal.processors.cache.transactions.IgniteInternalTx; +import org.apache.ignite.internal.processors.continuous.AbstractContinuousMessage; import org.apache.ignite.internal.processors.task.GridInternal; import org.apache.ignite.internal.processors.timeout.GridTimeoutObject; import org.apache.ignite.internal.util.GridEmptyIterator; @@ -1468,19 +1470,7 @@ public class GridServiceProcessor extends GridProcessorAdapter { else { String name = e.getKey().name(); -svcName.set(name); - -Collection ctxs; - -synchronized (locSvcs) { -ctxs = locSvcs.remove(name); -} - -if (ctxs != null) { -synchronized (ctxs) { -cancel(ctxs, ctxs.size()); -} -} +undeploy(name); // Finish deployment futures if undeployment happened. GridFutureAdapter fut = depFuts.remove(name); @@ -1586,6 +1576,12 @@ public class GridServiceProcessor extends GridProcessorAdapter { if (!((CacheAffinityChangeMessage)msg).exchangeNeeded()) return; } +else if (msg instanceof DynamicCacheChangeBatch) { +
[10/19] ignite git commit: IGNITE-4717 Fixed hangs in VisorCacheClearTask. (cherry picked from commit 76f3060)
IGNITE-4717 Fixed hangs in VisorCacheClearTask. (cherry picked from commit 76f3060) Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a30183ac Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a30183ac Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a30183ac Branch: refs/heads/ignite-1192 Commit: a30183ac821507fbdaa6f0cc2c6ef25ca2677867 Parents: 5736247 Author: Andrey Novikov Authored: Mon Feb 20 18:23:33 2017 +0700 Committer: Alexey Kuznetsov Committed: Thu Mar 2 10:47:15 2017 +0700 -- .../visor/cache/VisorCacheClearTask.java| 88 +--- .../visor/compute/VisorGatewayTask.java | 30 ++- 2 files changed, 49 insertions(+), 69 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/a30183ac/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java index 1f1a6fb..0c8476f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java @@ -18,7 +18,6 @@ package org.apache.ignite.internal.visor.cache; import org.apache.ignite.IgniteCache; -import org.apache.ignite.IgniteCompute; import org.apache.ignite.cache.CachePeekMode; import org.apache.ignite.compute.ComputeJobContext; import org.apache.ignite.internal.processors.task.GridInternal; @@ -26,7 +25,6 @@ import org.apache.ignite.internal.util.typedef.internal.S; import org.apache.ignite.internal.visor.VisorJob; import org.apache.ignite.internal.visor.VisorOneNodeTask; import org.apache.ignite.lang.IgniteBiTuple; -import org.apache.ignite.lang.IgniteCallable; import org.apache.ignite.lang.IgniteFuture; import org.apache.ignite.lang.IgniteInClosure; import org.apache.ignite.resources.JobContextResource; @@ -90,17 +88,11 @@ public class VisorCacheClearTask extends VisorOneNodeTask subJob, int idx) { -IgniteCompute compute = ignite.compute(ignite.cluster().forCacheNodes(cacheName)).withAsync(); - -compute.call(subJob); - -IgniteFuture fut = compute.future(); - +private boolean callAsync(IgniteFuture fut, int idx) { futs[idx] = fut; if (fut.isDone()) @@ -119,16 +111,28 @@ public class VisorCacheClearTask extends VisorOneNodeTaskfuture(), 0)) +return null; +} -if (futs[0] == null && callAsync(new VisorCacheSizeCallable(cache), 0)) -return null; +if (futs[1] == null) { +cache.clear(); -if (futs[1] == null && callAsync(new VisorCacheClearCallable(cache), 1)) -return null; +if (callAsync(cache.future(), 1)) +return null; +} + +if (futs[2] == null) { +cache.size(CachePeekMode.PRIMARY); -if (futs[2] == null && callAsync(new VisorCacheSizeCallable(cache), 2)) -return null; +if (callAsync(cache.future(), 2)) +return null; +} } assert futs[0].isDone() && futs[1].isDone() && futs[2].isDone(); @@ -141,54 +145,4 @@ public class VisorCacheClearTask extends VisorOneNodeTask { -/** */ -private static final long serialVersionUID = 0L; - -/** */ -private final IgniteCache cache; - -/** - * @param cache Cache to take size from. - */ -private VisorCacheSizeCallable(IgniteCache cache) { -this.cache = cache; -} - -/** {@inheritDoc} */ -@Override public Integer call() throws Exception { -return cache.size(CachePeekMode.PRIMARY); -} -} - -/** - * Callable to clear cache. - */ -@GridInternal -private static class VisorCacheClearCallable implements IgniteCallable { -/** */ -private static final long serialVersionUID = 0L; - -/** */ -private final IgniteCache cache; - -/** - * @param cache Cache to clear. - */ -private VisorCacheClearCallable(IgniteCache cache) { -this.cache = cache; -} - -/** {@inheritDoc} */ -@Override public Integer call() throws Exception { -cache.clear(); - -return 0; -} -} } \ No newline at end of file http://git
[11/19] ignite git commit: ignite-4577 Add non-reachable addresses at the end of addresses list
ignite-4577 Add non-reachable addresses at the end of addresses list Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7ad8e79f Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7ad8e79f Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7ad8e79f Branch: refs/heads/ignite-1192 Commit: 7ad8e79fa1077291c50f2f535ecccde6baee0321 Parents: a30183a Author: Evgenii Zhuravlev Authored: Tue Mar 7 14:32:28 2017 +0300 Committer: Evgenii Zhuravlev Committed: Tue Mar 7 14:41:38 2017 +0300 -- .../ignite/internal/util/IgniteUtils.java | 14 ++- .../communication/tcp/TcpCommunicationSpi.java | 25 2 files changed, 33 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/7ad8e79f/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java index 3fa3f7b..ba118cb 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java @@ -1810,15 +1810,16 @@ public abstract class IgniteUtils { /** * @param addrs Addresses. + * @return List of reachable addresses. */ -public static List filterReachable(List addrs) { +public static List filterReachable(Collection addrs) { final int reachTimeout = 2000; if (addrs.isEmpty()) return Collections.emptyList(); if (addrs.size() == 1) { -InetAddress addr = addrs.get(0); +InetAddress addr = F.first(addrs); if (reachable(addr, reachTimeout)) return Collections.singletonList(addr); @@ -1834,8 +1835,7 @@ public abstract class IgniteUtils { for (final InetAddress addr : addrs) { futs.add(executor.submit(new Runnable() { -@Override -public void run() { +@Override public void run() { if (reachable(addr, reachTimeout)) { synchronized (res) { res.add(addr); @@ -1848,11 +1848,13 @@ public abstract class IgniteUtils { for (Future fut : futs) { try { fut.get(); -} catch (InterruptedException e) { +} +catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new IgniteException("Thread has been interrupted.", e); -} catch (ExecutionException e) { +} +catch (ExecutionException e) { throw new IgniteException(e); } } http://git-wip-us.apache.org/repos/asf/ignite/blob/7ad8e79f/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java index 94b7efe..81454f8 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java @@ -2334,6 +2334,31 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter if (isExtAddrsExist) addrs.addAll(extAddrs); +Set allInetAddrs = U.newHashSet(addrs.size()); + +for (InetSocketAddress addr : addrs) +allInetAddrs.add(addr.getAddress()); + +List reachableInetAddrs = U.filterReachable(allInetAddrs); + +if (reachableInetAddrs.size() < allInetAddrs.size()) { +LinkedHashSet addrs0 = U.newLinkedHashSet(addrs.size()); + +for (InetSocketAddress addr : addrs) { +if (reachableInetAddrs.contains(addr.getAddress())) +addrs0.add(addr); +} +for (InetSocketAddress addr : addrs) { +if (!reachableInetAddrs.contains(addr.getAddress())) +addrs0.add(addr); +} + +addrs = addrs0; +} + +if (log.isDebugEnabled()) +log.debug("Addresses to connect for node [rmtNode=" + node.id() + ", addrs=" + addrs.toString() + ']'); + boolean conn = false; GridCommunicationClient client = null; IgniteCheckedException errs = null;
[14/19] ignite git commit: Web Console: Cleanup
Web Console: Cleanup Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/3da7794f Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/3da7794f Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/3da7794f Branch: refs/heads/ignite-1192 Commit: 3da7794fb59ebb836523ba717722c6a6df845019 Parents: 0b996e6 Author: Andrey Novikov Authored: Tue Mar 14 15:54:14 2017 +0700 Committer: Andrey Novikov Committed: Tue Mar 14 15:54:14 2017 +0700 -- .../ui-grid-settings/ui-grid-settings.scss | 35 1 file changed, 35 insertions(+) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/3da7794f/modules/web-console/frontend/app/components/ui-grid-settings/ui-grid-settings.scss -- diff --git a/modules/web-console/frontend/app/components/ui-grid-settings/ui-grid-settings.scss b/modules/web-console/frontend/app/components/ui-grid-settings/ui-grid-settings.scss index 4beb2a1..24f4d9b 100644 --- a/modules/web-console/frontend/app/components/ui-grid-settings/ui-grid-settings.scss +++ b/modules/web-console/frontend/app/components/ui-grid-settings/ui-grid-settings.scss @@ -70,6 +70,41 @@ } } +&-number-filter { +float: right; + +.ignite-form-field { +width: 180px; +margin-right: 0; + +&__label { +} + +&__control { +} + +&:nth-child(1) { +float: left; + +.ignite-form-field__label { +margin-right: 0; +width: 70%; +max-width: 100%; +} + +.ignite-form-field__control { +width: 30%; +} +} +} + +button { +width: auto; +display: inline-block; +margin-left: 5px; +} +} + &-dateperiod { float: right;
[04/19] ignite git commit: Merge remote-tracking branch 'origin/ignite-1.7.8' into ignite-1.7.8
Merge remote-tracking branch 'origin/ignite-1.7.8' into ignite-1.7.8 Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/382fbc9d Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/382fbc9d Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/382fbc9d Branch: refs/heads/ignite-1192 Commit: 382fbc9d0b55f794eb4a9045fe72ca06b480062f Parents: 1f881aa 05788b3 Author: dkarachentsev Authored: Fri Feb 17 12:35:18 2017 +0300 Committer: dkarachentsev Committed: Fri Feb 17 12:35:18 2017 +0300 -- .../Hibernate5CacheKeyTypeConfiguration.java| 52 .../HibernateCacheKeyTypeConfiguration.java | 51 +++ 2 files changed, 103 insertions(+) --
[02/19] ignite git commit: IGNITE-3429: Added BinaryResolver configuration samples for org.hibernate.cache.spi.CacheKey. This closes #1516.
IGNITE-3429: Added BinaryResolver configuration samples for org.hibernate.cache.spi.CacheKey. This closes #1516. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/05788b31 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/05788b31 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/05788b31 Branch: refs/heads/ignite-1192 Commit: 05788b3188b30b5a3b39a75fe66301e03658408f Parents: 8874f99 Author: Andrey V. Mashenkov Authored: Fri Feb 17 12:14:53 2017 +0300 Committer: Andrey V. Mashenkov Committed: Fri Feb 17 12:14:53 2017 +0300 -- .../Hibernate5CacheKeyTypeConfiguration.java| 52 .../HibernateCacheKeyTypeConfiguration.java | 51 +++ 2 files changed, 103 insertions(+) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/05788b31/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/Hibernate5CacheKeyTypeConfiguration.java -- diff --git a/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/Hibernate5CacheKeyTypeConfiguration.java b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/Hibernate5CacheKeyTypeConfiguration.java new file mode 100644 index 000..886f69b --- /dev/null +++ b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/Hibernate5CacheKeyTypeConfiguration.java @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.ignite.cache.hibernate.config; + +import java.util.Objects; +import org.apache.ignite.binary.BinaryAbstractIdentityResolver; +import org.apache.ignite.binary.BinaryIdentityResolver; +import org.apache.ignite.binary.BinaryObject; +import org.apache.ignite.binary.BinaryTypeConfiguration; + +/** + * This configuration provides correct {@link BinaryIdentityResolver} implementation + * for Hibernate CacheKey class can be used as a key object. + * + * Note: for Hibernate version < 5.0 {@link HibernateCacheKeyTypeConfiguration} should be used. + + */ +public class Hibernate5CacheKeyTypeConfiguration extends BinaryTypeConfiguration { + +/** {@inheritDoc} */ +public Hibernate5CacheKeyTypeConfiguration() { +super("org.hibernate.cache.internal.CacheKeyImplementation"); + +setIdentityResolver(new BinaryAbstractIdentityResolver() { +@Override protected int hashCode0(BinaryObject obj) { +return obj.field("id").hashCode(); +} + +@Override protected boolean equals0(BinaryObject o1, BinaryObject o2) { +Object obj0 = o1.field("id"); +Object obj1 = o2.field("id"); + +return Objects.equals(obj0, obj1); +} +}); +} +} http://git-wip-us.apache.org/repos/asf/ignite/blob/05788b31/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/HibernateCacheKeyTypeConfiguration.java -- diff --git a/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/HibernateCacheKeyTypeConfiguration.java b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/HibernateCacheKeyTypeConfiguration.java new file mode 100644 index 000..c54292e --- /dev/null +++ b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/HibernateCacheKeyTypeConfiguration.java @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distri
[17/19] ignite git commit: Merge ignite-1.7.9 into master
Merge ignite-1.7.9 into master Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/84880a81 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/84880a81 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/84880a81 Branch: refs/heads/ignite-1192 Commit: 84880a8108a586604ab00d7bf48ba6c9f8f658ee Parents: 94c1e7c bcb1398 Author: nikolay_tikhonov Authored: Thu Mar 16 16:34:28 2017 +0300 Committer: nikolay_tikhonov Committed: Thu Mar 16 16:34:36 2017 +0300 -- .../internal/managers/GridManagerAdapter.java | 4 + .../cache/DynamicCacheChangeBatch.java | 14 ++ .../service/GridServiceProcessor.java | 49 ++--- .../org/apache/ignite/spi/IgniteSpiAdapter.java | 5 + .../org/apache/ignite/spi/IgniteSpiContext.java | 6 + .../ignite/spi/discovery/tcp/ClientImpl.java| 32 +++- .../ignite/spi/discovery/tcp/ServerImpl.java| 19 ++ .../spi/discovery/tcp/TcpDiscoverySpi.java | 5 + .../tcp/internal/TcpDiscoveryNode.java | 6 +- .../GridServiceContinuousQueryRedeploy.java | 167 + ...veryNodeAttributesUpdateOnReconnectTest.java | 110 +++ .../TcpDiscoverySslSecuredUnsecuredTest.java| 185 +++ .../tcp/TestReconnectPluginProvider.java| 111 +++ .../discovery/tcp/TestReconnectProcessor.java | 93 ++ .../testframework/GridSpiTestContext.java | 5 + .../testsuites/IgniteKernalSelfTestSuite.java | 2 + .../IgniteSpiDiscoverySelfTestSuite.java| 5 + .../org.apache.ignite.plugin.PluginProvider | 1 + .../processors/query/h2/IgniteH2Indexing.java | 1 + parent/pom.xml | 1 + 20 files changed, 793 insertions(+), 28 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/84880a81/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java -- http://git-wip-us.apache.org/repos/asf/ignite/blob/84880a81/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java -- diff --cc modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java index 99146aa,4eeafed..74cca8e --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java @@@ -1586,16 -1576,19 +1576,22 @@@ public class GridServiceProcessor exten if (!((CacheAffinityChangeMessage)msg).exchangeNeeded()) return; } + else if (msg instanceof DynamicCacheChangeBatch) { + if (!((DynamicCacheChangeBatch)msg).exchangeNeeded()) + return; + } + else + return; } else -topVer = new AffinityTopologyVersion(((DiscoveryEvent)evt).topologyVersion(), 0); +topVer = new AffinityTopologyVersion((evt).topologyVersion(), 0); -depExe.submit(new BusyRunnable() { +depExe.execute(new BusyRunnable() { @Override public void run0() { -ClusterNode oldest = ctx.discovery().oldestAliveCacheServerNode(topVer); +// In case the cache instance isn't tracked by DiscoveryManager anymore. +discoCache.updateAlives(ctx.discovery()); + +ClusterNode oldest = discoCache.oldestAliveServerNodeWithCache(); if (oldest != null && oldest.isLocal()) { final Collection retries = new ConcurrentLinkedQueue<>(); http://git-wip-us.apache.org/repos/asf/ignite/blob/84880a81/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java -- http://git-wip-us.apache.org/repos/asf/ignite/blob/84880a81/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java -- http://git-wip-us.apache.org/repos/asf/ignite/blob/84880a81/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java -- http://git-wip-us.apache.org/repos/asf/ignite/blob/84880a81/modules/core/src/test/java/org/apache/ignite/testframework/GridSpiTestContext.java ---
[09/19] ignite git commit: Implemented support for enforce join order flag. (cherry picked from commit a7f77d4)
Implemented support for enforce join order flag. (cherry picked from commit a7f77d4) Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/57362479 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/57362479 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/57362479 Branch: refs/heads/ignite-1192 Commit: 573624796b171b2420b87657598198f40a91f6bb Parents: 9fcb3e7 Author: Alexey Kuznetsov Authored: Wed Mar 1 22:09:40 2017 +0700 Committer: Alexey Kuznetsov Committed: Thu Mar 2 10:07:25 2017 +0700 -- .../internal/visor/query/VisorQueryArgV3.java | 51 .../internal/visor/query/VisorQueryJob.java | 6 +-- .../resources/META-INF/classnames.properties| 1 + 3 files changed, 55 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/57362479/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryArgV3.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryArgV3.java b/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryArgV3.java new file mode 100644 index 000..f32c00a --- /dev/null +++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryArgV3.java @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.ignite.internal.visor.query; + +/** + * Arguments for {@link VisorQueryTask}. + */ +public class VisorQueryArgV3 extends VisorQueryArgV2 { +/** */ +private static final long serialVersionUID = 0L; + +/** Enforce join order flag. */ +private final boolean enforceJoinOrder; + +/** + * @param cacheName Cache name for query. + * @param qryTxt Query text. + * @param distributedJoins If {@code true} then distributed joins enabled. + * @param enforceJoinOrder If {@code true} then enforce join order. + * @param loc Flag whether to execute query locally. + * @param pageSize Result batch size. + */ +public VisorQueryArgV3(String cacheName, String qryTxt, +boolean distributedJoins, boolean enforceJoinOrder, boolean loc, int pageSize) { +super(cacheName, qryTxt, distributedJoins, loc, pageSize); + +this.enforceJoinOrder = enforceJoinOrder; +} + +/** + * @return Enforce join order flag. + */ +public boolean enforceJoinOrder() { +return enforceJoinOrder; +} +} http://git-wip-us.apache.org/repos/asf/ignite/blob/57362479/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryJob.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryJob.java b/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryJob.java index c66b2dd..1ac90ad 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryJob.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/query/VisorQueryJob.java @@ -131,9 +131,8 @@ public class VisorQueryJob extends VisorJobhttp://git-wip-us.apache.org/repos/asf/ignite/blob/57362479/modules/core/src/main/resources/META-INF/classnames.properties -- diff --git a/modules/core/src/main/resources/META-INF/classnames.properties b/modules/core/src/main/resources/META-INF/classnames.properties index 8a6dc66..db486a5 100644 --- a/modules/core/src/main/resources/META-INF/classnames.properties +++ b/modules/core/src/main/resources/META-INF/classnames.properties @@ -1792,6 +1792,7 @@ org.apache.ignite.internal.visor.node.VisorSpisConfiguration org.apache.ignite.internal.visor.node.VisorTransactionConfiguration org.apache.ignite.internal.visor.query.VisorQueryArg org.apache.ignite.internal.visor.query.VisorQueryArgV2 +org.apache.ignite.internal.visor.query.VisorQueryArgV3 org.apache.ignite.internal.visor.qu
[12/19] ignite git commit: IGNITE-4717 VisorClearTask minor fix. (cherry picked from commit d4b87f4)
IGNITE-4717 VisorClearTask minor fix. (cherry picked from commit d4b87f4) Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/bcb13982 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/bcb13982 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/bcb13982 Branch: refs/heads/ignite-1192 Commit: bcb139822afa148a7ea3fbb3eecc274f308070f6 Parents: 7ad8e79 Author: Alexey Kuznetsov Authored: Fri Mar 10 15:51:38 2017 +0700 Committer: Alexey Kuznetsov Committed: Fri Mar 10 16:01:45 2017 +0700 -- .../visor/cache/VisorCacheClearTask.java| 57 +++- 1 file changed, 56 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/bcb13982/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java index 0c8476f..ce74f17 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheClearTask.java @@ -25,6 +25,7 @@ import org.apache.ignite.internal.util.typedef.internal.S; import org.apache.ignite.internal.visor.VisorJob; import org.apache.ignite.internal.visor.VisorOneNodeTask; import org.apache.ignite.lang.IgniteBiTuple; +import org.apache.ignite.lang.IgniteCallable; import org.apache.ignite.lang.IgniteFuture; import org.apache.ignite.lang.IgniteInClosure; import org.apache.ignite.resources.JobContextResource; @@ -145,4 +146,58 @@ public class VisorCacheClearTask extends VisorOneNodeTask { +/** */ +private static final long serialVersionUID = 0L; + +/** */ +private final IgniteCache cache; + +/** + * @param cache Cache to take size from. + */ +private VisorCacheSizeCallable(IgniteCache cache) { +this.cache = cache; +} + +/** {@inheritDoc} */ +@Override public Integer call() throws Exception { +return cache.size(CachePeekMode.PRIMARY); +} +} + +/** + * Callable to clear cache. + * + * @deprecated This class needed only for compatibility. + */ +@GridInternal @Deprecated +private static class VisorCacheClearCallable implements IgniteCallable { +/** */ +private static final long serialVersionUID = 0L; + +/** */ +private final IgniteCache cache; + +/** + * @param cache Cache to clear. + */ +private VisorCacheClearCallable(IgniteCache cache) { +this.cache = cache; +} + +/** {@inheritDoc} */ +@Override public Integer call() throws Exception { +cache.clear(); + +return 0; +} +} +}
[07/19] ignite git commit: IGNITE-3429 - Rollback due to broken compilation
IGNITE-3429 - Rollback due to broken compilation Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c0e2df26 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c0e2df26 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c0e2df26 Branch: refs/heads/ignite-1192 Commit: c0e2df26f056cd11690d821146f05e3fd938906e Parents: 2f57760 Author: dkarachentsev Authored: Mon Feb 20 11:17:35 2017 +0300 Committer: dkarachentsev Committed: Mon Feb 20 11:17:35 2017 +0300 -- .../Hibernate5CacheKeyTypeConfiguration.java| 52 .../HibernateCacheKeyTypeConfiguration.java | 51 --- 2 files changed, 103 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/c0e2df26/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/Hibernate5CacheKeyTypeConfiguration.java -- diff --git a/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/Hibernate5CacheKeyTypeConfiguration.java b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/Hibernate5CacheKeyTypeConfiguration.java deleted file mode 100644 index 886f69b..000 --- a/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/Hibernate5CacheKeyTypeConfiguration.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.ignite.cache.hibernate.config; - -import java.util.Objects; -import org.apache.ignite.binary.BinaryAbstractIdentityResolver; -import org.apache.ignite.binary.BinaryIdentityResolver; -import org.apache.ignite.binary.BinaryObject; -import org.apache.ignite.binary.BinaryTypeConfiguration; - -/** - * This configuration provides correct {@link BinaryIdentityResolver} implementation - * for Hibernate CacheKey class can be used as a key object. - * - * Note: for Hibernate version < 5.0 {@link HibernateCacheKeyTypeConfiguration} should be used. - - */ -public class Hibernate5CacheKeyTypeConfiguration extends BinaryTypeConfiguration { - -/** {@inheritDoc} */ -public Hibernate5CacheKeyTypeConfiguration() { -super("org.hibernate.cache.internal.CacheKeyImplementation"); - -setIdentityResolver(new BinaryAbstractIdentityResolver() { -@Override protected int hashCode0(BinaryObject obj) { -return obj.field("id").hashCode(); -} - -@Override protected boolean equals0(BinaryObject o1, BinaryObject o2) { -Object obj0 = o1.field("id"); -Object obj1 = o2.field("id"); - -return Objects.equals(obj0, obj1); -} -}); -} -} http://git-wip-us.apache.org/repos/asf/ignite/blob/c0e2df26/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/HibernateCacheKeyTypeConfiguration.java -- diff --git a/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/HibernateCacheKeyTypeConfiguration.java b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/HibernateCacheKeyTypeConfiguration.java deleted file mode 100644 index c54292e..000 --- a/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/config/HibernateCacheKeyTypeConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT
[01/19] ignite git commit: IGNITE-4641 - Refresh client attributes during reconnect
Repository: ignite Updated Branches: refs/heads/ignite-1192 8091522f4 -> b80b1a7b4 IGNITE-4641 - Refresh client attributes during reconnect Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/8874f99f Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/8874f99f Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/8874f99f Branch: refs/heads/ignite-1192 Commit: 8874f99f44dc2edf08a525619edb49d5db70b938 Parents: 0a43665 Author: dkarachentsev Authored: Tue Feb 14 18:44:57 2017 +0300 Committer: dkarachentsev Committed: Tue Feb 14 18:44:57 2017 +0300 -- .../internal/managers/GridManagerAdapter.java | 4 + .../org/apache/ignite/spi/IgniteSpiAdapter.java | 5 + .../org/apache/ignite/spi/IgniteSpiContext.java | 6 + .../ignite/spi/discovery/tcp/ClientImpl.java| 2 +- .../spi/discovery/tcp/TcpDiscoverySpi.java | 5 + .../tcp/internal/TcpDiscoveryNode.java | 6 +- ...veryNodeAttributesUpdateOnReconnectTest.java | 110 ++ .../tcp/TestReconnectPluginProvider.java| 111 +++ .../discovery/tcp/TestReconnectProcessor.java | 93 .../testframework/GridSpiTestContext.java | 5 + .../IgniteSpiDiscoverySelfTestSuite.java| 3 + .../org.apache.ignite.plugin.PluginProvider | 1 + parent/pom.xml | 1 + 13 files changed, 349 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/8874f99f/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java index 584cc56..25cc715 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java @@ -569,6 +569,10 @@ public abstract class GridManagerAdapter implements GridMan ctx.timeout().removeTimeoutObject(new GridSpiTimeoutObject(obj)); } +@Override public Map nodeAttributes() { +return ctx.nodeAttributes(); +} + /** * @param e Exception to handle. * @return GridSpiException Converted exception. http://git-wip-us.apache.org/repos/asf/ignite/blob/8874f99f/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiAdapter.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiAdapter.java b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiAdapter.java index 219d07b..8879364 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiAdapter.java @@ -928,5 +928,10 @@ public abstract class IgniteSpiAdapter implements IgniteSpi, IgniteSpiManagement ((IgniteKernal)ignite0).context().timeout().removeTimeoutObject(new GridSpiTimeoutObject(obj)); } + +/** {@inheritDoc} */ +@Override public Map nodeAttributes() { +return Collections.emptyMap(); +} } } http://git-wip-us.apache.org/repos/asf/ignite/blob/8874f99f/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiContext.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiContext.java b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiContext.java index 5eb5227..96b3e61 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiContext.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiContext.java @@ -19,6 +19,7 @@ package org.apache.ignite.spi; import java.io.Serializable; import java.util.Collection; +import java.util.Map; import java.util.UUID; import javax.cache.CacheException; import org.apache.ignite.IgniteException; @@ -352,4 +353,9 @@ public interface IgniteSpiContext { * @param c Timeout object. */ public void removeTimeoutObject(IgniteSpiTimeoutObject c); + +/** + * @return Current node attributes. + */ +public Map nodeAttributes(); } http://git-wip-us.apache.org/repos/asf/ignite/blob/8874f99f/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/Clien
[03/19] ignite git commit: IGNITE-4147 - Throw exception on connecting node to cluster with different SSL configuration
IGNITE-4147 - Throw exception on connecting node to cluster with different SSL configuration Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/1f881aa7 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/1f881aa7 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/1f881aa7 Branch: refs/heads/ignite-1192 Commit: 1f881aa70a3894af01135f4cc5e341a8130462c2 Parents: 8874f99 Author: dkarachentsev Authored: Fri Feb 17 12:34:41 2017 +0300 Committer: dkarachentsev Committed: Fri Feb 17 12:34:41 2017 +0300 -- .../ignite/spi/discovery/tcp/ClientImpl.java| 30 ++- .../ignite/spi/discovery/tcp/ServerImpl.java| 19 ++ .../TcpDiscoverySslSecuredUnsecuredTest.java| 185 +++ .../IgniteSpiDiscoverySelfTestSuite.java| 2 + 4 files changed, 235 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/1f881aa7/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java index 932e7d1..95e2cda 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java @@ -20,6 +20,7 @@ package org.apache.ignite.spi.discovery.tcp; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; +import java.io.StreamCorruptedException; import java.net.InetSocketAddress; import java.net.Socket; import java.net.SocketTimeoutException; @@ -44,6 +45,7 @@ import java.util.concurrent.ConcurrentMap; import java.util.concurrent.CountDownLatch; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.atomic.AtomicReference; +import javax.net.ssl.SSLException; import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.IgniteClientDisconnectedException; import org.apache.ignite.IgniteException; @@ -587,6 +589,8 @@ class ClientImpl extends TcpDiscoveryImpl { int connectAttempts = 1; +int sslConnectAttempts = 3; + UUID locNodeId = getLocalNodeId(); IgniteSpiOperationTimeoutHelper timeoutHelper = new IgniteSpiOperationTimeoutHelper(spi); @@ -662,6 +666,22 @@ class ClientImpl extends TcpDiscoveryImpl { errs.add(e); +if (X.hasCause(e, SSLException.class)) { +if (--sslConnectAttempts == 0) +throw new IgniteSpiException("Unable to establish secure connection. " + +"Was remote cluster configured with SSL? [rmtAddr=" + addr + ", errMsg=\"" + e.getMessage() + "\"]", e); + +continue; +} + +if (X.hasCause(e, StreamCorruptedException.class)) { +if (--sslConnectAttempts == 0) +throw new IgniteSpiException("Unable to establish plain connection. " + +"Was remote cluster configured with SSL? [rmtAddr=" + addr + ", errMsg=\"" + e.getMessage() + "\"]", e); + +continue; +} + if (timeoutHelper.checkFailureTimeoutReached(e)) break; @@ -1593,7 +1613,15 @@ class ClientImpl extends TcpDiscoveryImpl { joinCnt++; -T2 joinRes = joinTopology(false, spi.joinTimeout); +T2 joinRes; +try { +joinRes = joinTopology(false, spi.joinTimeout); +} +catch (IgniteSpiException e) { +joinError(e); + +return; +} if (joinRes == null) { if (join) http://git-wip-us.apache.org/repos/asf/ignite/blob/1f881aa7/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java index d462ac2..4600be0 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java @@ -24,6 +24,7 @@ import java.io.InputStream; import java.io.ObjectStreamException; import java.io.OutputStream; import java.io.Serializable; +import java.io.StreamCorruptedException; import java.net.ConnectException; import java.net.InetAddress; import java.net.InetSocketAddress; @@ -1109,6 +1110,8 @@ class ServerImpl extend
[15/19] ignite git commit: IGNITE-933: GridFailFastNodeFailureDetectionSelfTest.testFailFast fails periodically
IGNITE-933: GridFailFastNodeFailureDetectionSelfTest.testFailFast fails periodically Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f361da43 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f361da43 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f361da43 Branch: refs/heads/ignite-1192 Commit: f361da4305db72cd1e3784721ebbbc8520382353 Parents: 3da7794 Author: Vadim Opolskij Authored: Tue Mar 14 19:03:08 2017 -0700 Committer: Denis Magda Committed: Tue Mar 14 19:03:08 2017 -0700 -- .../ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/f361da43/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java -- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java index 49a3f94..a4886cd 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/GridFailFastNodeFailureDetectionSelfTest.java @@ -113,7 +113,7 @@ public class GridFailFastNodeFailureDetectionSelfTest extends GridCommonAbstract failNode(ignite1); -assert failLatch.await(1000, MILLISECONDS); +assert failLatch.await(1500, MILLISECONDS); } /**
[05/19] ignite git commit: IGNITE-4436 API for collecting list of running queries and cancel them. (cherry picked from commit 49237343d53ee33d44e5599cd7fe7da868ee30a1)
IGNITE-4436 API for collecting list of running queries and cancel them. (cherry picked from commit 49237343d53ee33d44e5599cd7fe7da868ee30a1) Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/11bbec48 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/11bbec48 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/11bbec48 Branch: refs/heads/ignite-1192 Commit: 11bbec487dc174fac1acd6b50c940840305bc75a Parents: 382fbc9 Author: Alexey Kuznetsov Authored: Fri Feb 17 17:57:50 2017 +0700 Committer: Alexey Kuznetsov Committed: Fri Feb 17 17:57:50 2017 +0700 -- .../cache/query/GridCacheTwoStepQuery.java | 18 +- .../processors/query/GridQueryIndexing.java | 17 +- .../processors/query/GridQueryProcessor.java| 26 ++- .../processors/query/GridRunningQueryInfo.java | 132 .../internal/visor/VisorMultiNodeTask.java | 2 +- .../visor/query/VisorCancelQueriesTask.java | 72 +++ .../query/VisorCollectRunningQueriesTask.java | 96 + .../internal/visor/query/VisorRunningQuery.java | 132 .../processors/query/h2/IgniteH2Indexing.java | 83 +++- .../query/h2/sql/GridSqlQuerySplitter.java | 4 +- .../h2/twostep/GridReduceQueryExecutor.java | 60 +- .../cache/CacheSqlQueryValueCopySelfTest.java | 208 +-- .../cache/GridCacheCrossCacheQuerySelfTest.java | 2 +- .../h2/GridIndexingSpiAbstractSelfTest.java | 7 + 14 files changed, 821 insertions(+), 38 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/11bbec48/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheTwoStepQuery.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheTwoStepQuery.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheTwoStepQuery.java index 8dcba2f..f53936f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheTwoStepQuery.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheTwoStepQuery.java @@ -46,6 +46,9 @@ public class GridCacheTwoStepQuery { private boolean explain; /** */ +private String originalSql; + +/** */ private Collection spaces; /** */ @@ -67,10 +70,12 @@ public class GridCacheTwoStepQuery { private List extraCaches; /** + * @param originalSql Original query SQL. * @param schemas Schema names in query. * @param tbls Tables in query. */ -public GridCacheTwoStepQuery(Set schemas, Set tbls) { +public GridCacheTwoStepQuery(String originalSql, Set schemas, Set tbls) { +this.originalSql = originalSql; this.schemas = schemas; this.tbls = tbls; } @@ -196,6 +201,13 @@ public class GridCacheTwoStepQuery { } /** + * @return Original query SQL. + */ +public String originalSql() { +return originalSql; +} + +/** * @return Spaces. */ public Collection spaces() { @@ -223,7 +235,7 @@ public class GridCacheTwoStepQuery { public GridCacheTwoStepQuery copy(Object[] args) { assert !explain; -GridCacheTwoStepQuery cp = new GridCacheTwoStepQuery(schemas, tbls); +GridCacheTwoStepQuery cp = new GridCacheTwoStepQuery(originalSql, schemas, tbls); cp.caches = caches; cp.extraCaches = extraCaches; @@ -250,4 +262,4 @@ public class GridCacheTwoStepQuery { @Override public String toString() { return S.toString(GridCacheTwoStepQuery.class, this); } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/ignite/blob/11bbec48/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryIndexing.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryIndexing.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryIndexing.java index 539ebc0..1cebbb0 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryIndexing.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryIndexing.java @@ -224,7 +224,22 @@ public interface GridQueryIndexing { public void onDisconnected(IgniteFuture reconnectFut); /** + * Collect queries that already running more than specified duration. + * + * @param duration Duration to check. + * @return Collection of long running queries. + */ +public Collection runningQueries(long duration); + +/**
[06/19] ignite git commit: IGNITE-4624: Scan query optimization. This closes #1509.
IGNITE-4624: Scan query optimization. This closes #1509. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/2f57760d Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/2f57760d Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/2f57760d Branch: refs/heads/ignite-1192 Commit: 2f57760dbb4fba948cd035498d2c7f71869c0665 Parents: 11bbec4 Author: Andrey V. Mashenkov Authored: Fri Feb 17 16:15:31 2017 +0300 Committer: Andrey V. Mashenkov Committed: Fri Feb 17 18:47:21 2017 +0300 -- .../distributed/dht/GridDhtCacheAdapter.java| 19 +++- .../cache/query/GridCacheQueryManager.java | 97 ++-- 2 files changed, 64 insertions(+), 52 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/2f57760d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java index dcd379a..be7fa55 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java @@ -1247,14 +1247,27 @@ public abstract class GridDhtCacheAdapter extends GridDistributedCacheAdap final boolean backup, final boolean keepBinary, final AffinityTopologyVersion topVer) { + +return iterator(localEntriesIteratorEx(primary, backup, topVer), !keepBinary); +} + +/** + * @param primary If {@code true} includes primary entries. + * @param backup If {@code true} includes backup entries. + * @param topVer Specified affinity topology version. + * @return Local entries iterator. + */ +public Iterator localEntriesIteratorEx(final boolean primary, +final boolean backup, +final AffinityTopologyVersion topVer) { assert primary || backup; if (primary && backup) -return iterator(entries().iterator(), !keepBinary); +return entries().iterator(); else { final Iterator partIt = topology().currentLocalPartitions().iterator(); -Iterator it = new Iterator() { +return new Iterator() { private GridCacheMapEntry next; private Iterator curIt; @@ -1311,8 +1324,6 @@ public abstract class GridDhtCacheAdapter extends GridDistributedCacheAdap while (partIt.hasNext()); } }; - -return iterator(it, !keepBinary); } } http://git-wip-us.apache.org/repos/asf/ignite/blob/2f57760d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java index d64dff4..14b1106 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java @@ -1033,23 +1033,25 @@ public abstract class GridCacheQueryManager extends GridCacheManagerAdapte * @throws GridDhtUnreservedPartitionException If failed to reserve partition. */ private GridIterator> onheapIterator( -GridCacheQueryAdapter qry, +final GridCacheQueryAdapter qry, AffinityTopologyVersion topVer, final IgniteBiPredicate keyValFilter, -boolean backups, +final boolean backups, final ExpiryPolicy plc, final boolean locNode) throws GridDhtUnreservedPartitionException { -Iterator keyIter; +Iterator entryIter; GridDhtLocalPartition locPart = null; Integer part = qry.partition(); -if (part == null || cctx.isLocal()) { -// Performance optimization. -if (locNode && plc == null && !cctx.isLocal()) { -GridDhtCacheAdapter cache = cctx.isNear() ? cctx.near().dht() : cctx.dht(); +if (cctx.isLocal()) +entryIter = cctx.local().allEntries().iterator(); +else if (part == null) { +GridDhtCacheAdapter cache = cctx.isNear() ? cctx.near().dht() : cctx.dht(); +// Performance optimization. +
[18/19] ignite git commit: Merge remote-tracking branch 'remotes/origin/master' into ignite-1192
Merge remote-tracking branch 'remotes/origin/master' into ignite-1192 Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/cf27e545 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/cf27e545 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/cf27e545 Branch: refs/heads/ignite-1192 Commit: cf27e545e4235c82430e300913725dd094cededa Parents: 8091522 84880a8 Author: Denis Magda Authored: Thu Mar 16 16:04:11 2017 -0700 Committer: Denis Magda Committed: Thu Mar 16 16:04:11 2017 -0700 -- .../internal/managers/GridManagerAdapter.java | 4 + .../cache/DynamicCacheChangeBatch.java | 14 ++ .../cache/GridCacheAffinityManager.java | 21 ++- .../cache/GridCacheManagerAdapter.java | 2 +- .../processors/cache/GridCacheProcessor.java| 2 +- .../processors/query/GridQueryProcessor.java| 20 +- .../service/GridServiceProcessor.java | 49 ++--- .../org/apache/ignite/spi/IgniteSpiAdapter.java | 5 + .../org/apache/ignite/spi/IgniteSpiContext.java | 6 + .../ignite/spi/discovery/tcp/ClientImpl.java| 32 +++- .../ignite/spi/discovery/tcp/ServerImpl.java| 19 ++ .../spi/discovery/tcp/TcpDiscoverySpi.java | 5 + .../tcp/internal/TcpDiscoveryNode.java | 6 +- ...ridFailFastNodeFailureDetectionSelfTest.java | 2 +- .../GridServiceContinuousQueryRedeploy.java | 167 + ...veryNodeAttributesUpdateOnReconnectTest.java | 110 +++ .../TcpDiscoverySslSecuredUnsecuredTest.java| 185 +++ .../tcp/TestReconnectPluginProvider.java| 111 +++ .../discovery/tcp/TestReconnectProcessor.java | 93 ++ .../testframework/GridSpiTestContext.java | 5 + .../testsuites/IgniteKernalSelfTestSuite.java | 2 + .../IgniteSpiDiscoverySelfTestSuite.java| 5 + .../org.apache.ignite.plugin.PluginProvider | 1 + .../processors/query/h2/IgniteH2Indexing.java | 1 + .../cache/IncorrectCacheTypeMetadataTest.java | 72 .../cache/IncorrectQueryEntityTest.java | 75 .../IgniteCacheQuerySelfTestSuite.java | 4 + modules/web-console/backend/app/agent.js| 14 +- modules/web-console/backend/app/browser.js | 8 +- .../ui-grid-settings/ui-grid-settings.scss | 35 .../frontend/app/modules/agent/agent.module.js | 10 +- .../frontend/app/modules/sql/sql.controller.js | 25 ++- .../frontend/public/stylesheets/style.scss | 8 +- .../web-console/frontend/views/sql/sql.tpl.pug | 39 ++-- parent/pom.xml | 1 + 35 files changed, 1086 insertions(+), 72 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/cf27e545/parent/pom.xml --
[13/19] ignite git commit: IGNITE-1178 fix for NPE in GridCacheProcessor.onKernalStop(). Fixes #1517
IGNITE-1178 fix for NPE in GridCacheProcessor.onKernalStop(). Fixes #1517 Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0b996e62 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0b996e62 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0b996e62 Branch: refs/heads/ignite-1192 Commit: 0b996e62119b316f9758da09623c722ec2fb7921 Parents: e670351 Author: voipp Authored: Mon Mar 13 17:23:07 2017 +0300 Committer: Alexey Goncharuk Committed: Mon Mar 13 17:23:07 2017 +0300 -- .../cache/GridCacheAffinityManager.java | 21 +++--- .../cache/GridCacheManagerAdapter.java | 2 +- .../processors/cache/GridCacheProcessor.java| 2 +- .../processors/query/GridQueryProcessor.java| 20 +- .../cache/IncorrectCacheTypeMetadataTest.java | 72 +++ .../cache/IncorrectQueryEntityTest.java | 75 .../IgniteCacheQuerySelfTestSuite.java | 4 ++ 7 files changed, 183 insertions(+), 13 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/0b996e62/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAffinityManager.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAffinityManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAffinityManager.java index 17c9319..621634c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAffinityManager.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAffinityManager.java @@ -17,6 +17,11 @@ package org.apache.ignite.internal.processors.cache; +import java.util.Collection; +import java.util.Collections; +import java.util.List; +import java.util.Set; +import java.util.UUID; import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.IgniteException; import org.apache.ignite.binary.BinaryObject; @@ -33,12 +38,6 @@ import org.apache.ignite.internal.util.typedef.F; import org.apache.ignite.lang.IgniteFuture; import org.jetbrains.annotations.Nullable; -import java.util.Collection; -import java.util.Collections; -import java.util.List; -import java.util.Set; -import java.util.UUID; - /** * Cache affinity manager. */ @@ -88,10 +87,15 @@ public class GridCacheAffinityManager extends GridCacheManagerAdapter { * */ public void cancelFutures() { +if (!starting.get()) +// Ignoring attempt to stop manager that has never been started. +return; + IgniteCheckedException err = new IgniteCheckedException("Failed to wait for topology update, cache (or node) is stopping."); -aff.cancelFutures(err); +if (aff != null) +aff.cancelFutures(err); } /** {@inheritDoc} */ @@ -99,7 +103,8 @@ public class GridCacheAffinityManager extends GridCacheManagerAdapter { IgniteCheckedException err = new IgniteClientDisconnectedCheckedException(reconnectFut, "Failed to wait for topology update, client disconnected."); -aff.cancelFutures(err); +if (aff != null) +aff.cancelFutures(err); } /** http://git-wip-us.apache.org/repos/asf/ignite/blob/0b996e62/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheManagerAdapter.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheManagerAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheManagerAdapter.java index 8ad0ea8..ab965de 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheManagerAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheManagerAdapter.java @@ -34,7 +34,7 @@ public class GridCacheManagerAdapter implements GridCacheManager { protected IgniteLogger log; /** Starting flag. */ -private final AtomicBoolean starting = new AtomicBoolean(false); +protected final AtomicBoolean starting = new AtomicBoolean(false); /** {@inheritDoc} */ @Override public final void start(GridCacheContext cctx) throws IgniteCheckedException { http://git-wip-us.apache.org/repos/asf/ignite/blob/0b996e62/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java b/modules/core/src/main/java/org/ap
[19/19] ignite git commit: IGNITE-1192: finished general key-value store implementation
IGNITE-1192: finished general key-value store implementation Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/b80b1a7b Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/b80b1a7b Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/b80b1a7b Branch: refs/heads/ignite-1192 Commit: b80b1a7b45340d31f4360967e66da5e9fac8c7ee Parents: cf27e54 Author: Denis Magda Authored: Thu Mar 16 17:19:59 2017 -0700 Committer: Denis Magda Committed: Thu Mar 16 17:19:59 2017 -0700 -- .../springdata/IgniteKeyValueAdapter.java | 56 +++- .../config/EnableIgniteRepositories.java| 136 +++ .../config/IgniteRepositoriesRegistar.java | 36 + .../IgniteRepositoryConfigurationExtension.java | 40 ++ 4 files changed, 261 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/b80b1a7b/modules/spring-data/src/main/java/org/apache/ignite/springdata/IgniteKeyValueAdapter.java -- diff --git a/modules/spring-data/src/main/java/org/apache/ignite/springdata/IgniteKeyValueAdapter.java b/modules/spring-data/src/main/java/org/apache/ignite/springdata/IgniteKeyValueAdapter.java index 5dbb286..bd299a9 100644 --- a/modules/spring-data/src/main/java/org/apache/ignite/springdata/IgniteKeyValueAdapter.java +++ b/modules/spring-data/src/main/java/org/apache/ignite/springdata/IgniteKeyValueAdapter.java @@ -18,8 +18,10 @@ package org.apache.ignite.springdata; import java.io.Serializable; -import java.util.Collection; +import java.util.AbstractMap; +import java.util.Iterator; import java.util.Map; +import javax.cache.Cache; import javax.cache.processor.EntryProcessor; import javax.cache.processor.EntryProcessorException; import javax.cache.processor.MutableEntry; @@ -27,10 +29,8 @@ import org.apache.ignite.Ignite; import org.apache.ignite.IgniteCache; import org.apache.ignite.IgniteException; import org.apache.ignite.Ignition; -import org.apache.ignite.cache.CachePeekMode; import org.apache.ignite.configuration.IgniteConfiguration; import org.springframework.data.keyvalue.core.AbstractKeyValueAdapter; -import org.springframework.data.keyvalue.core.ForwardingCloseableIterator; import org.springframework.data.util.CloseableIterator; /** @@ -99,17 +99,59 @@ public class IgniteKeyValueAdapter extends AbstractKeyValueAdapter { /** {@inheritDoc} */ @Override public Object delete(Serializable id, Serializable keyspace) { -return cache(keyspace).invoke(id, new RemovalEntryProcessor()); +return cache(keyspace).invoke(id, new RemoveEntryProcessor()); } /** {@inheritDoc} */ @Override public Iterable getAllOf(Serializable keyspace) { -return cache(keyspace).; +return new Iterable() { +@Override public Iterator iterator() { +return new CloseableIterator() { +Iterator> iter = cache(keyspace).iterator(); + +@Override public boolean hasNext() { +return iter.hasNext(); +} + +@Override public Object next() { +Cache.Entry entry = iter.next(); + +assert entry != null; + +return entry.getValue(); +} + +@Override public void close() { +// Ignite's internal iterator is referenced by a weak reference. Releasing it. +iter = null; +} +}; +} +}; } /** {@inheritDoc} */ @Override public CloseableIterator> entries(Serializable keyspace) { -return new ForwardingCloseableIterator>(cache(keyspace).iterator()); +return new CloseableIterator>() { +Iterator> iter = cache(keyspace).iterator(); + +@Override public boolean hasNext() { +return iter.hasNext(); +} + +@Override public Map.Entry next() { +Cache.Entry entry = iter.next(); + +assert entry != null; + +return new AbstractMap.SimpleEntry(entry.getKey(), entry.getValue()); +} + +@Override public void close() { +// Ignite's internal iterator is referenced by a weak reference. Releasing it. +iter = null; +} +}; } /** {@inheritDoc} */ @@ -149,7 +191,7 @@ public class IgniteKeyValueAdapter extends AbstractKeyValueAdapter { /** * */ -private static class RemovalEntryProcessor implements EntryProcessor { +private static class RemoveEntryProcessor implements EntryProcessor { /** {@inher
[16/19] ignite git commit: IGNITE-4821 Implemented enforce join order option on query tab.
IGNITE-4821 Implemented enforce join order option on query tab. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/94c1e7cb Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/94c1e7cb Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/94c1e7cb Branch: refs/heads/ignite-1192 Commit: 94c1e7cb505e0a40e1d3c28de5a25b5aefbd55c0 Parents: f361da4 Author: Vasiliy Sisko Authored: Wed Mar 15 11:43:23 2017 +0700 Committer: Andrey Novikov Committed: Wed Mar 15 11:43:23 2017 +0700 -- modules/web-console/backend/app/agent.js| 14 ++- modules/web-console/backend/app/browser.js | 8 ++-- .../frontend/app/modules/agent/agent.module.js | 10 +++-- .../frontend/app/modules/sql/sql.controller.js | 25 ++--- .../frontend/public/stylesheets/style.scss | 8 +++- .../web-console/frontend/views/sql/sql.tpl.pug | 39 +--- 6 files changed, 74 insertions(+), 30 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/94c1e7cb/modules/web-console/backend/app/agent.js -- diff --git a/modules/web-console/backend/app/agent.js b/modules/web-console/backend/app/agent.js index b4394b7..f65eabb 100644 --- a/modules/web-console/backend/app/agent.js +++ b/modules/web-console/backend/app/agent.js @@ -227,17 +227,27 @@ module.exports.factory = function(_, fs, path, JSZip, socketio, settings, mongo, * @param {String} cacheName Cache name. * @param {String} query Query. * @param {Boolean} nonCollocatedJoins Flag whether to execute non collocated joins. + * @param {Boolean} enforceJoinOrder Flag whether enforce join order is enabled. * @param {Boolean} local Flag whether to execute query locally. * @param {int} pageSize Page size. * @returns {Promise} */ -fieldsQuery(demo, nid, cacheName, query, nonCollocatedJoins, local, pageSize) { +fieldsQuery(demo, nid, cacheName, query, nonCollocatedJoins, enforceJoinOrder, local, pageSize) { const cmd = new Command(demo, 'exe') .addParam('name', 'org.apache.ignite.internal.visor.compute.VisorGatewayTask') .addParam('p1', nid) .addParam('p2', 'org.apache.ignite.internal.visor.query.VisorQueryTask'); -if (nonCollocatedJoins) { +if (enforceJoinOrder) { +cmd.addParam('p3', 'org.apache.ignite.internal.visor.query.VisorQueryArgV3') +.addParam('p4', cacheName) +.addParam('p5', query) +.addParam('p6', nonCollocatedJoins) +.addParam('p7', enforceJoinOrder) +.addParam('p8', local) +.addParam('p9', pageSize); +} +else if (nonCollocatedJoins) { cmd.addParam('p3', 'org.apache.ignite.internal.visor.query.VisorQueryArgV2') .addParam('p4', cacheName) .addParam('p5', query) http://git-wip-us.apache.org/repos/asf/ignite/blob/94c1e7cb/modules/web-console/backend/app/browser.js -- diff --git a/modules/web-console/backend/app/browser.js b/modules/web-console/backend/app/browser.js index 56f2acc..00ae751 100644 --- a/modules/web-console/backend/app/browser.js +++ b/modules/web-console/backend/app/browser.js @@ -98,9 +98,9 @@ module.exports.factory = (_, socketio, agentMgr, configure) => { }); // Execute query on node and return first page to browser. -socket.on('node:query', (nid, cacheName, query, distributedJoins, local, pageSize, cb) => { +socket.on('node:query', (nid, cacheName, query, distributedJoins, enforceJoinOrder, local, pageSize, cb) => { agentMgr.findAgent(accountId()) -.then((agent) => agent.fieldsQuery(demo, nid, cacheName, query, distributedJoins, local, pageSize)) +.then((agent) => agent.fieldsQuery(demo, nid, cacheName, query, distributedJoins, enforceJoinOrder, local, pageSize)) .then((res) => cb(null, res)) .catch((err) => cb(_errorToJson(err))); }); @@ -114,13 +114,13 @@ module.exports.factory = (_, socketio, agentMgr, configure) => { }); // Execute query on node and return full result to browser. -socket.on('node:query:getAll', (nid, cacheName, query, distributedJoins, local, cb) => { +socket.on('node:query:getAll', (nid, cacheName, query, distributedJoins, enforceJoinOrder, local, cb) => { /
svn commit: r1787277 - in /ignite/site/trunk: ./ features/ use-cases/caching/ use-cases/hadoop/ use-cases/platforms/ use-cases/spark/
Author: dmagda Date: Fri Mar 17 01:36:49 2017 New Revision: 1787277 URL: http://svn.apache.org/viewvc?rev=1787277&view=rev Log: renaming page headers Modified: ignite/site/trunk/features/computegrid.html ignite/site/trunk/features/cpp.html ignite/site/trunk/features/datagrid.html ignite/site/trunk/features/deploy.html ignite/site/trunk/features/dotnet.html ignite/site/trunk/features/igfs.html ignite/site/trunk/features/igniterdd.html ignite/site/trunk/features/java.html ignite/site/trunk/features/mapreduce.html ignite/site/trunk/features/rdbmsintegration.html ignite/site/trunk/features/runseverywhere.html ignite/site/trunk/features/servicegrid.html ignite/site/trunk/features/sql.html ignite/site/trunk/features/streaming.html ignite/site/trunk/index.html ignite/site/trunk/use-cases/caching/database-caching.html ignite/site/trunk/use-cases/caching/hibernate-l2-cache.html ignite/site/trunk/use-cases/caching/jcache-provider.html ignite/site/trunk/use-cases/caching/key-value-store.html ignite/site/trunk/use-cases/caching/web-session-clustering.html ignite/site/trunk/use-cases/hadoop/hdfs-cache.html ignite/site/trunk/use-cases/hadoop/mapreduce.html ignite/site/trunk/use-cases/platforms/dotnet.html ignite/site/trunk/use-cases/spark/shared-memory-layer.html ignite/site/trunk/use-cases/spark/sql-queries.html Modified: ignite/site/trunk/features/computegrid.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/computegrid.html?rev=1787277&r1=1787276&r2=1787277&view=diff == --- ignite/site/trunk/features/computegrid.html (original) +++ ignite/site/trunk/features/computegrid.html Fri Mar 17 01:36:49 2017 @@ -52,11 +52,11 @@ under the License. +Apache Ignite In-Memory Compute Grid -Apache Ignite In-Memory Compute Grid -DistributedApache Ignite In-Memory Compute Grid fashion to gain high performance, +Ignite In-Memory Compute Grid allows executing distributed computations in a parallel fashion to gain high performance, low latency, and linear scalability. Ignite compute grid provides a set of simple APIs that allow users distribute computations and data processing across multiple computers in the cluster. @@ -80,7 +80,7 @@ under the License. - + Modified: ignite/site/trunk/features/cpp.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/cpp.html?rev=1787277&r1=1787276&r2=1787277&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/features/datagrid.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/datagrid.html?rev=1787277&r1=1787276&r2=1787277&view=diff == --- ignite/site/trunk/features/datagrid.html (original) +++ ignite/site/trunk/features/datagrid.html Fri Mar 17 01:36:49 2017 @@ -52,15 +52,17 @@ under the License. +Apache Ignite In-Memory Data Grid -Apache Ignite In-Memory Data Grid -Ignite in-memory data grid is a key-value in-memory store -which enables caching data in-memory within distributed clusters. +Ignite In-Memory Data Grid is an in-memory distributed key-value store that +enables caching data in memory within distributed clusters. Ignite data grid can be viewed as a +distributed partitioned hash map with every cluster node owning a portion of the overall data. +This way the more cluster nodes we add, the more data we can cache. -It has been built from the ground up to linearly scale to hundreds of nodes with strong +Ignite data grid has been built from the ground up to linearly scale to hundreds of nodes with strong semantics for data locality and affinity data routing to reduce redundant data noise. @@ -90,7 +92,7 @@ under the License. - + Modified: ignite/site/trunk/features/deploy.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/deploy.html?rev
svn commit: r1788028 - in /ignite/site/trunk: blogs.html images/isapego.png index.html news.html
Author: dmagda Date: Tue Mar 21 20:57:08 2017 New Revision: 1788028 URL: http://svn.apache.org/viewvc?rev=1788028&view=rev Log: blogs feed update Added: ignite/site/trunk/images/isapego.png (with props) Modified: ignite/site/trunk/blogs.html ignite/site/trunk/index.html ignite/site/trunk/news.html Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1788028&r1=1788027&r2=1788028&view=diff == Binary files - no diff available. Added: ignite/site/trunk/images/isapego.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/isapego.png?rev=1788028&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/isapego.png -- svn:mime-type = application/octet-stream Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1788028&r1=1788027&r2=1788028&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Tue Mar 21 20:57:08 2017 @@ -150,20 +150,21 @@ under the License. Big Data Bootcamp, Denis Magda, March 28, 2017 -https://ptupitsyn.github.io/Whats-New-In-Ignite-Net-1-9/"; target="_blank"> -What's new in Apache Ignite.NET 1.9 -Blog, Pavel Tupitsyn, March 14, 2017 +https://dzone.com/articles/deploying-apache-ignite-in-kubernetes-on-microsoft"; target="_blank"> +Deploying Apache Ignite in Kubernetes on Microsoft Azure +Blog, Denis Magda, March 21, 2017 -https://www.gridgain.com/company/news/events/gridgain-webinar-apacher-ignitetm-sql-grid-hot-blend-traditional-sql-and-memory"; target="_blank"> -The Apache® Ignite™ SQL Grid: A Hot Blend of Traditional SQL and In-Memory Data Grids -Webinar, Denis Magda, March 15, 2017 +https://dzone.com/articles/continuous-queries-in-apache-ignite-c-19"; target="_blank"> +Continuous Queries in Apache Ignite C++ 1.9 +Blog, Igor Sapego, March 21, 2017 -https://blogs.apache.org/ignite/entry/apache-ignite-1-9-released"; target="_blank"> -Apache® Ignite™ 1.9 Released! -Blog, Denis Magda, March 06, 2017 +https://dzone.com/articles/modern-application-design-with-in-memory-data-fabr"; target="_blank"> +Modern Application Design With In-Memory Data Fabrics +Blog, Shamim Bhuiyan, March 16, 2017 + Read more Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1788028&r1=1788027&r2=1788028&view=diff == Binary files - no diff available.
ignite git commit: Updated Ignite's DOAP file
Repository: ignite Updated Branches: refs/heads/master 7325232b1 -> bdd43ff50 Updated Ignite's DOAP file Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/bdd43ff5 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/bdd43ff5 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/bdd43ff5 Branch: refs/heads/master Commit: bdd43ff50674acaec5048a9253f911106dfe24b6 Parents: 7325232 Author: Denis Magda Authored: Thu May 25 11:29:27 2017 -0700 Committer: Denis Magda Committed: Thu May 25 11:29:27 2017 -0700 -- doap_Ignite.rdf | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/bdd43ff5/doap_Ignite.rdf -- diff --git a/doap_Ignite.rdf b/doap_Ignite.rdf index 3dc641b..16649c4 100644 --- a/doap_Ignite.rdf +++ b/doap_Ignite.rdf @@ -44,6 +44,8 @@ http://projects.apache.org/category/sql"; /> http://projects.apache.org/category/cloud"; /> http://projects.apache.org/category/database"; /> +http://projects.apache.org/category/distributed-sql-database"; /> +http://projects.apache.org/category/data-management-platform"; /> http://projects.apache.org/category/hadoop"; /> http://projects.apache.org/category/network-server"; /> http://projects.apache.org/category/network-client"; />
ignite git commit: Renaming Persistence interfaces and methods to PersistentStore
Repository: ignite Updated Branches: refs/heads/ignite-5267 b84df5676 -> 4608cc92b Renaming Persistence interfaces and methods to PersistentStore Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/4608cc92 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/4608cc92 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/4608cc92 Branch: refs/heads/ignite-5267 Commit: 4608cc92b26419263c9b9deea3faa2fbf2b3dd7e Parents: b84df56 Author: Denis Magda Authored: Thu May 25 16:26:40 2017 -0700 Committer: Denis Magda Committed: Thu May 25 16:26:40 2017 -0700 -- .../configuration/IgniteConfiguration.java | 14 +- .../configuration/PersistenceConfiguration.java | 289 --- .../PersistentStoreConfiguration.java | 289 +++ .../processors/cache/GridCacheProcessor.java| 4 +- .../GridCacheDatabaseSharedManager.java | 8 +- .../database/file/FilePageStoreManager.java | 12 +- .../database/wal/FileWriteAheadLogManager.java | 12 +- ...istentStoreCacheRebalancingAbstractTest.java | 4 +- ...tNearCachePutGetWithPersistenceSelfTest.java | 4 +- ...ersistentStoreContinuousRestartSelfTest.java | 4 +- .../IgnitePersistentStoreDynamicCacheTest.java | 4 +- ...tentStoreMultiNodePutGetRestartSelfTest.java | 4 +- .../IgnitePersistentStorePageSizesTest.java | 4 +- ...entStoreRecoveryAfterFileCorruptionTest.java | 6 +- ...entStoreRemoveDuringRebalancingSelfTest.java | 4 +- ...toreSingleNodePutGetPersistenceSelfTest.java | 4 +- ...deWithIndexingPutGetPersistenceSelfTest.java | 4 +- .../IgnitePersistentStoreWalTlbSelfTest.java| 8 +- ...ageEvictionDuringPartitionClearSelfTest.java | 4 +- .../IgniteDbMultiNodePutGetRestartSelfTest.java | 4 +- .../db/IgniteDbPageEvictionSelfTest.java| 4 +- .../db/IgniteDbWholeClusterRestartSelfTest.java | 4 +- .../db/RebalancingOnNotStableTopologyTest.java | 6 +- .../cache/database/db/TransactionsHangTest.java | 6 +- ...IgniteCachePageStoreIntegrationSelfTest.java | 4 +- .../file/IgniteNoActualWalHistorySelfTest.java | 6 +- .../IgniteWalDirectoriesConfigurationTest.java | 6 +- .../IgniteWalHistoryReservationsSelfTest.java | 4 +- .../db/file/IgniteWalRecoverySelfTest.java | 7 +- .../IgniteWalRecoverySeveralRestartsTest.java | 6 +- .../PageStoreCheckpointSimulationSelfTest.java | 6 +- .../db/file/PageStoreEvictionSelfTest.java | 4 +- .../file/WalRecoveryTxLogicalRecordsTest.java | 6 +- .../GridChangeGlobalStateAbstractTest.java | 8 +- .../extended/GridActivateExtensionTest.java | 8 +- 35 files changed, 385 insertions(+), 386 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/4608cc92/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java index 2e3657f..30b2d28 100644 --- a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java +++ b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java @@ -455,7 +455,7 @@ public class IgniteConfiguration { private MemoryConfiguration memCfg; /** Persistence store configuration. */ -private PersistenceConfiguration pstCfg; +private PersistentStoreConfiguration pstCfg; /** Active on start flag. */ private boolean activeOnStart = DFLT_ACTIVE_ON_START; @@ -496,7 +496,7 @@ public class IgniteConfiguration { atomicCfg = cfg.getAtomicConfiguration(); binaryCfg = cfg.getBinaryConfiguration(); memCfg = cfg.getMemoryConfiguration(); -pstCfg = cfg.getPersistenceConfiguration(); +pstCfg = cfg.getPersistentStoreConfiguration(); cacheCfg = cfg.getCacheConfiguration(); cacheKeyCfg = cfg.getCacheKeyConfiguration(); cacheSanityCheckEnabled = cfg.isCacheSanityCheckEnabled(); @@ -2147,28 +2147,28 @@ public class IgniteConfiguration { } /** - * Gets persistence configuration. + * Gets persistence configuration used by Apache Ignite Persistent Store. * * @return Persistence configuration. */ -public PersistenceConfiguration getPersistenceConfiguration() { +public PersistentStoreConfiguration getPersistentStoreConfiguration() { return pstCfg; } /** * @return Flag {@code true} if persistent enable, {@code false} if disable. */ -public boolean isPersistentEnable() { +public boolean isPersistentStoreEnabled() { return pstCfg != null;
ignite git commit: Added an example for PersistentStore
Repository: ignite Updated Branches: refs/heads/ignite-5267 4608cc92b -> 11f7572cd Added an example for PersistentStore Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/11f7572c Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/11f7572c Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/11f7572c Branch: refs/heads/ignite-5267 Commit: 11f7572cdffb989cbb90eaa06f5999504c145aec Parents: 4608cc9 Author: Denis Magda Authored: Thu May 25 17:02:28 2017 -0700 Committer: Denis Magda Committed: Thu May 25 17:02:28 2017 -0700 -- .../example-persistent-store.xml| 71 examples/pom.xml| 7 ++ .../ignite/examples/model/Organization.java | 9 ++ .../persistentstore/PersistentStoreExample.java | 88 .../PersistentStoreExampleNodeStartup.java | 29 +++ 5 files changed, 204 insertions(+) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/11f7572c/examples/config/persistentstore/example-persistent-store.xml -- diff --git a/examples/config/persistentstore/example-persistent-store.xml b/examples/config/persistentstore/example-persistent-store.xml new file mode 100644 index 000..955ef8c --- /dev/null +++ b/examples/config/persistentstore/example-persistent-store.xml @@ -0,0 +1,71 @@ + + + + +http://www.springframework.org/schema/beans"; + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://www.springframework.org/schema/beans +http://www.springframework.org/schema/beans/spring-beans.xsd";> + + + + + + + + + + + + + + + + + + + + + +java.lang.Long + org.apache.ignite.examples.model.Organization + + + + + + + + + + + + + + + + +127.0.0.1:47500..47502 + + + + + + + + http://git-wip-us.apache.org/repos/asf/ignite/blob/11f7572c/examples/pom.xml -- diff --git a/examples/pom.xml b/examples/pom.xml index 790565b..4768270 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -68,6 +68,13 @@ +org.apache.ignite +ignite-pds +${project.version} + + + + com.google.code.simple-spring-memcached spymemcached 2.7.3 http://git-wip-us.apache.org/repos/asf/ignite/blob/11f7572c/examples/src/main/java/org/apache/ignite/examples/model/Organization.java -- diff --git a/examples/src/main/java/org/apache/ignite/examples/model/Organization.java b/examples/src/main/java/org/apache/ignite/examples/model/Organization.java index 70d4eee..fc90c07 100644 --- a/examples/src/main/java/org/apache/ignite/examples/model/Organization.java +++ b/examples/src/main/java/org/apache/ignite/examples/model/Organization.java @@ -62,6 +62,15 @@ public class Organization { } /** + * @param id Organization ID. + * @param name Organization name. + */ +public Organization(long id, String name) { +this.id = id; +this.name = name; +} + +/** * @param name Name. * @param addr Address. * @param type Type. http://git-wip-us.apache.org/repos/asf/ignite/blob/11f7572c/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java -- diff --git a/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java b/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java new file mode 100644 index 000..2e066ef --- /dev/null +++ b/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java @@ -0,0 +1,88 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to
ignite git commit: Fixed PersistentStore configuration documentation
Repository: ignite Updated Branches: refs/heads/ignite-5267 11f7572cd -> a0fc2b0e6 Fixed PersistentStore configuration documentation Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a0fc2b0e Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a0fc2b0e Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a0fc2b0e Branch: refs/heads/ignite-5267 Commit: a0fc2b0e6ab8903bd3007c5915c1a5fea9d43985 Parents: 11f7572 Author: Denis Magda Authored: Thu May 25 17:25:37 2017 -0700 Committer: Denis Magda Committed: Thu May 25 17:25:37 2017 -0700 -- .../PersistentStoreConfiguration.java | 85 ++-- 1 file changed, 44 insertions(+), 41 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/a0fc2b0e/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java index ac1e514..b2e10f4 100644 --- a/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java +++ b/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java @@ -78,13 +78,16 @@ public class PersistentStoreConfiguration implements Serializable { private String walArchivePath; /** - * + * Returns a path the root directory where the Persistent Store will persist data and indexes. */ public String getPersistentStorePath() { return persistenteStorePath; } /** + * Sets a path to the root directory where the Persistent Store will persist data and indexes. + * By default the Persistent Store's files are located under Ignite work directory. + * * @param persistenceStorePath Persistence store path. */ public PersistentStoreConfiguration setPersistentStorePath(String persistenceStorePath) { @@ -103,8 +106,8 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Sets checkpoint frequency. This is a minimal interval at which memory state will be written to a disk - * storage. If update rate is high, checkpoints can happen more frequently. + * Sets the checkpoint frequency which is a minimal interval when the memory state (updated data, indexes, etc.) + * will be written to the Persistent Store. If the rate is high, checkpoints can happen more frequently. * * @param checkpointFreq Checkpoint frequency in milliseconds. * @return {@code this} for chaining. @@ -116,70 +119,66 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Time out in second, while wait and try get file lock for start persist manager. + * Gets amount of memory allocated for a checkpoint temporary buffer. * - * @return Time for wait. + * @return Checkpoint page buffer size. */ -public int getLockWaitTime() { -return lockWaitTime; +public Long getCheckpointPageBufferSize() { +return checkpointPageBufSize; } /** - * Time out in milliseconds, while wait and try get file lock for start persist manager. + * Sets amount of memory allocated for the checkpoint temporary buffer. The buffer is used to create temporary + * copies of pages when the checkpoint process is in progress. * - * @param lockWaitTime Lock wait time. + * @param checkpointPageBufSize Checkpoint page buffer size. * @return {@code this} for chaining. */ -public PersistentStoreConfiguration setLockWaitTime(int lockWaitTime) { -this.lockWaitTime = lockWaitTime; +public PersistentStoreConfiguration setCheckpointPageBufferSize(long checkpointPageBufSize) { +this.checkpointPageBufSize = checkpointPageBufSize; return this; } - /** - * Gets amount of memory allocated for checkpoint temporary buffer. This buffer is used to create temporary - * copies of pages when checkpoint is in progress. + * Gets a number of threads to use for the checkpoint purposes. * - * @return Checkpoint page buffer size. + * @return Number of checkpoint threads. */ -public Long getCheckpointPageBufferSize() { -return checkpointPageBufSize; +public int getCheckpointThreads() { +return checkpointThreads; } /** - * Sets amount of memory allocated for checkpoint temporary buffer. This buffer is used to create temporary - * copies of pages when checkpoint is in progress. + * Sets a number of threads to use for the checkpoint pu
ignite git commit: Fixed PersistentStore configuration documentation
Repository: ignite Updated Branches: refs/heads/ignite-5267 a0fc2b0e6 -> 3450241fb Fixed PersistentStore configuration documentation Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/3450241f Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/3450241f Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/3450241f Branch: refs/heads/ignite-5267 Commit: 3450241fb101eaa6a6c0378f085097ba7609f1c0 Parents: a0fc2b0 Author: Denis Magda Authored: Fri May 26 13:59:56 2017 -0700 Committer: Denis Magda Committed: Fri May 26 13:59:56 2017 -0700 -- .../PersistentStoreConfiguration.java | 39 ++-- 1 file changed, 20 insertions(+), 19 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/3450241f/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java index b2e10f4..94923c8 100644 --- a/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java +++ b/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java @@ -71,10 +71,10 @@ public class PersistentStoreConfiguration implements Serializable { /** Number of WAL segments to keep. */ private int walSegmentSize = DFLT_WAL_SEGMENT_SIZE; -/** Write-ahead log persistence path. */ +/** WAL persistence path. */ private String walStorePath; -/** Write-ahead log archive path. */ +/** WAL archive path. */ private String walArchivePath; /** @@ -184,18 +184,18 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Gets the number checkpoints to keep in WAL history. + * Gets a total number of checkpoints to keep in the WAL history. * - * @return Number of WAL segments to keep after the checkpoint is finished. + * @return Number of WAL segments to keep after a checkpoint is finished. */ public int getWalHistorySize() { return walHistSize <= 0 ? DFLT_WAL_HISTORY_SIZE : walHistSize; } /** - * Sets the number of checkpoints to keep in WAL history. + * Sets a total number of checkpoints to keep in the WAL history. * - * @param walHistSize Number of WAL segments to keep after the checkpoint is finished. + * @param walHistSize Number of WAL segments to keep after a checkpoint is finished. * @return {@code this} for chaining. */ public PersistentStoreConfiguration setWalHistorySize(int walHistSize) { @@ -205,7 +205,7 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Gets a number of Write-Ahead Log segments to work with. + * Gets a number of WAL segments to work with. * * @return Number of work WAL segments. */ @@ -214,10 +214,10 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Sets a number of Write Ahead Log segments to work with. Write-ahead log is written over a fixed number - * of pre-allocated file segments of fixed size. This parameter sets the number of these segments. + * Sets a number of WAL segments to work with. For performance reasons, + * the whole WAL is split into files of fixed length called segments. * - * @param walSegments Number of work WAL segments. + * @param walSegments Number of WAL segments. * @return {@code this} for chaining. */ public PersistentStoreConfiguration setWalSegments(int walSegments) { @@ -227,7 +227,7 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Gets size of a Write-Ahead Log segment. + * Gets size of a WAL segment. * * @return WAL segment size. */ @@ -236,7 +236,7 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Sets size of a Write-Ahead Log segment. + * Sets size of a WAL segment. * * @param walSegmentSize WAL segment size. 64 MB is used by default. * @return {@code this} for chaining. @@ -248,19 +248,19 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Gets a path to the directory where Write-Ahead log is stored. + * Gets a path to the directory where WAL is stored. * - * @return Write-ahead log persistence path, absolute or relative to Ignite work directory. + * @return WAL persistence path, absolute or relative to Ignite work directory. */ public St
ignite git commit: IGNITE-5295: NPE when Persistent Store is used and Memory Configuration is missing
Repository: ignite Updated Branches: refs/heads/ignite-5267 3450241fb -> c68b61d3c IGNITE-5295: NPE when Persistent Store is used and Memory Configuration is missing Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c68b61d3 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c68b61d3 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c68b61d3 Branch: refs/heads/ignite-5267 Commit: c68b61d3c3229c1c473cf06023df2ffe6d5aa547 Parents: 3450241 Author: Sergey Chugunov Authored: Fri May 26 14:27:27 2017 -0700 Committer: Denis Magda Committed: Fri May 26 14:27:27 2017 -0700 -- .../processors/cache/GridCacheProcessor.java| 16 1 file changed, 12 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/c68b61d3/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java index d7c1e3d..bed0601 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java @@ -420,7 +420,7 @@ public class GridCacheProcessor extends GridProcessorAdapter { if (storesLocallyOnClient(c, cc)) throw new IgniteCheckedException("MemoryPolicy for client caches must be explicitly configured " + -"on client node startup. Use MemoryConfiguration to configure MemoryPolicy."); +"on client node startup. Use MemoryConfiguration to configure MemoryPolicy."); if (cc.getCacheMode() == LOCAL && !cc.getAffinity().getClass().equals(LocalAffinityFunction.class)) U.warn(log, "AffinityFunction configuration parameter will be ignored for local cache [cacheName=" + @@ -2075,11 +2075,19 @@ public class GridCacheProcessor extends GridProcessorAdapter { IgniteWriteAheadLogManager walMgr = null; if (ctx.config().isPersistentStoreEnabled()) { -dbMgr = IgniteComponentType.DATABASE_MANAGER.create(ctx, false); +if (ctx.clientNode()) { +U.warn(log, "Persistent Store is not supported on client nodes (Persistent Store's" + +" configuration will be ignored)."); -pageStoreMgr = IgniteComponentType.PAGE_STORE_MANAGER.create(ctx, false); +dbMgr = new IgniteCacheDatabaseSharedManager(); +} +else { +dbMgr = IgniteComponentType.DATABASE_MANAGER.create(ctx, false); -walMgr = IgniteComponentType.WAL_MANAGER.create(ctx, false); +pageStoreMgr = IgniteComponentType.PAGE_STORE_MANAGER.create(ctx, false); + +walMgr = IgniteComponentType.WAL_MANAGER.create(ctx, false); +} } else dbMgr = new IgniteCacheDatabaseSharedManager();
svn commit: r1796944 - in /ignite/site/trunk: blogs.html features.html features/datagrid.html features/streaming.html images/achaudhri.png index.html news.html use-cases/caching/hibernate-l2-cache.htm
Author: dmagda Date: Tue May 30 21:20:01 2017 New Revision: 1796944 URL: http://svn.apache.org/viewvc?rev=1796944&view=rev Log: fixing docs links Added: ignite/site/trunk/images/achaudhri.png (with props) Modified: ignite/site/trunk/blogs.html ignite/site/trunk/features.html ignite/site/trunk/features/datagrid.html ignite/site/trunk/features/streaming.html ignite/site/trunk/index.html ignite/site/trunk/news.html ignite/site/trunk/use-cases/caching/hibernate-l2-cache.html ignite/site/trunk/use-cases/caching/web-session-clustering.html Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1796944&r1=1796943&r2=1796944&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/features.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features.html?rev=1796944&r1=1796943&r2=1796944&view=diff == --- ignite/site/trunk/features.html (original) +++ ignite/site/trunk/features.html Tue May 30 21:20:01 2017 @@ -176,24 +176,24 @@ under the License. MEMORY FORMATS -On-Heap Memory +Page Memory -Ignite stores all cache entries on-heap to provide fast data access. +Apache Ignite Page Memory is a manageable off-heap based memory architecture that is split into pages of fixed size. By default, Ignite stores data in off-heap memory. - -https://apacheignite.readme.io/docs/off-heap-memory#onheap_tiered"; target="docs">Docs for this feature + +https://apacheignite.readme.io/docs/page-memory"; target="docs">Docs for this Feature -Off-Heap Memory +On-Heap Memory -Storing data in off-heap memory allows your cache to overcome lengthy JVM Garbage Collection (GC) pauses. +Ignite stores data in off-heap memory with an option to store data on-heap. -https://apacheignite.readme.io/docs/off-heap-memory"; target="docs">Docs for this feature +https://apacheignite.readme.io/docs/page-memory#on-heap-caching"; target="docs">Docs for this feature @@ -201,21 +201,10 @@ under the License. Off-Heap Indexes -Whenever configured with off-heap memory, Ignite will store query indexes off-heap as well. - - -https://apacheignite.readme.io/docs/off-heap-memory"; target="docs">Docs for this feature - - - - -Tiered Storage - - -Ignite provides tiered storage model, where data can be stored and moved between on-heap, off-heap, and swap space. +Ignite stores query indexes off-heap memory. For every unique index that is declared in an SQL schema, Apache Ignite instantiates and manages a dedicated B+ tree instance. -https://apacheignite.readme.io/docs/off-heap-memory#tiered-off-heap-storage"; target="docs">Docs for this feature +https://apacheignite.readme.io/docs/page-memory#section-b-tree-and-index-page"; target="docs">Docs for this feature @@ -236,7 +225,7 @@ under the License. Dynamically create an object. -https://apacheignite.readme.io/docs/jcache"; target="docs">Docs for this feature +https://apacheignite.readme.io/docs/binary-marshaller"; target="docs">
svn commit: r1797096 - in /ignite/site/trunk: index.html news.html
Author: dmagda Date: Wed May 31 18:27:55 2017 New Revision: 1797096 URL: http://svn.apache.org/viewvc?rev=1797096&view=rev Log: fixed news Modified: ignite/site/trunk/index.html ignite/site/trunk/news.html Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1797096&r1=1797095&r2=1797096&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Wed May 31 18:27:55 2017 @@ -141,8 +141,8 @@ under the License. Spark Summit 2017, San Francisco, Denis Magda, June 7, 2017 -https://www.gridgain.com/resources/webinars/apacher-ignitetm-whats-new-version-201"; target="_blank"> -Apache® Igniteâ¢: Whatâs New in Version 2.0 +https://www.gridgain.com/resources/webinars/apacher-ignitetm-20-prelude-distributed-sql-database"; target="_blank"> +Apache® Ignite⢠2.0: Prelude to a Distributed SQL Database Webinar, Denis Magda, June 7, 2017 Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1797096&r1=1797095&r2=1797096&view=diff == Binary files - no diff available.
ignite git commit: Fixed PersistentStore configuration documentation
Repository: ignite Updated Branches: refs/heads/ignite-5267 c6313b7ec -> 43ddc7d53 Fixed PersistentStore configuration documentation Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/43ddc7d5 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/43ddc7d5 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/43ddc7d5 Branch: refs/heads/ignite-5267 Commit: 43ddc7d5337635e49a7646d15bd85da22e8b7d4b Parents: c6313b7 Author: Denis Magda Authored: Wed May 31 17:36:15 2017 -0700 Committer: Denis Magda Committed: Wed May 31 17:36:15 2017 -0700 -- .../ignite/configuration/PersistentStoreConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/43ddc7d5/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java index 94923c8..ad97b86 100644 --- a/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java +++ b/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java @@ -106,8 +106,8 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Sets the checkpoint frequency which is a minimal interval when the memory state (updated data, indexes, etc.) - * will be written to the Persistent Store. If the rate is high, checkpoints can happen more frequently. + * Sets the checkpointing frequency which is a minimal interval when the dirty pages will be written + * to the Persistent Store. If the rate is high, checkpointing will be triggered more frequently. * * @param checkpointFreq Checkpoint frequency in milliseconds. * @return {@code this} for chaining.
ignite git commit: Renaming checkpoint to checkpointing in public interface
Repository: ignite Updated Branches: refs/heads/ignite-5267 43ddc7d53 -> 3a44e3ac1 Renaming checkpoint to checkpointing in public interface Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/3a44e3ac Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/3a44e3ac Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/3a44e3ac Branch: refs/heads/ignite-5267 Commit: 3a44e3ac104775d58f24f193bd1cce1518526b91 Parents: 43ddc7d Author: Denis Magda Authored: Wed May 31 17:49:48 2017 -0700 Committer: Denis Magda Committed: Wed May 31 17:49:48 2017 -0700 -- .../PersistentStoreConfiguration.java | 65 ++-- .../GridCacheDatabaseSharedManager.java | 12 ++-- ...entStoreRecoveryAfterFileCorruptionTest.java | 2 +- .../IgnitePersistentStoreWalTlbSelfTest.java| 4 +- .../db/RebalancingOnNotStableTopologyTest.java | 2 +- .../cache/database/db/TransactionsHangTest.java | 2 +- .../PageStoreCheckpointSimulationSelfTest.java | 2 +- .../file/WalRecoveryTxLogicalRecordsTest.java | 2 +- 8 files changed, 46 insertions(+), 45 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/3a44e3ac/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java index ad97b86..14e3a73 100644 --- a/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java +++ b/modules/core/src/main/java/org/apache/ignite/configuration/PersistentStoreConfiguration.java @@ -26,17 +26,17 @@ public class PersistentStoreConfiguration implements Serializable { private static final long serialVersionUID = 0L; /** */ -public static final int DFLT_CHECKPOINT_FREQ = 18; +public static final int DFLT_CHECKPOINTING_FREQ = 18; /** Lock default wait time, 10 sec. */ public static final int DFLT_LOCK_WAIT_TIME = 10 * 1000; /** */ @SuppressWarnings("UnnecessaryBoxing") -public static final Long DFLT_CHECKPOINT_PAGE_BUFFER_SIZE = new Long(256L * 1024 * 1024); +public static final Long DFLT_CHECKPOINTING_PAGE_BUFFER_SIZE = new Long(256L * 1024 * 1024); -/** Default number of checkpoint threads. */ -public static final int DFLT_CHECKPOINT_THREADS = 1; +/** Default number of checkpointing threads. */ +public static final int DFLT_CHECKPOINTING_THREADS = 1; /** */ private static final int DFLT_WAL_HISTORY_SIZE = 20; @@ -50,17 +50,17 @@ public class PersistentStoreConfiguration implements Serializable { /** */ private String persistenteStorePath; -/** Checkpoint frequency. */ -private long checkpointFreq = DFLT_CHECKPOINT_FREQ; +/** Checkpointing frequency. */ +private long checkpointingFreq = DFLT_CHECKPOINTING_FREQ; /** Lock wait time. */ private int lockWaitTime = DFLT_LOCK_WAIT_TIME; /** */ -private Long checkpointPageBufSize = DFLT_CHECKPOINT_PAGE_BUFFER_SIZE; +private Long checkpointingPageBufSize = DFLT_CHECKPOINTING_PAGE_BUFFER_SIZE; /** */ -private int checkpointThreads = DFLT_CHECKPOINT_THREADS; +private int checkpointingThreads = DFLT_CHECKPOINTING_THREADS; /** */ private int walHistSize = DFLT_WAL_HISTORY_SIZE; @@ -97,67 +97,68 @@ public class PersistentStoreConfiguration implements Serializable { } /** - * Gets checkpoint frequency. + * Gets checkpointing frequency. * - * @return Checkpoint frequency in milliseconds. + * @return checkpointing frequency in milliseconds. */ -public long getCheckpointFrequency() { -return checkpointFreq <= 0 ? DFLT_CHECKPOINT_FREQ : checkpointFreq; +public long getCheckpointingFrequency() { +return checkpointingFreq <= 0 ? DFLT_CHECKPOINTING_FREQ : checkpointingFreq; } /** * Sets the checkpointing frequency which is a minimal interval when the dirty pages will be written * to the Persistent Store. If the rate is high, checkpointing will be triggered more frequently. * - * @param checkpointFreq Checkpoint frequency in milliseconds. + * @param checkpointingFreq checkpointing frequency in milliseconds. * @return {@code this} for chaining. */ -public PersistentStoreConfiguration setCheckpointFrequency(long checkpointFreq) { -this.checkpointFreq = checkpointFreq; +public PersistentStoreConfiguration setCheckpointingFrequency(long checkpointingFreq) { +this.checkpointingFreq = checkpointingFreq; return
svn commit: r1797719 - in /ignite/site/trunk: blogs.html index.html news.html
Author: dmagda Date: Tue Jun 6 00:00:57 2017 New Revision: 1797719 URL: http://svn.apache.org/viewvc?rev=1797719&view=rev Log: updated the site Modified: ignite/site/trunk/blogs.html ignite/site/trunk/index.html ignite/site/trunk/news.html Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1797719&r1=1797718&r2=1797719&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1797719&r1=1797718&r2=1797719&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Tue Jun 6 00:00:57 2017 @@ -138,12 +138,17 @@ under the License. https://spark-summit.org/2017/events/apache-spark-and-apache-ignite-this-is-where-fast-data-meets-the-iot/"; target="_blank"> Apache Ignite and Apache Spark: This is Where Fast Data Meets the IoT -Spark Summit 2017, San Francisco, Denis Magda, June 7, 2017 +Spark Summit 2017, San Francisco, Denis Magda, Jun 07, 2017 https://www.gridgain.com/resources/webinars/apacher-ignitetm-20-prelude-distributed-sql-database"; target="_blank"> Apache® Ignite⢠2.0: Prelude to a Distributed SQL Database -Webinar, Denis Magda, June 7, 2017 +Webinar, Denis Magda, Jun 07, 2017 + + +https://dzone.com/articles/getting-started-with-apachereg-ignite-part-2"; target="_blank"> +Getting Started With Apache Ignite (Part 2) +Blog, Akmal Chaudhri, Jun 04, 2017 https://dzone.com/articles/getting-started-with-apachereg-ignite-part-i"; target="_blank"> @@ -151,9 +156,9 @@ under the License. Blog, Akmal Chaudhri, May 29, 2017 -https://dzone.com/articles/how-to-monitor-multiple-apache-ignite-clusters"; target="_blank"> -How to Monitor Multiple Apache Ignite Clusters -Blog, Prachi Garg, May 24, 2017 +https://dzone.com/articles/adonet-as-ignitenet-cache-store"; target="_blank"> +ADO.NET as Ignite.NET Cache Store +Blog, Pavel Tupitsyn, May 31, 2017 Read more Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1797719&r1=1797718&r2=1797719&view=diff == Binary files - no diff available.
svn commit: r1798010 - in /ignite/site/trunk: css/all.css index.html news.html scss/ignite.scss
Author: dmagda Date: Thu Jun 8 02:05:05 2017 New Revision: 1798010 URL: http://svn.apache.org/viewvc?rev=1798010&view=rev Log: updated the news page Modified: ignite/site/trunk/css/all.css ignite/site/trunk/index.html ignite/site/trunk/news.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1798010&r1=1798009&r2=1798010&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Thu Jun 8 02:05:05 2017 @@ -7861,8 +7861,11 @@ section.page-section:last-child { section.page-section ul.page-list, section.page-section ol.page-list { padding-left: 20px; color: #333; + line-height: 1.2em; } -section.page-section ul.page-list > li, section.page-section ol.page-list > li { +s +section.page-section ul.page-list > li, s +section.page-section ol.page-list > li { padding-bottom: 4px; } section.page-section div.page-links { Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1798010&r1=1798009&r2=1798010&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Thu Jun 8 02:05:05 2017 @@ -136,14 +136,14 @@ under the License. News & Events -https://spark-summit.org/2017/events/apache-spark-and-apache-ignite-this-is-where-fast-data-meets-the-iot/"; target="_blank"> -Apache Ignite and Apache Spark: This is Where Fast Data Meets the IoT -Spark Summit 2017, San Francisco, Denis Magda, Jun 07, 2017 + +Turbocharge your SQL queries in-memory with Apache® Ignite⢠+Meetup, Amsterdam, Netherlands, Speaker - Denis Magda, Jun 20, 2017 -https://www.gridgain.com/resources/webinars/apacher-ignitetm-20-prelude-distributed-sql-database"; target="_blank"> -Apache® Ignite⢠2.0: Prelude to a Distributed SQL Database -Webinar, Denis Magda, Jun 07, 2017 +https://spark-summit.org/2017/events/apache-spark-and-apache-ignite-this-is-where-fast-data-meets-the-iot/"; target="_blank"> +Apache Ignite and Apache Spark: This is Where Fast Data Meets the IoT +Spark Summit 2017, San Francisco, Speaker - Denis Magda, Jun 07, 2017 https://dzone.com/articles/getting-started-with-apachereg-ignite-part-2"; target="_blank"> @@ -151,11 +151,6 @@ under the License. Blog, Akmal Chaudhri, Jun 04, 2017 -https://dzone.com/articles/getting-started-with-apachereg-ignite-part-i"; target="_blank"> -Getting Started With Apache Ignite (Part 1) -Blog, Akmal Chaudhri, May 29, 2017 - - https://dzone.com/articles/adonet-as-ignitenet-cache-store"; target="_blank"> ADO.NET as Ignite.NET Cache Store Blog, Pavel Tupitsyn, May 31, 2017 Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1798010&r1=1798009&r2=1798010&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/ignite/site/trunk/scss/ignite.scss?rev=1798010&r1=1798009&r2=1798010&view=diff == --- ignite/site/trunk/scss/ignite.scss (original) +++ ignite/site/trunk/scss/ignite.scss Thu Jun 8 02:05:05 2017 @@ -267,6 +267,7 @@ section.page-section { ul.page-list, ol.page-list { padding-left: 20px; color: #333; +line-height: 1.2em;s & > li { padding-bottom: 4px;
svn commit: r1792108 - /ignite/site/trunk/community/contribute.html
Author: dmagda Date: Thu Apr 20 18:47:14 2017 New Revision: 1792108 URL: http://svn.apache.org/viewvc?rev=1792108&view=rev Log: added DynaCache provider task Modified: ignite/site/trunk/community/contribute.html Modified: ignite/site/trunk/community/contribute.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/contribute.html?rev=1792108&r1=1792107&r2=1792108&view=diff == --- ignite/site/trunk/community/contribute.html (original) +++ ignite/site/trunk/community/contribute.html Thu Apr 20 18:47:14 2017 @@ -116,15 +116,14 @@ under the License. Apache Apex Connectors, https://issues.apache.org/jira/browse/IGNITE-3131";>IGNITE-3131 - +DynaCache Provider, https://issues.apache.org/jira/browse/IGNITE-5047";>IGNITE-5047 + Kubernetes Deployments Support: Parent Jira ticket for the Kubernetes related work: https://issues.apache.org/jira/browse/IGNITE-4159";>IGNITE-4159. -Discovery for Ignite Kubernetes Pods, https://issues.apache.org/jira/browse/IGNITE-4160";>IGNITE-4160 Discovery for Nodes to Connect to Kubernetes From Outside, https://issues.apache.org/jira/browse/IGNITE-4161";>IGNITE-4161 -Step-by-step Guidance for the Usage of Ignite with Kubernetes, https://issues.apache.org/jira/browse/IGNITE-4162";>IGNITE-4162 Streaming:
ignite git commit: Minor doc fix in DataPageEvictionMOde
Repository: ignite Updated Branches: refs/heads/ignite-2.0 217c6be26 -> e41de0cf4 Minor doc fix in DataPageEvictionMOde Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e41de0cf Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e41de0cf Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e41de0cf Branch: refs/heads/ignite-2.0 Commit: e41de0cf42089c636deddaa611a38009ed5b313e Parents: 217c6be Author: Denis Magda Authored: Thu Apr 20 14:32:18 2017 -0700 Committer: Denis Magda Committed: Thu Apr 20 14:32:18 2017 -0700 -- .../java/org/apache/ignite/configuration/DataPageEvictionMode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/e41de0cf/modules/core/src/main/java/org/apache/ignite/configuration/DataPageEvictionMode.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/DataPageEvictionMode.java b/modules/core/src/main/java/org/apache/ignite/configuration/DataPageEvictionMode.java index 437721b..0d1b5b9 100644 --- a/modules/core/src/main/java/org/apache/ignite/configuration/DataPageEvictionMode.java +++ b/modules/core/src/main/java/org/apache/ignite/configuration/DataPageEvictionMode.java @@ -20,7 +20,7 @@ package org.apache.ignite.configuration; /** * Defines memory page eviction algorithm. A mode is set for a specific * {@link MemoryPolicyConfiguration}. Only data pages, that store key-value entries, are eligible for eviction. The - * other types of pages, like index or system pages, are not evictable. + * other types of pages, like index or meta pages, are not evictable. */ public enum DataPageEvictionMode { /** Eviction is disabled. */
svn commit: r1792547 - in /ignite/site/trunk: ./ community/ features/ use-cases/caching/ use-cases/hadoop/ use-cases/spark/
Author: dmagda Date: Mon Apr 24 21:19:37 2017 New Revision: 1792547 URL: http://svn.apache.org/viewvc?rev=1792547&view=rev Log: h1 and title optimizations Modified: ignite/site/trunk/blogs.html ignite/site/trunk/community/contribute.html ignite/site/trunk/community/resources.html ignite/site/trunk/download.html ignite/site/trunk/features.html ignite/site/trunk/features/clientprotos.html ignite/site/trunk/features/computegrid.html ignite/site/trunk/features/datagrid.html ignite/site/trunk/features/datastructures.html ignite/site/trunk/features/deploy.html ignite/site/trunk/features/igfs.html ignite/site/trunk/features/igniterdd.html ignite/site/trunk/features/java.html ignite/site/trunk/features/mapreduce.html ignite/site/trunk/features/messaging.html ignite/site/trunk/features/rdbmsintegration.html ignite/site/trunk/features/runseverywhere.html ignite/site/trunk/features/servicegrid.html ignite/site/trunk/features/sql.html ignite/site/trunk/features/streaming.html ignite/site/trunk/use-cases/caching/database-caching.html ignite/site/trunk/use-cases/caching/hibernate-l2-cache.html ignite/site/trunk/use-cases/caching/jcache-provider.html ignite/site/trunk/use-cases/caching/key-value-store.html ignite/site/trunk/use-cases/caching/web-session-clustering.html ignite/site/trunk/use-cases/hadoop/hdfs-cache.html ignite/site/trunk/use-cases/hadoop/mapreduce.html ignite/site/trunk/use-cases/spark/sql-queries.html ignite/site/trunk/usecases.html Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1792547&r1=1792546&r2=1792547&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/community/contribute.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/contribute.html?rev=1792547&r1=1792546&r2=1792547&view=diff == --- ignite/site/trunk/community/contribute.html (original) +++ ignite/site/trunk/community/contribute.html Mon Apr 24 21:19:37 2017 @@ -39,7 +39,7 @@ under the License. -Contribute to the Community - Apache Ignite +Contribute - Apache Ignite https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> @@ -52,7 +52,7 @@ under the License. -Contribute to the Apache Ignite Community +Contribute to Apache Ignite Before you start working on Apache Ignite, you should sign up to the mailto:d...@ignite.apache.org";>dev mailing list and say "Hello" to everyone in Modified: ignite/site/trunk/community/resources.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/resources.html?rev=1792547&r1=1792546&r2=1792547&view=diff == --- ignite/site/trunk/community/resources.html (original) +++ ignite/site/trunk/community/resources.html Mon Apr 24 21:19:37 2017 @@ -52,7 +52,7 @@ under the License. -Community Resources for Apache Ignite +Community Resources There are many ways you can get help from Apache Ignite community. The mailing lists are the easiest way to get answers or to get involved with the project. Specifically, if you have any questions Modified: ignite/site/trunk/download.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/download.html?rev=1792547&r1=1792546&r2=1792547&view=diff == --- ignite/site/trunk/download.html (original) +++ ignite/site/trunk/download.html Mon Apr 24 21:19:37 2017 @@ -264,7 +264,7 @@ under the License. -Downloads for Apache Ignite +Apache Ignite Downloads Source Releases Binary Releases Modified: ignite/site/trunk/features.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features.html?rev=1792547&r1=1792546&r2=1792547&view=diff == --- ignite/site/trunk/features.html (original) +++ ignite/site/trunk/features.html Mon Apr 24 21:19:37 2017 @@ -53,7 +53,7 @@ under the License. -Product Features of Apache Ignite +Product Features Apache Ignite In-Memory Data Fabric comprises the following set of components shared across the Ignite platform. Modified: ignite/site/trunk/features/clientprotos.html URL: http://svn.apache
svn commit: r1792551 - /ignite/site/trunk/features/clientprotos.html
Author: dmagda Date: Mon Apr 24 21:43:50 2017 New Revision: 1792551 URL: http://svn.apache.org/viewvc?rev=1792551&view=rev Log: fixed redis description Modified: ignite/site/trunk/features/clientprotos.html Modified: ignite/site/trunk/features/clientprotos.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/clientprotos.html?rev=1792551&r1=1792550&r2=1792551&view=diff == --- ignite/site/trunk/features/clientprotos.html (original) +++ ignite/site/trunk/features/clientprotos.html Mon Apr 24 21:43:50 2017 @@ -106,8 +106,8 @@ under the License. Redis -Ignite is partially http://redis.io/"; target="_blank">Redis compliant that enables users -to store and retrieve distributed data from Ignite cache using any Redis compatible client. +Ignite is partially http://redis.io/"; target="_blank">Redis compliant and enables users +to store and retrieve distributed data from Apache Ignite caches using any Redis compatible client. http://apacheignite.readme.io/docs/redis"; target="docs">Docs for this Feature
svn commit: r1792825 - in /ignite/site/trunk: ./ community/ css/ features/ includes/ scss/ use-cases/caching/ use-cases/hadoop/ use-cases/platforms/ use-cases/spark/
Author: dmagda Date: Wed Apr 26 23:09:58 2017 New Revision: 1792825 URL: http://svn.apache.org/viewvc?rev=1792825&view=rev Log: updated news Modified: ignite/site/trunk/addons.html ignite/site/trunk/blogs.html ignite/site/trunk/community/contribute.html ignite/site/trunk/community/resources.html ignite/site/trunk/css/all.css ignite/site/trunk/download.html ignite/site/trunk/features.html ignite/site/trunk/features/clientprotos.html ignite/site/trunk/features/computegrid.html ignite/site/trunk/features/cpp.html ignite/site/trunk/features/datagrid.html ignite/site/trunk/features/datastructures.html ignite/site/trunk/features/datavisualization.html ignite/site/trunk/features/deploy.html ignite/site/trunk/features/dotnet.html ignite/site/trunk/features/igfs.html ignite/site/trunk/features/igniterdd.html ignite/site/trunk/features/java.html ignite/site/trunk/features/mapreduce.html ignite/site/trunk/features/messaging.html ignite/site/trunk/features/rdbmsintegration.html ignite/site/trunk/features/runseverywhere.html ignite/site/trunk/features/servicegrid.html ignite/site/trunk/features/sql.html ignite/site/trunk/features/streaming.html ignite/site/trunk/includes/header.html ignite/site/trunk/includes/scripts.html ignite/site/trunk/index.html ignite/site/trunk/news.html ignite/site/trunk/scss/ignite.scss ignite/site/trunk/use-cases/caching/database-caching.html ignite/site/trunk/use-cases/caching/hibernate-l2-cache.html ignite/site/trunk/use-cases/caching/jcache-provider.html ignite/site/trunk/use-cases/caching/key-value-store.html ignite/site/trunk/use-cases/caching/web-session-clustering.html ignite/site/trunk/use-cases/hadoop/hdfs-cache.html ignite/site/trunk/use-cases/hadoop/mapreduce.html ignite/site/trunk/use-cases/platforms/dotnet.html ignite/site/trunk/use-cases/spark/shared-memory-layer.html ignite/site/trunk/use-cases/spark/sql-queries.html ignite/site/trunk/usecases.html Modified: ignite/site/trunk/addons.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/addons.html?rev=1792825&r1=1792824&r2=1792825&view=diff == --- ignite/site/trunk/addons.html (original) +++ ignite/site/trunk/addons.html Wed Apr 26 23:09:58 2017 @@ -40,7 +40,7 @@ under the License. Addons and Related Solutions - Apache Ignite - + https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1792825&r1=1792824&r2=1792825&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/community/contribute.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/contribute.html?rev=1792825&r1=1792824&r2=1792825&view=diff == --- ignite/site/trunk/community/contribute.html (original) +++ ignite/site/trunk/community/contribute.html Wed Apr 26 23:09:58 2017 @@ -40,7 +40,7 @@ under the License. Contribute - Apache Ignite - + https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> Modified: ignite/site/trunk/community/resources.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/resources.html?rev=1792825&r1=1792824&r2=1792825&view=diff == --- ignite/site/trunk/community/resources.html (original) +++ ignite/site/trunk/community/resources.html Wed Apr 26 23:09:58 2017 @@ -40,7 +40,7 @@ under the License. Community Resources - Apache Ignite - + https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1792825&r1=1792824&r2=1792825&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Wed Apr 26 23:09:58 2017 @@ -8253,12 +8253,6 @@ section.news-section h3 { section.news-section p { padding-top: 10px; } -section.news-section p a { - color: #f00; -} -section.news-section a { - color: #333; -} .testimonials { background: #e8f1fc; @@ -8354,17 +8348,6 @@ tr.sub-heading > th { border-color: #960c11; } -.github-stat { - width: 120px; - height: 30px; - border: none; -} -@media (max-width: 767px) { - .github-stat { -margin-top: 17px; - } -} - .github-imag
svn commit: r1792826 - /ignite/site/trunk/features/sql.html
Author: dmagda Date: Wed Apr 26 23:16:34 2017 New Revision: 1792826 URL: http://svn.apache.org/viewvc?rev=1792826&view=rev Log: fixed SQL grid title Modified: ignite/site/trunk/features/sql.html Modified: ignite/site/trunk/features/sql.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/sql.html?rev=1792826&r1=1792825&r2=1792826&view=diff == Binary files - no diff available.
ignite git commit: Improved MemoryMetrics documentation.
Repository: ignite Updated Branches: refs/heads/ignite-5072-merge 1c9701dcf -> 25d85e5ed Improved MemoryMetrics documentation. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/25d85e5e Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/25d85e5e Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/25d85e5e Branch: refs/heads/ignite-5072-merge Commit: 25d85e5ed16d1332f154dc49c78788a2780092ce Parents: 1c9701d Author: Denis Magda Authored: Thu Apr 27 10:19:40 2017 -0700 Committer: Denis Magda Committed: Thu Apr 27 10:19:40 2017 -0700 -- .../src/main/java/org/apache/ignite/Ignite.java | 3 +- .../java/org/apache/ignite/MemoryMetrics.java | 50 ++--- .../configuration/MemoryConfiguration.java | 8 +-- .../MemoryPolicyConfiguration.java | 6 +- .../ignite/mxbean/MemoryMetricsMXBean.java | 59 ++-- 5 files changed, 69 insertions(+), 57 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/25d85e5e/modules/core/src/main/java/org/apache/ignite/Ignite.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/Ignite.java b/modules/core/src/main/java/org/apache/ignite/Ignite.java index 267f4f2..671efca 100644 --- a/modules/core/src/main/java/org/apache/ignite/Ignite.java +++ b/modules/core/src/main/java/org/apache/ignite/Ignite.java @@ -616,7 +616,8 @@ public interface Ignite extends AutoCloseable { public void resetLostPartitions(Collection cacheNames); /** - * Returns collection {@link MemoryMetrics} objects providing information about memory usage in current Ignite instance. + * Returns a collection of {@link MemoryMetrics} that reflects page memory usage on this Apache Ignite node + * instance. * * @return Collection of {@link MemoryMetrics} */ http://git-wip-us.apache.org/repos/asf/ignite/blob/25d85e5e/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java b/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java index 96eedfe..81f8309 100644 --- a/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java +++ b/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java @@ -22,63 +22,71 @@ import org.apache.ignite.configuration.MemoryPolicyConfiguration; import org.apache.ignite.mxbean.MemoryMetricsMXBean; /** - * An interface to collect metrics about page memory usage on Ignite node. Overall page memory architecture - * is described in {@link MemoryConfiguration} javadoc. + * This interface provides page memory related metrics of a specific Apache Ignite node. The overall page memory + * architecture is covered in {@link MemoryConfiguration}. * - * As multiple page memories may be configured on a single Ignite node; memory metrics will be collected - * for each page memory separately. - * + * Since there are can be several memory regions configured with {@link MemoryPolicyConfiguration} on an individual + * Apache Ignite node, the metrics for every region will be collected and obtained separately. * - * There are two ways to access metrics on local node. + * There are two ways to get the metrics of an Apache Ignite node. * * - * Firstly, collection of metrics can be obtained through {@link Ignite#memoryMetrics()} call. - * Please pay attention that this call returns snapshots of memory metrics and not live objects. + * First, a collection of the metrics can be obtained through {@link Ignite#memoryMetrics()} method. Note that + * the method returns memory metrics snapshots rather than just in time memory state. * * - * Secondly, all {@link MemoryMetrics} on local node are exposed through JMX interface. - * See {@link MemoryMetricsMXBean} interface describing information provided about metrics - * and page memory configuration. + * Second, all {@link MemoryMetrics} of a local Apache Ignite node are visible through JMX interface. Refer to + * {@link MemoryMetricsMXBean} for more details. * * * * - * Also users must be aware that using memory metrics has some overhead and for performance reasons is turned off - * by default. - * For turning them on both {@link MemoryPolicyConfiguration#setMetricsEnabled(boolean)} configuration property - * or {@link MemoryMetricsMXBean#enableMetrics()} method of JMX bean can be used. - * + * Memory metrics collection is not a free operation and might affect performance of an application. This is the reason + * why the metrics are turned off by default. To enable the collectio
ignite git commit: fixed memory policies example
Repository: ignite Updated Branches: refs/heads/ignite-2.0 e981f1d06 -> c0960598d fixed memory policies example Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c0960598 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c0960598 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c0960598 Branch: refs/heads/ignite-2.0 Commit: c0960598de1aaa4ea4798aa150c9bd764042ae17 Parents: e981f1d Author: Denis Magda Authored: Thu Apr 27 14:10:50 2017 -0700 Committer: Denis Magda Committed: Thu Apr 27 14:10:50 2017 -0700 -- examples/config/example-memory-policies.xml | 6 +++--- .../examples/datagrid/MemoryPoliciesExample.java| 16 .../configuration/MemoryPolicyConfiguration.java| 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/c0960598/examples/config/example-memory-policies.xml -- diff --git a/examples/config/example-memory-policies.xml b/examples/config/example-memory-policies.xml index 86c7502..48a5383 100644 --- a/examples/config/example-memory-policies.xml +++ b/examples/config/example-memory-policies.xml @@ -55,10 +55,10 @@ - + @@ -72,7 +72,7 @@ 'swapFilePath' parameter. --> - + http://git-wip-us.apache.org/repos/asf/ignite/blob/c0960598/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java -- diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java b/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java index 52cda5f..045f88b 100644 --- a/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java @@ -43,11 +43,11 @@ public class MemoryPoliciesExample { /** Name of the default memory policy defined in 'example-memory-policies.xml'. */ public static final String POLICY_DEFAULT = "Default_Region"; -/** Name of the memory policy that creates a memory region limited by 20 MB with eviction enabled */ -public static final String POLICY_20MB_EVICTION = "20MB_Region_Eviction"; +/** Name of the memory policy that creates a memory region limited by 40 MB with eviction enabled */ +public static final String POLICY_40MB_EVICTION = "40MB_Region_Eviction"; /** Name of the memory policy that creates a memory region mapped to a memory-mapped file. */ -public static final String POLICY_15MB_MEMORY_MAPPED_FILE = "15MB_Region_Swapping"; +public static final String POLICY_30MB_MEMORY_MAPPED_FILE = "30MB_Region_Swapping"; /** * Executes example. @@ -66,19 +66,19 @@ public class MemoryPoliciesExample { */ CacheConfiguration firstCacheCfg = new CacheConfiguration<>("firstCache"); -firstCacheCfg.setMemoryPolicyName(POLICY_20MB_EVICTION); +firstCacheCfg.setMemoryPolicyName(POLICY_40MB_EVICTION); firstCacheCfg.setCacheMode(CacheMode.PARTITIONED); firstCacheCfg.setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL); CacheConfiguration secondCacheCfg = new CacheConfiguration<>("secondCache"); -secondCacheCfg.setMemoryPolicyName(POLICY_20MB_EVICTION); +secondCacheCfg.setMemoryPolicyName(POLICY_40MB_EVICTION); secondCacheCfg.setCacheMode(CacheMode.REPLICATED); secondCacheCfg.setAtomicityMode(CacheAtomicityMode.ATOMIC); IgniteCache firstCache = ignite.createCache(firstCacheCfg); IgniteCache secondCache = ignite.createCache(secondCacheCfg); -System.out.println(">>> Started two caches bound to '" + POLICY_20MB_EVICTION + "' memory region."); +System.out.println(">>> Started two caches bound to '" + POLICY_40MB_EVICTION + "' memory region."); /** * Preparing a configuration for a cache that will be bound to the memory region defined by @@ -86,11 +86,11 @@ public class MemoryPoliciesExample { */ CacheConfiguration thirdCacheCfg = new CacheConfiguration<>("thirdCache"); -thirdCacheCfg.setMemor
svn commit: r1792960 - in /ignite/site/trunk: features/computegrid.html features/messaging.html features/servicegrid.html features/streaming.html index.html
Author: dmagda Date: Thu Apr 27 21:29:19 2017 New Revision: 1792960 URL: http://svn.apache.org/viewvc?rev=1792960&view=rev Log: removed incubator references Modified: ignite/site/trunk/features/computegrid.html ignite/site/trunk/features/messaging.html ignite/site/trunk/features/servicegrid.html ignite/site/trunk/features/streaming.html ignite/site/trunk/index.html Modified: ignite/site/trunk/features/computegrid.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/computegrid.html?rev=1792960&r1=1792959&r2=1792960&view=diff == --- ignite/site/trunk/features/computegrid.html (original) +++ ignite/site/trunk/features/computegrid.html Thu Apr 27 21:29:19 2017 @@ -136,8 +136,8 @@ under the License. GitHub Examples: -Also see https://github.com/apache/incubator-ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/computegrid"; target="github">Java 7 examples -and https://github.com/apache/incubator-ignite/tree/master/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid"; target="github">Java 8 examples available on GitHub. +Also see https://github.com/apache/ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/computegrid"; target="github">Java 7 examples +and https://github.com/apache/ignite/tree/master/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid"; target="github">Java 8 examples available on GitHub. Modified: ignite/site/trunk/features/messaging.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/messaging.html?rev=1792960&r1=1792959&r2=1792960&view=diff == --- ignite/site/trunk/features/messaging.html (original) +++ ignite/site/trunk/features/messaging.html Thu Apr 27 21:29:19 2017 @@ -167,7 +167,7 @@ under the License. GitHub Examples: -Also see https://github.com/apache/incubator-ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/messaging"; target="github">messaging examples +Also see https://github.com/apache/ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/messaging"; target="github">messaging examples available on GitHub. Modified: ignite/site/trunk/features/servicegrid.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/servicegrid.html?rev=1792960&r1=1792959&r2=1792960&view=diff == --- ignite/site/trunk/features/servicegrid.html (original) +++ ignite/site/trunk/features/servicegrid.html Thu Apr 27 21:29:19 2017 @@ -120,7 +120,7 @@ under the License. GitHub Examples: -Also see https://github.com/apache/incubator-ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/servicegrid"; target="github">service grid examples +Also see https://github.com/apache/ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/servicegrid"; target="github">service grid examples available on GitHub. Modified: ignite/site/trunk/features/streaming.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/streaming.html?rev=1792960&r1=1792959&r2=1792960&view=diff == --- ignite/site/trunk/features/streaming.html (original) +++ ignite/site/trunk/features/streaming.html Thu Apr 27 21:29:19 2017 @@ -154,9 +154,9 @@ under the License. GitHub Examples: -Also see https://github.com/apache/incubator-ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheContinuousQueryExample.java"; target="github">continuous queries, -https://github.com/apache/incubator-ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/streaming/wordcount"; target="github">word count, -and https://github.com/apache/incubator-ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/streaming"; target="github">other streaming examples available on GitHub. +Also see https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheContinuousQueryExample.java"; target="github">continuous queries, +https://githu
svn commit: r1792967 - /ignite/site/trunk/features/deploy.html
Author: dmagda Date: Thu Apr 27 23:09:33 2017 New Revision: 1792967 URL: http://svn.apache.org/viewvc?rev=1792967&view=rev Log: fixed broken links Modified: ignite/site/trunk/features/deploy.html Modified: ignite/site/trunk/features/deploy.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/deploy.html?rev=1792967&r1=1792966&r2=1792967&view=diff == --- ignite/site/trunk/features/deploy.html (original) +++ ignite/site/trunk/features/deploy.html Thu Apr 27 23:09:33 2017 @@ -171,9 +171,9 @@ under the License. https://jclouds.apache.org/reference/providers/"; target="_blank" class="text-nowrap">existing cloud providers. -http://apacheignite.readme.io/docs/aws-config"; target="docs">Amazon AWS Integration -http://apacheignite.readme.io/docs/gce-configuration"; target="docs">Google Cloud Integration -http://apacheignite.readme.io/docs/generic-cloud-configuration"; target="docs">Apache JClouds Integration +https://apacheignite-mix.readme.io/docs/amazon-aws"; target="docs">Amazon AWS Integration +https://apacheignite-mix.readme.io/docs/google-compute-engine"; target="docs">Google Cloud Integration +https://apacheignite-mix.readme.io/docs/jclouds"; target="docs">Apache JClouds Integration @@ -206,7 +206,7 @@ under the License. -https://apacheignite.readme.io/docs/osgi-starting-inside-a-container"; target="docs">Docs for this feature +https://apacheignite-mix.readme.io/docs/installation-in-apache-karaf"; target="docs">Docs for this feature
ignite git commit: Renamed Page Memory to Ignite Virtual Memory
Repository: ignite Updated Branches: refs/heads/ignite-5375 f027c00b1 -> 4a1571aae Renamed Page Memory to Ignite Virtual Memory Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/4a1571aa Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/4a1571aa Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/4a1571aa Branch: refs/heads/ignite-5375 Commit: 4a1571aae72f198ebf543f411f868c409a45217f Parents: f027c00 Author: Denis Magda Authored: Thu Jun 8 14:50:53 2017 -0700 Committer: Denis Magda Committed: Thu Jun 8 14:50:53 2017 -0700 -- .../examples/datagrid/MemoryPoliciesExample.java | 2 +- .../java/org/apache/ignite/MemoryMetrics.java | 8 +--- .../org/apache/ignite/PersistenceMetrics.java | 18 +++--- .../ignite/configuration/IgniteConfiguration.java | 6 +++--- .../ignite/configuration/MemoryConfiguration.java | 8 .../configuration/MemoryPolicyConfiguration.java | 4 ++-- .../PersistentStoreConfiguration.java | 2 +- 7 files changed, 27 insertions(+), 21 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/4a1571aa/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java -- diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java b/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java index 045f88b..f73e65d 100644 --- a/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/MemoryPoliciesExample.java @@ -29,7 +29,7 @@ import org.apache.ignite.configuration.MemoryPolicyConfiguration; import org.apache.ignite.examples.ExampleNodeStartup; /** - * This example demonstrates how to tweak particular settings of Apache Ignite page memory using + * This example demonstrates how to tweak particular settings of Apache Ignite Virtual Memory using * {@link MemoryConfiguration} and set up several memory policies for different caches with * {@link MemoryPolicyConfiguration}. * http://git-wip-us.apache.org/repos/asf/ignite/blob/4a1571aa/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java b/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java index 21dad20..eb4d16c 100644 --- a/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java +++ b/modules/core/src/main/java/org/apache/ignite/MemoryMetrics.java @@ -22,11 +22,13 @@ import org.apache.ignite.configuration.MemoryPolicyConfiguration; import org.apache.ignite.mxbean.MemoryMetricsMXBean; /** - * This interface provides page memory related metrics of a specific Apache Ignite node. The overall page memory - * architecture is covered in {@link MemoryConfiguration}. + * This interface provides Ignite Virtual Memory related metrics of a specific Apache Ignite node. + * The overall virtual memory architecture is covered in {@link MemoryConfiguration}. * * Since there are can be several memory regions configured with {@link MemoryPolicyConfiguration} on an individual - * Apache Ignite node, the metrics for every region will be collected and obtained separately. + * Apache Ignite node, the metrics for every region will be collected and obtained separately. In addition, some + * metrics of this interface are accumulated and provided only when Ignite Persistent Store is enabled and used as a + * secondary storage by the virtual memory. * * There are two ways to get the metrics of an Apache Ignite node. * http://git-wip-us.apache.org/repos/asf/ignite/blob/4a1571aa/modules/core/src/main/java/org/apache/ignite/PersistenceMetrics.java -- diff --git a/modules/core/src/main/java/org/apache/ignite/PersistenceMetrics.java b/modules/core/src/main/java/org/apache/ignite/PersistenceMetrics.java index 3f00b01..2b2256a 100644 --- a/modules/core/src/main/java/org/apache/ignite/PersistenceMetrics.java +++ b/modules/core/src/main/java/org/apache/ignite/PersistenceMetrics.java @@ -19,15 +19,17 @@ package org.apache.ignite; import org.apache.ignite.configuration.PersistentStoreConfiguration; /** - * + * This interface provides Ignite Persistent Store related metrics that is used as a secondary storage by + * Ignite Virtual Memory. */ public interface PersistenceMetrics { /** * Gets the average number of WAL records per second written during the last time interval. * * The length of time interval is configured via {@link Persis
svn commit: r1798877 - in /ignite/site/trunk: index.html news.html
Author: dmagda Date: Thu Jun 15 20:48:45 2017 New Revision: 1798877 URL: http://svn.apache.org/viewvc?rev=1798877&view=rev Log: updated news Modified: ignite/site/trunk/index.html ignite/site/trunk/news.html Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1798877&r1=1798876&r2=1798877&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Thu Jun 15 20:48:45 2017 @@ -141,9 +141,9 @@ under the License. Meetup, Amsterdam, Netherlands, Speaker - Denis Magda, Jun 20, 2017 -https://spark-summit.org/2017/events/apache-spark-and-apache-ignite-this-is-where-fast-data-meets-the-iot/"; target="_blank"> -Apache Ignite and Apache Spark: This is Where Fast Data Meets the IoT -Spark Summit 2017, San Francisco, Speaker - Denis Magda, Jun 07, 2017 + +Apache Ignite Community Meetup - An Overview of Donated Ignite Persistent Store Feature +Meetup, Speaker - Denis Magda, Jun 16, 2017 @8:00am https://dzone.com/articles/getting-started-with-apachereg-ignite-part-2"; target="_blank"> Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1798877&r1=1798876&r2=1798877&view=diff == Binary files - no diff available.
svn commit: r1798885 - in /ignite/site/trunk: css/all.css includes/header.html index-3.html scss/ignite.scss
Author: dmagda Date: Thu Jun 15 22:12:30 2017 New Revision: 1798885 URL: http://svn.apache.org/viewvc?rev=1798885&view=rev Log: new main page for ignite Added: ignite/site/trunk/index-3.html (with props) Modified: ignite/site/trunk/css/all.css ignite/site/trunk/includes/header.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1798885&r1=1798884&r2=1798885&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Thu Jun 15 22:12:30 2017 @@ -6705,7 +6705,7 @@ button.close { display: block; } -#nav .navbar-nav > li, #nav .navbar-nav > li > a, .carousel .buttons li, #footer .logo, #footer .security li, .social-networks li, .subnav li, #top-nav .navbar-nav > li, #top-nav .navbar-nav > li > a { +#nav .navbar-nav > li, #nav .navbar-nav > li > a, .carousel .buttons li, #footer .logo, #footer .security li, .social-networks li, .subnav li, #top-nav .navbar-nav > li, #top-nav .navbar-nav > li > a, .main-banner .buttons li { display: inline-block; vertical-align: top; } @@ -8017,7 +8017,6 @@ table.overview > tbody > tr .border-righ table.formatted { border: 1px solid #ddd !important; - width: 98% !important; margin-bottom: 40px; position: relative; } @@ -8336,13 +8335,10 @@ tr.sub-heading > th { color: #fff; background-color: #c51017; border-color: #ad0e14; - padding-bottom: 5px; - padding-top: 5px; - padding-left: 14px; position: relative; - top: -10px; - padding-right: 14px; - font-size: 16px; + top: -8px; + padding: 5px 14px 5px 14px; + font-size: 18px; border-radius: 5px; } .btn-download:hover { @@ -8548,6 +8544,158 @@ a.github-icon { line-height: 1.6em; } +.main-banner { + min-height: 597px; + padding: 114px 0 0 0; + font-size: 24px; + line-height: 24px; + color: #fff; + position: relative; + z-index: 9; + background: url(../images/bg-carousel.jpg) no-repeat center/cover; + -webkit-transition: all, 0.2s, linear; + -o-transition: all, 0.2s, linear; + transition: all, 0.2s, linear; +} +@media (max-width: 992px) { + .main-banner { +min-height: 470px; +padding: 100px 0 50px; + } +} +@media (max-width: 767px) { + .main-banner { +min-height: 300px; +font-size: 14px; +line-height: 17px; +padding: 100px 0 20px; + } +} +.main-banner .banner { + padding: 50px 0 0; +} +@media (max-width: 992px) { + .main-banner .banner { +padding: 20px 0 0; + } +} +.main-banner h2 { + font: 40px/40px "harabara", Arial, sans-serif; + letter-spacing: 2.3px; + margin: 0 0 15px; + text-align: center; +} +@media (max-width: 992px) { + .main-banner h2 { +font-size: 70px; +line-height: 70px; + } +} +@media (max-width: 767px) { + .main-banner h2 { +font-size: 42px; +line-height: 42px; +margin: 0 0 5px; + } +} +.main-banner ul.banner-list { + padding-left: 20px; + list-style-type: square; + color: red; +} +.main-banner ul.banner-list > li { + font-size: 24px; +} +.main-banner ul.banner-list > li > p { + padding-top: 0px; + color: #fff; +} +.main-banner span { + font-size: 24px; +} +.main-banner p { + padding-top: 10px; + font-size: 24px; + color: #fff; +} +.main-banner .buttons { + margin: 0 0 12px; + letter-spacing: -4px; +} +@media (max-width: 767px) { + .main-banner .buttons { +margin: 0; + } +} +.main-banner .buttons li { + letter-spacing: normal; + margin: 0 10px 10px; +} + +.slogan { + background: #d7d7d7; + height: 75px; + text-align: center; +} +.slogan h2 { + padding-top: 30px; + font-size: 28px; +} + +.feature-box { + padding-right: 20px; + padding-left: 0px; +} +.feature-box h2 { + text-align: center !important; +} +.feature-box p { + text-align: center; +} +.feature-box:last-child { + padding-right: 20px; + margin-right: 0px; +} + +.cross-mark { + color: red; +} + +.check-mark { + color: green; +} + +.social-media { + text-align: left; + border-radius: 6px; + padding: 12px 12px 0px 12px; +} +.social-media h4 { + font-size: 16px; + margin-bottom: 12px; + border-bottom: 1px solid black; +} +.social-media ul { + list-style-type: none; + padding-left: 0px; +} +.social-media ul li { + padding-bottom: 15px; + font-size: 15px; + line-height: 1.2em; + color: #333; +} +.social-media ul li a { + color: #333; +} +.social-media ul li a:hover { + text-decoration: underline; +} +.social-media p { + font-size: 15px; + margin-bottom: 5px; +} + .btn-transparent { color: #fff; background-color: transparent; Modified: ignite/site/trunk/includes/header.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/header.html?rev=1798885&r1=1798884&r2=1798885&view=diff ===
svn commit: r1798886 - /ignite/site/trunk/images/main-ignite-diagram-memory-disk.png
Author: dmagda Date: Thu Jun 15 22:12:42 2017 New Revision: 1798886 URL: http://svn.apache.org/viewvc?rev=1798886&view=rev Log: new main page for ignite Added: ignite/site/trunk/images/main-ignite-diagram-memory-disk.png (with props) Added: ignite/site/trunk/images/main-ignite-diagram-memory-disk.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/main-ignite-diagram-memory-disk.png?rev=1798886&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/main-ignite-diagram-memory-disk.png -- svn:mime-type = application/octet-stream
ignite git commit: Improved example
Repository: ignite Updated Branches: refs/heads/ignite-5267 168577d8e -> accdea0c0 Improved example Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/accdea0c Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/accdea0c Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/accdea0c Branch: refs/heads/ignite-5267 Commit: accdea0c054c781f99859942d679b97e6d4cbff7 Parents: 168577d Author: Denis Magda Authored: Thu Jun 15 22:39:51 2017 -0700 Committer: Denis Magda Committed: Thu Jun 15 22:39:51 2017 -0700 -- examples/config/persistentstore/example-persistent-store.xml | 4 .../ignite/examples/persistentstore/PersistentStoreExample.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/accdea0c/examples/config/persistentstore/example-persistent-store.xml -- diff --git a/examples/config/persistentstore/example-persistent-store.xml b/examples/config/persistentstore/example-persistent-store.xml index 955ef8c..a9d8fc3 100644 --- a/examples/config/persistentstore/example-persistent-store.xml +++ b/examples/config/persistentstore/example-persistent-store.xml @@ -50,6 +50,10 @@ + + + + http://git-wip-us.apache.org/repos/asf/ignite/blob/accdea0c/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java -- diff --git a/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java b/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java index 2e066ef..7f355b0 100644 --- a/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/persistentstore/PersistentStoreExample.java @@ -44,7 +44,7 @@ import org.apache.ignite.examples.model.Organization; */ public class PersistentStoreExample { /** */ -private static final boolean UPDATE = true; +private static final boolean UPDATE = false; /** * @param args Program arguments, ignored.
svn commit: r1799385 - in /ignite/site/trunk: blogs.html images/main-ignite-diagram-cluster.png images/main-ignite-diagram-memory-disk-trimmed.png index-4.html index.html news.html
Author: dmagda Date: Wed Jun 21 03:59:24 2017 New Revision: 1799385 URL: http://svn.apache.org/viewvc?rev=1799385&view=rev Log: working on the layout of the main page Added: ignite/site/trunk/images/main-ignite-diagram-cluster.png (with props) ignite/site/trunk/images/main-ignite-diagram-memory-disk-trimmed.png (with props) ignite/site/trunk/index-4.html (with props) Modified: ignite/site/trunk/blogs.html ignite/site/trunk/index.html ignite/site/trunk/news.html Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1799385&r1=1799384&r2=1799385&view=diff == Binary files - no diff available. Added: ignite/site/trunk/images/main-ignite-diagram-cluster.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/main-ignite-diagram-cluster.png?rev=1799385&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/main-ignite-diagram-cluster.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/main-ignite-diagram-memory-disk-trimmed.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/main-ignite-diagram-memory-disk-trimmed.png?rev=1799385&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/main-ignite-diagram-memory-disk-trimmed.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/index-4.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index-4.html?rev=1799385&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/index-4.html -- svn:mime-type = application/octet-stream Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1799385&r1=1799384&r2=1799385&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Wed Jun 21 03:59:24 2017 @@ -141,6 +141,11 @@ under the License. Meetup, Amsterdam, Netherlands, Speaker - Denis Magda, Jun 20, 2017 +https://dzone.com/articles/getting-started-with-apachereg-ignite-part-3"; target="_blank"> +Getting Started With Apache Ignite (Part 3) +Blog, Akmal Chaudhri, Jun 08, 2017 + + Apache Ignite Community Meetup - An Overview of Donated Ignite Persistent Store Feature Meetup, Speaker - Denis Magda, Jun 16, 2017 @8:00am @@ -150,11 +155,6 @@ under the License. Getting Started With Apache Ignite (Part 2) Blog, Akmal Chaudhri, Jun 04, 2017 - -https://dzone.com/articles/adonet-as-ignitenet-cache-store"; target="_blank"> -ADO.NET as Ignite.NET Cache Store -Blog, Pavel Tupitsyn, May 31, 2017 - Read more Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1799385&r1=1799384&r2=1799385&view=diff == Binary files - no diff available.
svn commit: r1800195 - in /ignite/site/trunk: css/all.css index-5.html scss/ignite.scss
Author: dmagda Date: Wed Jun 28 18:51:43 2017 New Revision: 1800195 URL: http://svn.apache.org/viewvc?rev=1800195&view=rev Log: working on the new paeg Added: ignite/site/trunk/index-5.html (with props) Modified: ignite/site/trunk/css/all.css ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1800195&r1=1800194&r2=1800195&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Wed Jun 28 18:51:43 2017 @@ -7711,7 +7711,7 @@ sub { div#banner1 p { padding-bottom: 40px; - font-size: 24px; + font-size: 20px; } #documentation table > tbody > tr > th, @@ -8545,7 +8545,7 @@ a.github-icon { } .main-banner { - min-height: 597px; + min-height: 557px; padding: 114px 0 0 0; font-size: 24px; line-height: 24px; @@ -8573,6 +8573,7 @@ a.github-icon { } .main-banner .banner { padding: 50px 0 0; + margin-left: 25px; } @media (max-width: 992px) { .main-banner .banner { @@ -8580,10 +8581,10 @@ a.github-icon { } } .main-banner h2 { - font: 40px/40px "harabara", Arial, sans-serif; + font: 27px/27px "harabara", Arial, sans-serif; letter-spacing: 2.3px; margin: 0 0 15px; - text-align: center; + text-align: left; } @media (max-width: 992px) { .main-banner h2 { @@ -8598,20 +8599,24 @@ a.github-icon { margin: 0 0 5px; } } +.main-banner h2 > span { + font: 27px/27px "harabara", Arial, sans-serif; +} .main-banner ul.banner-list { - padding-left: 20px; + padding-left: 5px; list-style-type: square; color: red; -} -.main-banner ul.banner-list > li { - font-size: 24px; + margin-top: 5px; } .main-banner ul.banner-list > li > p { padding-top: 0px; color: #fff; + margin-bottom: 10px; + font-size: 22px; + padding-left: 10px; } .main-banner span { - font-size: 24px; + font-size: 22px; } .main-banner p { padding-top: 10px; @@ -8633,13 +8638,16 @@ a.github-icon { } .slogan { - background: #d7d7d7; height: 75px; text-align: center; + margin-top: 20px; + margin-bottom: 20px; } .slogan h2 { padding-top: 30px; - font-size: 28px; + font-size: 25px; + font-weight: 300; + letter-spacing: 5px; } .feature-box { @@ -8675,9 +8683,14 @@ a.github-icon { margin-bottom: 12px; border-bottom: 1px solid black; } +.social-media h3 { + margin-bottom: 12px; + border-bottom: 1px solid black; +} .social-media ul { list-style-type: none; padding-left: 0px; + padding-right: 20px; } .social-media ul li { padding-bottom: 15px; @@ -8696,6 +8709,30 @@ a.github-icon { margin-bottom: 5px; } +.feature-icon { + color: #d7d7d7; + text-align: center; + display: block !important; + padding-top: 15px; + margin: auto; + width: 80px; + height: 80px; +} +.feature-icon:hover { + background: #c51017; +} + +hr { + margin-top: 30px; + margin-bottom: 30px; + border: 0; + border-top: 1px solid #d7d7d7; + border-bottom: 1px solid #d7d7d7; + max-width: 250px; + height: 5px; + text-align: center; +} + .btn-transparent { color: #fff; background-color: transparent; Added: ignite/site/trunk/index-5.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index-5.html?rev=1800195&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/index-5.html -- svn:mime-type = application/octet-stream Modified: ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/ignite/site/trunk/scss/ignite.scss?rev=1800195&r1=1800194&r2=1800195&view=diff == --- ignite/site/trunk/scss/ignite.scss (original) +++ ignite/site/trunk/scss/ignite.scss Wed Jun 28 18:51:43 2017 @@ -132,7 +132,7 @@ sub { top: 0.5ex; } div#banner1 { & p { padding-bottom: 40px; -font-size: 24px; +font-size: 20px; } } @@ -1021,7 +1021,7 @@ a.github-icon { } .main-banner { -min-height: 597px; +min-height: 557px; padding: 114px 0 0 0; font-size: 24px; line-height: 24px; @@ -1044,6 +1044,7 @@ a.github-icon { .banner { padding: 50px 0 0; +margin-left: 25px; @media (max-width: $tablet) { padding: 20px 0 0; @@ -1051,10 +1052,10 @@ a.github-icon { } h2 { -font: 40px/40px $alt-font-harabara; +font: 27px/27px $alt-font-harabara; letter-spacing: 2.3px; margin: 0 0 15px; -text-align: center; +text-align: left; @media (max-width: $tablet) { font-size: 70px; line-height: 70px; @@ -1064,25 +
svn commit: r1800340 - in /ignite/site/trunk: css/all.css index-5.html scss/ignite.scss
Author: dmagda Date: Thu Jun 29 23:04:46 2017 New Revision: 1800340 URL: http://svn.apache.org/viewvc?rev=1800340&view=rev Log: applied changes Modified: ignite/site/trunk/css/all.css ignite/site/trunk/index-5.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1800340&r1=1800339&r2=1800340&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Thu Jun 29 23:04:46 2017 @@ -8545,7 +8545,7 @@ a.github-icon { } .main-banner { - min-height: 557px; + min-height: 520px; padding: 114px 0 0 0; font-size: 24px; line-height: 24px; @@ -8637,13 +8637,13 @@ a.github-icon { margin: 0 10px 10px; } -.slogan { +.section-heading { height: 75px; text-align: center; margin-top: 20px; margin-bottom: 20px; } -.slogan h2 { +.section-heading h2 { padding-top: 30px; font-size: 25px; font-weight: 300; @@ -8656,6 +8656,7 @@ a.github-icon { } .feature-box h2 { text-align: center !important; + font-weight: 400; } .feature-box p { text-align: center; @@ -8686,6 +8687,7 @@ a.github-icon { .social-media h3 { margin-bottom: 12px; border-bottom: 1px solid black; + font-weight: 400; } .social-media ul { list-style-type: none; @@ -8733,6 +8735,23 @@ hr { text-align: center; } +.main-image { + position: relative; + /* Declared position allows for location changes */ + top: -15px; + /* Moves the image 2px closer to the top of the page */ +} + +.learn-more { + border: white solid 1px; + width: 250px; + text-align: center; + font-weight: 400; + font-size: 18px !important; + padding-bottom: 10px; + margin-top: 20px; +} + .btn-transparent { color: #fff; background-color: transparent; Modified: ignite/site/trunk/index-5.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index-5.html?rev=1800340&r1=1800339&r2=1800340&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/ignite/site/trunk/scss/ignite.scss?rev=1800340&r1=1800339&r2=1800340&view=diff == --- ignite/site/trunk/scss/ignite.scss (original) +++ ignite/site/trunk/scss/ignite.scss Thu Jun 29 23:04:46 2017 @@ -1021,7 +1021,7 @@ a.github-icon { } .main-banner { -min-height: 557px; +min-height: 520px; padding: 114px 0 0 0; font-size: 24px; line-height: 24px; @@ -1113,7 +1113,7 @@ a.github-icon { } } -.slogan { +.section-heading { height: 75px; text-align: center; margin-top: 20px; @@ -1133,6 +1133,7 @@ a.github-icon { h2 { text-align: center !important; +font-weight: 400; } p { text-align: center; @@ -1167,6 +1168,7 @@ a.github-icon { h3 { margin-bottom: 12px; border-bottom: 1px solid black; +font-weight: 400; } ul { list-style-type: none; @@ -1217,4 +1219,19 @@ hr { max-width: 250px; height: 5px; text-align: center; -} \ No newline at end of file +} + +.main-image { +position: relative; /* Declared position allows for location changes */ +top: -15px; /* Moves the image 2px closer to the top of the page */ +} + +.learn-more { +border: white solid 1px; +width : 250px; +text-align:center; +font-weight: 400; +font-size: 18px !important; +padding-bottom: 10px; +margin-top:20px; +}
svn commit: r1800460 - in /ignite/site/trunk: css/all.css index-5.html scss/ignite.scss
Author: dmagda Date: Fri Jun 30 20:51:44 2017 New Revision: 1800460 URL: http://svn.apache.org/viewvc?rev=1800460&view=rev Log: designing the main page Modified: ignite/site/trunk/css/all.css ignite/site/trunk/index-5.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1800460&r1=1800459&r2=1800460&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Fri Jun 30 20:51:44 2017 @@ -8645,7 +8645,7 @@ a.github-icon { } .section-heading h2 { padding-top: 30px; - font-size: 25px; + font-size: 26px; font-weight: 300; letter-spacing: 5px; } @@ -8736,10 +8736,8 @@ hr { } .main-image { - position: relative; - /* Declared position allows for location changes */ - top: -15px; - /* Moves the image 2px closer to the top of the page */ + padding-top: 10px; + padding-left: 35px; } .learn-more { @@ -8752,6 +8750,56 @@ hr { margin-top: 20px; } +table.comparison-matrix { + border: 1px solid #ddd !important; + margin-bottom: 40px; + position: relative; +} +table.comparison-matrix > thead > tr { + background: #c51017; + border: 1px solid #c51017; +} +table.comparison-matrix > thead > tr > th { + color: white; + font-size: 20px !important; + font-weight: bold; + border: none !important; +} +table.comparison-matrix > thead > tr .left { + padding-left: 20px !important; +} +table.comparison-matrix > tbody > tr:nth-child(even) { + background: #f5f5f5; +} +table.comparison-matrix > tbody > tr > td { + border: none !important; +} +table.comparison-matrix > tbody > tr > td > p { + margin-top: 8px; + margin-bottom: 8px; +} +@media (max-width: 767px) { + table.comparison-matrix > tbody > tr > td > p { +margin-top: 0px; +margin-right: 5px; +padding-right: 5px; + } +} +@media (max-width: 767px) { + table.comparison-matrix > tbody > tr > td { +white-space: normal !important; + } +} +table.comparison-matrix > tbody > tr .left { + font-weight: bold; + padding-left: 20px !important; +} +@media (max-width: 767px) { + table.comparison-matrix > tbody { +border: none !important; + } +} + .btn-transparent { color: #fff; background-color: transparent; Modified: ignite/site/trunk/index-5.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index-5.html?rev=1800460&r1=1800459&r2=1800460&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/ignite/site/trunk/scss/ignite.scss?rev=1800460&r1=1800459&r2=1800460&view=diff == --- ignite/site/trunk/scss/ignite.scss (original) +++ ignite/site/trunk/scss/ignite.scss Fri Jun 30 20:51:44 2017 @@ -1121,7 +1121,7 @@ a.github-icon { h2 { padding-top:30px; -font-size: 25px; +font-size: 26px; font-weight: 300; letter-spacing: 5px; } @@ -1222,8 +1222,8 @@ hr { } .main-image { -position: relative; /* Declared position allows for location changes */ -top: -15px; /* Moves the image 2px closer to the top of the page */ +padding-top: 10px; +padding-left: 35px; } .learn-more { @@ -1235,3 +1235,61 @@ hr { padding-bottom: 10px; margin-top:20px; } + +table.comparison-matrix { +border: 1px solid #ddd !important; +margin-bottom: 40px; +position: relative; + +& > thead > tr { +background: #c51017; +border: 1px solid #c51017; + +& > th { +color: white; +font-size: 20px !important; +font-weight: bold; +border: none !important; +} +& .left { +padding-left: 20px !important; +} +} + +& > tbody { + +& > tr:nth-child(even){ +background: #f5f5f5; +} + +& > tr { + +& > td { +border: none !important; + +& > p { +margin-top :8px; +margin-bottom :8px; +@media (max-width: $mobile) { +margin-top :0px; +margin-right :5px; +padding-right: 5px; +} +} + +@media (max-width: $mobile) { +white-space: normal !important; +} +} + +& .left { +font-weight: bold; +padding-left: 20px !important; +} +} + +@media (max-width: $mobile) { +border: none !important; +} +} +}
svn commit: r1800461 - /ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod_final.png
Author: dmagda Date: Fri Jun 30 20:52:58 2017 New Revision: 1800461 URL: http://svn.apache.org/viewvc?rev=1800461&view=rev Log: designing the main page Added: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod_final.png (with props) Added: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod_final.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod_final.png?rev=1800461&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod_final.png -- svn:mime-type = application/octet-stream
svn commit: r1800477 - in /ignite/site/trunk: css/all.css scss/ignite.scss
Author: dmagda Date: Fri Jun 30 22:20:26 2017 New Revision: 1800477 URL: http://svn.apache.org/viewvc?rev=1800477&view=rev Log: minor fixes Modified: ignite/site/trunk/css/all.css ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1800477&r1=1800476&r2=1800477&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Fri Jun 30 22:20:26 2017 @@ -8573,7 +8573,7 @@ a.github-icon { } .main-banner .banner { padding: 50px 0 0; - margin-left: 25px; + margin-left: 15px; } @media (max-width: 992px) { .main-banner .banner { @@ -8607,6 +8607,7 @@ a.github-icon { list-style-type: square; color: red; margin-top: 5px; + margin-left: 12px; } .main-banner ul.banner-list > li > p { padding-top: 0px; Modified: ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/ignite/site/trunk/scss/ignite.scss?rev=1800477&r1=1800476&r2=1800477&view=diff == --- ignite/site/trunk/scss/ignite.scss (original) +++ ignite/site/trunk/scss/ignite.scss Fri Jun 30 22:20:26 2017 @@ -1044,7 +1044,7 @@ a.github-icon { .banner { padding: 50px 0 0; -margin-left: 25px; +margin-left: 15px; @media (max-width: $tablet) { padding: 20px 0 0; @@ -1076,6 +1076,7 @@ a.github-icon { list-style-type: square; color: red; margin-top: 5px; +margin-left: 12px; & > li {
svn commit: r1800718 - in /ignite/site/trunk: css/all.css images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod1_final.png includes/header-1.html index-5.html scss/ignite.scss
Author: dmagda Date: Mon Jul 3 22:20:27 2017 New Revision: 1800718 URL: http://svn.apache.org/viewvc?rev=1800718&view=rev Log: new version of the main page Added: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod1_final.png (with props) ignite/site/trunk/includes/header-1.html Modified: ignite/site/trunk/css/all.css ignite/site/trunk/index-5.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1800718&r1=1800717&r2=1800718&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Mon Jul 3 22:20:27 2017 @@ -8482,7 +8482,7 @@ section.page-subsection { } a.github-icon { - color: #333; + color: white; } .screencast-center { @@ -8545,7 +8545,7 @@ a.github-icon { } .main-banner { - min-height: 520px; + min-height: 465px; padding: 114px 0 0 0; font-size: 24px; line-height: 24px; @@ -8645,7 +8645,6 @@ a.github-icon { margin-bottom: 20px; } .section-heading h2 { - padding-top: 30px; font-size: 26px; font-weight: 300; letter-spacing: 5px; @@ -8678,7 +8677,8 @@ a.github-icon { .social-media { text-align: left; border-radius: 6px; - padding: 12px 12px 0px 12px; + padding: 0px 12px 0px 12px; + top: -30px; } .social-media h4 { font-size: 16px; @@ -8726,8 +8726,6 @@ a.github-icon { } hr { - margin-top: 30px; - margin-bottom: 30px; border: 0; border-top: 1px solid #d7d7d7; border-bottom: 1px solid #d7d7d7; @@ -8743,7 +8741,7 @@ hr { .learn-more { border: white solid 1px; - width: 250px; + width: 125px; text-align: center; font-weight: 400; font-size: 18px !important; @@ -8755,10 +8753,11 @@ table.comparison-matrix { border: 1px solid #ddd !important; margin-bottom: 40px; position: relative; + top: -30px; } table.comparison-matrix > thead > tr { - background: #c51017; - border: 1px solid #c51017; + background: #E5; + border: 1px solid #E5; } table.comparison-matrix > thead > tr > th { color: white; @@ -8801,6 +8800,22 @@ table.comparison-matrix > tbody > tr .le } } +.github-stats-bar { + background: #E5; + padding-top: 12px; + padding-bottom: 7px; +} + +.download-dropdown { + background-color: #E5; + border-radius: 5px; + padding-top: 5px !important; + padding-bottom: 5px !important; + padding-left: 5px !important; + padding-right: 5px !important; + top: -5px; +} + .btn-transparent { color: #fff; background-color: transparent; Added: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod1_final.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod1_final.png?rev=1800718&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod1_final.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/includes/header-1.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/header-1.html?rev=1800718&view=auto == --- ignite/site/trunk/includes/header-1.html (added) +++ ignite/site/trunk/includes/header-1.html Mon Jul 3 22:20:27 2017 @@ -0,0 +1,184 @@ + + + + + + + + + +Toggle navigation + + + + + + + +http://apache-ignite-users.70518.x6.nabble.com/"; target="_blank"> User Forum +http://stackoverflow.com/questions/tagged/ignite"; target="_blank"> Stack Overflow +https://twitter.com/ApacheIgnite"; target="_blank"> Twitter + News + Blogs + + + + + + + + + + + + + +
svn commit: r1801514 - in /ignite/site/trunk: blogs.html download.html includes/header.html index.html news.html
Author: dmagda Date: Mon Jul 10 18:47:31 2017 New Revision: 1801514 URL: http://svn.apache.org/viewvc?rev=1801514&view=rev Log: reworked community menu Modified: ignite/site/trunk/blogs.html ignite/site/trunk/download.html ignite/site/trunk/includes/header.html ignite/site/trunk/index.html ignite/site/trunk/news.html Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1801514&r1=1801513&r2=1801514&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/download.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/download.html?rev=1801514&r1=1801513&r2=1801514&view=diff == --- ignite/site/trunk/download.html (original) +++ ignite/site/trunk/download.html Mon Jul 10 18:47:31 2017 @@ -207,7 +207,8 @@ under the License. People Events -http://www.meetup.com/Apache-Ignite-London"; target="_blank">Ignite Meetup +https://www.meetup.com/Bay-Area-In-Memory-Computing"; target="_blank">Ignite Bay Area Meetup +http://www.meetup.com/Apache-Ignite-London"; target="_blank">Ignite London Meetup Contribute Start Contributing Modified: ignite/site/trunk/includes/header.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/header.html?rev=1801514&r1=1801513&r2=1801514&view=diff == --- ignite/site/trunk/includes/header.html (original) +++ ignite/site/trunk/includes/header.html Mon Jul 10 18:47:31 2017 @@ -137,7 +137,8 @@ People Events -http://www.meetup.com/Apache-Ignite-London"; target="_blank">Ignite Meetup +https://www.meetup.com/Bay-Area-In-Memory-Computing"; target="_blank">Ignite Bay Area Meetup +http://www.meetup.com/Apache-Ignite-London"; target="_blank">Ignite London Meetup Contribute Start Contributing Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1801514&r1=1801513&r2=1801514&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Mon Jul 10 18:47:31 2017 @@ -136,6 +136,16 @@ under the License. News & Events +https://dzone.com/articles/getting-started-with-apachereg-ignite-part-5"; target="_blank"> +Getting Started With Apache Ignite (Part 5) +Blog, Akmal Chaudhri, Jul 10, 2017 + + +https://dzone.com/articles/getting-started-with-apachereg-ignite-part-4"; target="_blank"> +Getting Started With Apache Ignite (Part 4) +Blog, Akmal Chaudhri, Jul 03, 2017 + + Turbocharge your SQL queries in-memory with Apache® Ignite⢠Meetup, Amsterdam, Netherlands, Speaker - Denis Magda, Jun 20, 2017 @@ -145,16 +155,11 @@ under the License. Getting Started With Apache Ignite (Part 3) Blog, Akmal Chaudhri, Jun 08, 2017 - - -Apache Ignite Community Meetup - An Overview of Donated Ignite Persistent Store Feature -Meetup, Speaker - Denis Magda, Jun 16, 2017 @8:00am - - -https://dzone.com/articles/getting
svn commit: r1801552 - in /ignite/site/trunk: blogs.html css/all.css download.html includes/footer.html includes/header-1.html includes/scripts.html index-5.html index.html news.html scss/ignite.scss
Author: dmagda Date: Tue Jul 11 00:52:52 2017 New Revision: 1801552 URL: http://svn.apache.org/viewvc?rev=1801552&view=rev Log: improving the main page Modified: ignite/site/trunk/blogs.html ignite/site/trunk/css/all.css ignite/site/trunk/download.html ignite/site/trunk/includes/footer.html ignite/site/trunk/includes/header-1.html ignite/site/trunk/includes/scripts.html ignite/site/trunk/index-5.html ignite/site/trunk/index.html ignite/site/trunk/news.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1801552&r1=1801551&r2=1801552&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1801552&r1=1801551&r2=1801552&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Tue Jul 11 00:52:52 2017 @@ -7821,6 +7821,7 @@ div#banner1 p { #header { background: rgba(54, 54, 54, 0.95); top: 0; + padding-top: 0px; } section.page-section { @@ -8350,7 +8351,7 @@ tr.sub-heading > th { .github-image { font-size: 1.7em !important; position: relative; - top: -5px; + top: -3px; } #top-nav { @@ -8656,10 +8657,12 @@ a.github-icon { } .feature-box h2 { text-align: center !important; - font-weight: 400; + font-weight: 300; } .feature-box p { text-align: center; + Line-height: 24px; + font-weight: 300 !important; } .feature-box:last-child { padding-right: 20px; @@ -8716,13 +8719,18 @@ a.github-icon { color: #d7d7d7; text-align: center; display: block !important; - padding-top: 15px; + padding-top: 10px; + padding-bottom: 10px; margin: auto; - width: 80px; - height: 80px; + width: 70px; + height: 70px; } .feature-icon:hover { - background: #c51017; + background: #E5; +} + +.circular-feature-icon { + border-radius: 50%; } hr { @@ -8750,7 +8758,7 @@ hr { } table.comparison-matrix { - border: 1px solid #ddd !important; + border: none !important; margin-bottom: 40px; position: relative; top: -30px; @@ -8768,8 +8776,8 @@ table.comparison-matrix > thead > tr > t table.comparison-matrix > thead > tr .left { padding-left: 20px !important; } -table.comparison-matrix > tbody > tr:nth-child(even) { - background: #f5f5f5; +table.comparison-matrix > tbody > tr { + border-bottom: 1px solid #d7d7d7; } table.comparison-matrix > tbody > tr > td { border: none !important; @@ -8806,7 +8814,7 @@ table.comparison-matrix > tbody > tr .le padding-bottom: 7px; } -.download-dropdown { +.download-button-dropdown { background-color: #E5; border-radius: 5px; padding-top: 5px !important; @@ -8814,6 +8822,97 @@ table.comparison-matrix > tbody > tr .le padding-left: 5px !important; padding-right: 5px !important; top: -5px; + transition: background-color 0.2s linear; + -moz-transition: background-color 0.2s linear; + -webkit-transition: background-color 0.2s linear; + -ms-transition: background-color 0.2s linear; + -o-transition: background-color 0.2s linear; +} +.download-button-dropdown:hover { + background-color: #941d15 !important; + color: white !important; +} +.download-button-dropdown:active { + background-color: #941d15; + -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.55); + -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.55); + -ms-transition: inset 0 0 3px rgba(0, 0, 0, 0.55); + -o-transition: inset 0 0 3px rgba(0, 0, 0, 0.55); + box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.55); +} + +.news-announcement { + background: #ffab40; + height: 24px; +} +.news-announcement p { + font-size: 14px; + text-align: center; + color: #393939; + margin-bottom: 0px; + padding-top: 5px; +} +.news-announcement p a { + color: #393939; + text-decoration: underline; +} + +a.social-media-bar { + color: #24292e; + position: relative; + top: -8px; + background-color: #eff3f6; + margin-right: 1px; + padding: 3px 10px 3px 10px !important; + border-width: 1px; + border-style: solid; + border-color: #d1d2d3; + border-image: initial; + border-radius: 0.25em; +} +a.social-media-bar span { + vertical-align: 2px; + font-size: 12px; + font-weight: 600; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; +} +a.social-media-bar:hover { + background-color: #e6ebf1; + border-color: #afb1b2; +} + +.social-media-icon { + font-size: 16px !important; +} + +p.timeline-Tweet-text { + font-size: 15px !important; +} + +a.timeline-Tweet { + /* Buttonish */ + display: inline-block; + padding: 6px 12px 6px 30px; + margin: 10px 0; + border: #ccc
svn commit: r1801553 - /ignite/site/trunk/images/
Author: dmagda Date: Tue Jul 11 00:53:14 2017 New Revision: 1801553 URL: http://svn.apache.org/viewvc?rev=1801553&view=rev Log: improving the main page Added: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod2_final.png (with props) ignite/site/trunk/images/acid_transactions_icon.svg ignite/site/trunk/images/collocated_processing_icon.svg ignite/site/trunk/images/distributed_sql_icon.svg ignite/site/trunk/images/durable_memory_icon.svg ignite/site/trunk/images/ignite-logo-white.svg ignite/site/trunk/images/key_value_icon.svg ignite/site/trunk/images/machine_learning_icon.svg Added: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod2_final.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod2_final.png?rev=1801553&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/Main-Ignite-Diagram-Memory-And-Disk-Trimmed_mod2_final.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/acid_transactions_icon.svg URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/acid_transactions_icon.svg?rev=1801553&view=auto == --- ignite/site/trunk/images/acid_transactions_icon.svg (added) +++ ignite/site/trunk/images/acid_transactions_icon.svg Tue Jul 11 00:53:14 2017 @@ -0,0 +1,17 @@ + + +http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px" +viewBox="0 0 80 80" style="enable-background:new 0 0 80 80;" xml:space="preserve"> + + .st0{fill:#D7D7D7;} + + + + + + + Added: ignite/site/trunk/images/collocated_processing_icon.svg URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/collocated_processing_icon.svg?rev=1801553&view=auto == --- ignite/site/trunk/images/collocated_processing_icon.svg (added) +++ ignite/site/trunk/images/collocated_processing_icon.svg Tue Jul 11 00:53:14 2017 @@ -0,0 +1,15 @@ + + +http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px" +viewBox="0 0 80 80" style="enable-background:new 0 0 80 80;" xml:space="preserve"> + + .st0{fill:#D7D7D7;} + + + Added: ignite/site/trunk/images/distributed_sql_icon.svg URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/distributed_sql_icon.svg?rev=1801553&view=auto == --- ignite/site/trunk/images/distributed_sql_icon.svg (added) +++ ignite/site/trunk/images/distributed_sql_icon.svg Tue Jul 11 00:53:14 2017 @@ -0,0 +1,15 @@ + + +http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px" +viewBox="0 0 80 80" style="enable-background:new 0 0 80 80;" xml:space="preserve"> + + .st0{fill:#D7D7D7;} + + + + + + + Added: ignite/site/trunk/images/durable_memory_icon.svg URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/durable_memory_icon.svg?rev=1801553&view=auto == --- ignite/site/trunk/images/durable_memory_icon.svg (added) +++ ignite/site/trunk/images/durable_memory_icon.svg Tue Jul 11 00:53:14 2017 @@ -0,0 +1,14 @@ + + +http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px" +viewBox="0 0 80 80" style="enable-background:new 0 0 80 80;" xml:space="preserve"> + + .st0{fill:#D7D7D7;} + + + + + Added: ignite/site/trunk/images/ignite-logo-white.svg URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/ignite-logo-white.svg?rev=1801553&view=auto == --- ignite/site/trunk/images/ignite-logo-white.svg (added) +++ ignite/site/trunk/images/ignite-logo-white.svg Tue Jul 11 00:53:14 2017 @@ -0,0 +1,65 @@ + + +http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px" +viewBox="0 0 90 39" style="enable-background:new 0 0 90 39;" xml:space="preserve"> + + .st0{fill:#FF;} + .st1{fill:#F90314;} + + + + + + + + + + + +
ignite git commit: Simplified Memory Policies Example
Repository: ignite Updated Branches: refs/heads/master e93b28488 -> 5c363184c Simplified Memory Policies Example Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5c363184 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5c363184 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5c363184 Branch: refs/heads/master Commit: 5c363184c80f2fd8b79f1075d1eacbf9af5369a1 Parents: e93b284 Author: Denis Magda Authored: Tue Jul 11 12:20:16 2017 -0700 Committer: Denis Magda Committed: Tue Jul 11 12:20:16 2017 -0700 -- examples/config/example-memory-policies.xml | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/5c363184/examples/config/example-memory-policies.xml -- diff --git a/examples/config/example-memory-policies.xml b/examples/config/example-memory-policies.xml index 48a5383..122300f 100644 --- a/examples/config/example-memory-policies.xml +++ b/examples/config/example-memory-policies.xml @@ -34,12 +34,9 @@ - + - - - -
svn commit: r1801788 - in /ignite/site/trunk: features.html features/sql.html images/ignite-distributed-database.png
Author: dmagda Date: Wed Jul 12 23:39:20 2017 New Revision: 1801788 URL: http://svn.apache.org/viewvc?rev=1801788&view=rev Log: updated SQL capabilities description Added: ignite/site/trunk/images/ignite-distributed-database.png (with props) Modified: ignite/site/trunk/features.html ignite/site/trunk/features/sql.html Modified: ignite/site/trunk/features.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features.html?rev=1801788&r1=1801787&r2=1801788&view=diff == --- ignite/site/trunk/features.html (original) +++ ignite/site/trunk/features.html Wed Jul 12 23:39:20 2017 @@ -60,7 +60,7 @@ under the License. Transactions & Analytics Data Grid -SQL Grid +Distributed SQL Compute Grid Service Grid Streaming & CEP Modified: ignite/site/trunk/features/sql.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/sql.html?rev=1801788&r1=1801787&r2=1801788&view=diff == Binary files - no diff available. Added: ignite/site/trunk/images/ignite-distributed-database.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/ignite-distributed-database.png?rev=1801788&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/ignite-distributed-database.png -- svn:mime-type = application/octet-stream
svn commit: r1801789 - /ignite/site/trunk/features/sql.html
Author: dmagda Date: Wed Jul 12 23:42:13 2017 New Revision: 1801789 URL: http://svn.apache.org/viewvc?rev=1801789&view=rev Log: updated SQL capabilities description Modified: ignite/site/trunk/features/sql.html Modified: ignite/site/trunk/features/sql.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/sql.html?rev=1801789&r1=1801788&r2=1801789&view=diff == Binary files - no diff available.
svn commit: r1801790 - in /ignite/site/trunk: features/datagrid.html includes/header-1.html includes/header.html
Author: dmagda Date: Wed Jul 12 23:44:57 2017 New Revision: 1801790 URL: http://svn.apache.org/viewvc?rev=1801790&view=rev Log: updated SQL capabilities description Modified: ignite/site/trunk/features/datagrid.html ignite/site/trunk/includes/header-1.html ignite/site/trunk/includes/header.html Modified: ignite/site/trunk/features/datagrid.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/datagrid.html?rev=1801790&r1=1801789&r2=1801790&view=diff == --- ignite/site/trunk/features/datagrid.html (original) +++ ignite/site/trunk/features/datagrid.html Wed Jul 12 23:44:57 2017 @@ -624,7 +624,7 @@ under the License. Spring Data -Apache Ignite implements Spring Data CrudRepository interface that not only supports basic CRUD operations but also provides access to the Apache Ignite SQL Grid via the unified Spring Data API. +Apache Ignite implements Spring Data CrudRepository interface that not only supports basic CRUD operations but also provides access to the Apache Ignite SQL capabilities via the unified Spring Data API. https://apacheignite-mix.readme.io/docs/spring-data"; target="docs">Docs for this Feature Modified: ignite/site/trunk/includes/header-1.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/header-1.html?rev=1801790&r1=1801789&r2=1801790&view=diff == --- ignite/site/trunk/includes/header-1.html (original) +++ ignite/site/trunk/includes/header-1.html Wed Jul 12 23:44:57 2017 @@ -54,7 +54,7 @@ Transactions & Analytics Data Grid -SQL Grid +Distributed SQL Compute Grid Service Grid Streaming & CEP Modified: ignite/site/trunk/includes/header.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/header.html?rev=1801790&r1=1801789&r2=1801790&view=diff == --- ignite/site/trunk/includes/header.html (original) +++ ignite/site/trunk/includes/header.html Wed Jul 12 23:44:57 2017 @@ -48,7 +48,7 @@ Transactions & Analytics Data Grid -SQL Grid +Distributed SQL Compute Grid Service Grid Streaming & CEP
svn commit: r1801793 - in /ignite/site/trunk: ./ css/ images/ scss/
Author: dmagda Date: Thu Jul 13 01:47:34 2017 New Revision: 1801793 URL: http://svn.apache.org/viewvc?rev=1801793&view=rev Log: updated the site Added: ignite/site/trunk/images/acid_transactions_red_icon.svg ignite/site/trunk/images/collocated_processing_red_icon.svg ignite/site/trunk/images/distributed_sql_red_icon.svg ignite/site/trunk/images/durable_memory_red_icon.svg ignite/site/trunk/images/key_value_red_icon.svg ignite/site/trunk/images/machine_learning_red_icon.svg ignite/site/trunk/images/main-page-ver5-6.patch Modified: ignite/site/trunk/css/all.css ignite/site/trunk/download.html ignite/site/trunk/index-5.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1801793&r1=1801792&r2=1801793&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Thu Jul 13 01:47:34 2017 @@ -7842,7 +7842,7 @@ section.page-section table.twosides td { section.page-section h1, section.page-section h2 { font-size: 26px; color: #333; - padding: 0 0 20px 0; + padding: 0 0 15px 0; text-align: left; } section.page-section h1 { @@ -8482,10 +8482,6 @@ section.page-subsection { padding-left: 20px; } -a.github-icon { - color: white; -} - .screencast-center { padding-right: 10px; padding-left: 10px; @@ -8576,11 +8572,6 @@ a.github-icon { padding: 50px 0 0; margin-left: 15px; } -@media (max-width: 992px) { - .main-banner .banner { -padding: 20px 0 0; - } -} .main-banner h2 { font: 27px/27px "harabara", Arial, sans-serif; letter-spacing: 2.3px; @@ -8589,20 +8580,26 @@ a.github-icon { } @media (max-width: 992px) { .main-banner h2 { -font-size: 70px; -line-height: 70px; +font-size: 25px; +line-height: 25px; +text-align: center; } } @media (max-width: 767px) { .main-banner h2 { -font-size: 42px; -line-height: 42px; margin: 0 0 5px; +text-align: center; } } .main-banner h2 > span { font: 27px/27px "harabara", Arial, sans-serif; } +@media (max-width: 992px) { + .main-banner h2 > span { +font-size: 25px; +line-height: 25px; + } +} .main-banner ul.banner-list { padding-left: 5px; list-style-type: square; @@ -8617,7 +8614,7 @@ a.github-icon { font-size: 22px; padding-left: 10px; } -.main-banner span { +.main-banner ul.banner-list > li > p > span { font-size: 22px; } .main-banner p { @@ -8639,6 +8636,16 @@ a.github-icon { margin: 0 10px 10px; } +.main-image { + padding-top: 10px; + padding-left: 35px; +} +@media (max-width: 992px) { + .main-image { +text-align: center; + } +} + .section-heading { height: 75px; text-align: center; @@ -8651,22 +8658,38 @@ a.github-icon { letter-spacing: 5px; } -.feature-box { - padding-right: 20px; - padding-left: 0px; -} .feature-box h2 { text-align: center !important; font-weight: 300; } +.feature-box h2:hover { + color: #e5; +} .feature-box p { text-align: center; Line-height: 24px; font-weight: 300 !important; } -.feature-box:last-child { +.feature-box hr { + border-top: none !important; + border-bottom: 1px solid #d7d7d7 !important; + padding-top: 5px; + width: 90px; +} + +.feature-box-left { padding-right: 20px; - margin-right: 0px; + padding-left: 0px; +} + +.feature-box-center { + padding-right: 20px; + padding-left: 20px; +} + +.feature-box-right { + padding-right: 0px; + padding-left: 20px; } .cross-mark { @@ -8724,9 +8747,10 @@ a.github-icon { margin: auto; width: 70px; height: 70px; + border: none !important; } .feature-icon:hover { - background: #E5; + background: #e5; } .circular-feature-icon { @@ -8739,12 +8763,6 @@ hr { border-bottom: 1px solid #d7d7d7; max-width: 250px; height: 5px; - text-align: center; -} - -.main-image { - padding-top: 10px; - padding-left: 35px; } .learn-more { @@ -8756,6 +8774,12 @@ hr { padding-bottom: 10px; margin-top: 20px; } +.learn-more a { + color: white; +} +.learn-more a:hover { + color: #f00; +} table.comparison-matrix { border: none !important; @@ -8770,7 +8794,7 @@ table.comparison-matrix > thead > tr { table.comparison-matrix > thead > tr > th { color: white; font-size: 20px !important; - font-weight: bold; + font-weight: 400; border: none !important; } table.comparison-matrix > thead > tr .left { @@ -8781,6 +8805,7 @@ table.comparison-matrix > tbody > tr { } table.comparison-matrix > tbody > tr > td { border: none !important; + font-weight: 300; } table.comparison-matrix > tbody > tr > td > p { margin-top: 8px; @@ -8889,30 +8914,94 @@ p.timeline-Tweet-text { font-size: 15px !important; } -a.timeline-Tweet { - /* Butto
svn commit: r1801794 - /ignite/site/trunk/images/video-screen.png
Author: dmagda Date: Thu Jul 13 01:49:47 2017 New Revision: 1801794 URL: http://svn.apache.org/viewvc?rev=1801794&view=rev Log: updated the site Added: ignite/site/trunk/images/video-screen.png (with props) Added: ignite/site/trunk/images/video-screen.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/video-screen.png?rev=1801794&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/video-screen.png -- svn:mime-type = application/octet-stream
svn commit: r1801881 - in /ignite/site/trunk: css/all.css images/main-page-ver5-6.patch index-5.html index.html news.html scss/ignite.scss
Author: dmagda Date: Thu Jul 13 20:19:03 2017 New Revision: 1801881 URL: http://svn.apache.org/viewvc?rev=1801881&view=rev Log: updated the news page Removed: ignite/site/trunk/images/main-page-ver5-6.patch Modified: ignite/site/trunk/css/all.css ignite/site/trunk/index-5.html ignite/site/trunk/index.html ignite/site/trunk/news.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1801881&r1=1801880&r2=1801881&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Thu Jul 13 20:19:03 2017 @@ -8542,7 +8542,7 @@ section.page-subsection { } .main-banner { - min-height: 465px; + min-height: 455px; padding: 114px 0 0 0; font-size: 24px; line-height: 24px; @@ -8570,11 +8570,12 @@ section.page-subsection { } .main-banner .banner { padding: 50px 0 0; - margin-left: 15px; } .main-banner h2 { - font: 27px/27px "harabara", Arial, sans-serif; - letter-spacing: 2.3px; + font-size: 27px; + line-height: 27px; + letter-spacing: 1.5px; + font-weight: 300; margin: 0 0 15px; text-align: left; } @@ -8592,7 +8593,8 @@ section.page-subsection { } } .main-banner h2 > span { - font: 27px/27px "harabara", Arial, sans-serif; + font-size: 27px; + font-weight: 300; } @media (max-width: 992px) { .main-banner h2 > span { @@ -8613,9 +8615,22 @@ section.page-subsection { margin-bottom: 10px; font-size: 22px; padding-left: 10px; + font-weight: 300; + letter-spacing: 1.5px; } .main-banner ul.banner-list > li > p > span { font-size: 22px; + font-weight: 300; +} +.main-banner .main-image { + padding-top: 10px; + padding-left: 65px; + padding-right: 0px; +} +@media (max-width: 992px) { + .main-banner .main-image { +text-align: center; + } } .main-banner p { padding-top: 10px; @@ -8636,16 +8651,6 @@ section.page-subsection { margin: 0 10px 10px; } -.main-image { - padding-top: 10px; - padding-left: 35px; -} -@media (max-width: 992px) { - .main-image { -text-align: center; - } -} - .section-heading { height: 75px; text-align: center; @@ -8661,6 +8666,7 @@ section.page-subsection { .feature-box h2 { text-align: center !important; font-weight: 300; + letter-spacing: 1px; } .feature-box h2:hover { color: #e5; @@ -8669,12 +8675,15 @@ section.page-subsection { text-align: center; Line-height: 24px; font-weight: 300 !important; + letter-spacing: 1px; } .feature-box hr { border-top: none !important; border-bottom: 1px solid #d7d7d7 !important; padding-top: 5px; width: 90px; + margin-top: 40px; + margin-bottom: 0px; } .feature-box-left { @@ -8738,25 +8747,6 @@ section.page-subsection { margin-bottom: 5px; } -.feature-icon { - color: #d7d7d7; - text-align: center; - display: block !important; - padding-top: 10px; - padding-bottom: 10px; - margin: auto; - width: 70px; - height: 70px; - border: none !important; -} -.feature-icon:hover { - background: #e5; -} - -.circular-feature-icon { - border-radius: 50%; -} - hr { border: 0; border-top: 1px solid #d7d7d7; @@ -8769,17 +8759,21 @@ hr { border: white solid 1px; width: 125px; text-align: center; - font-weight: 400; + font-weight: 300; + letter-spacing: 1.5px; font-size: 18px !important; padding-bottom: 10px; margin-top: 20px; } .learn-more a { - color: white; + color: #fff; } .learn-more a:hover { color: #f00; } +.learn-more:hover { + border: #f00 solid 1px; +} table.comparison-matrix { border: none !important; @@ -8919,70 +8913,67 @@ p.timeline-Tweet-text { border-bottom: 1px solid #ebebeb !important; } -.durable-memory-icon { +.durable-memory-panel p.feature-icon { background-image: url("/images/durable_memory_icon.svg"); - height: 50px; - width: 50px; - display: block; - margin-left: 120px; } -.durable-memory-icon:hover { +.durable-memory-panel:hover p.feature-icon { background-image: url("/images/durable_memory_red_icon.svg"); } -.distributed-sql-icon { +.distributed-sql-panel p.feature-icon { background-image: url("/images/distributed_sql_icon.svg"); - height: 50px; - width: 50px; - display: block; - margin-left: 120px; } -.distributed-sql-icon:hover { +.distributed-sql-panel:hover p.feature-icon { background-image: url("/images/distributed_sql_red_icon.svg"); } -.acid-transactions-icon { +.acid-transactions-panel p.feature-icon { background-image: url("/images/acid_transactions_icon.svg"); - height: 50px; - width: 50px; - display: block; - margin-left: 120px; } -.acid-transactions-icon:hover { +.acid-transactions-panel:hover p.feature-icon { background-image: url("/images/acid_transactions_red_icon.svg&
svn commit: r1801882 - /ignite/site/trunk/news.html
Author: dmagda Date: Thu Jul 13 20:22:56 2017 New Revision: 1801882 URL: http://svn.apache.org/viewvc?rev=1801882&view=rev Log: fixed events Modified: ignite/site/trunk/news.html Modified: ignite/site/trunk/news.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/news.html?rev=1801882&r1=1801881&r2=1801882&view=diff == Binary files - no diff available.
svn commit: r1801978 - in /ignite/site/trunk: css/all.css images/Main-Ignite-diagram_v2.png images/News.png images/margin.png images/screencast.png images/video-screen-2.png includes/scripts.html inde
Author: dmagda Date: Fri Jul 14 18:50:30 2017 New Revision: 1801978 URL: http://svn.apache.org/viewvc?rev=1801978&view=rev Log: improving the front page Added: ignite/site/trunk/images/Main-Ignite-diagram_v2.png (with props) ignite/site/trunk/images/News.png (with props) ignite/site/trunk/images/margin.png (with props) ignite/site/trunk/images/screencast.png (with props) ignite/site/trunk/images/video-screen-2.png (with props) Modified: ignite/site/trunk/css/all.css ignite/site/trunk/includes/scripts.html ignite/site/trunk/index-5.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1801978&r1=1801977&r2=1801978&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Fri Jul 14 18:50:30 2017 @@ -8666,7 +8666,6 @@ section.page-subsection { .feature-box h2 { text-align: center !important; font-weight: 300; - letter-spacing: 1px; } .feature-box h2:hover { color: #e5; @@ -8675,7 +8674,6 @@ section.page-subsection { text-align: center; Line-height: 24px; font-weight: 300 !important; - letter-spacing: 1px; } .feature-box hr { border-top: none !important; @@ -8723,7 +8721,8 @@ section.page-subsection { .social-media h3 { margin-bottom: 12px; border-bottom: 1px solid black; - font-weight: 400; + font-weight: 300; + font-size: 24px !important; } .social-media ul { list-style-type: none; @@ -8755,25 +8754,26 @@ hr { height: 5px; } -.learn-more { +.banner-learn-more { border: white solid 1px; - width: 125px; + width: 120px; text-align: center; font-weight: 300; letter-spacing: 1.5px; - font-size: 18px !important; - padding-bottom: 10px; margin-top: 20px; } -.learn-more a { +.banner-learn-more p { color: #fff; + font-size: 18px !important; + margin-bottom: 0px; + padding-bottom: 10px; } -.learn-more a:hover { - color: #f00; -} -.learn-more:hover { +.banner-learn-more:hover { border: #f00 solid 1px; } +.banner-learn-more:hover p { + color: #f00; +} table.comparison-matrix { border: none !important; @@ -8904,7 +8904,7 @@ a.social-media-bar:hover { font-size: 16px !important; } -p.timeline-Tweet-text { +a.timeline-Tweet-text { font-size: 15px !important; } @@ -8982,12 +8982,11 @@ p.timeline-Tweet-text { .video-image-text { position: absolute; - bottom: 45px; - color: #ffab40 !important; + bottom: 60px; + color: #ef !important; width: 100%; text-align: center; - font-size: 20px !important; - font-weight: 300; + font-size: 18px !important; letter-spacing: 2px; padding-left: 10px; } @@ -8995,6 +8994,51 @@ p.timeline-Tweet-text { text-decoration: underline; } +.event-date { + background-color: #ef; + width: 50px; + line-height: 22px; + text-align: center; + color: #fff; + font-weight: 300; + border-radius: 5px; +} + +.event-date-col { + max-width: 80px; +} + +a.event-link { + font-weight: 300; + font-size: 16px; + line-height: 20px; + color: #333; +} +a.event-link:hover { + text-decoration: underline; +} + +.event-details { + font-size: 13px; + line-height: 15px; + color: #888; + font-weight: 300; +} + +.pre-scrollable { + max-height: 350px !important; +} + +hr.vertical { + height: 18px; + width: 0; + border: 1px solid #e5; + text-align: left !important; + margin-left: 22px !important; + margin-top: 0px !important; + margin-bottom: 0px !important; +} + .btn-transparent { color: #fff; background-color: transparent; Added: ignite/site/trunk/images/Main-Ignite-diagram_v2.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/Main-Ignite-diagram_v2.png?rev=1801978&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/Main-Ignite-diagram_v2.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/News.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/News.png?rev=1801978&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/News.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/margin.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/margin.png?rev=1801978&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/margin.png -- svn:m
svn commit: r1801980 - in /ignite/site/trunk/images: News.png margin.png screencast.png
Author: dmagda Date: Fri Jul 14 18:55:15 2017 New Revision: 1801980 URL: http://svn.apache.org/viewvc?rev=1801980&view=rev Log: removed redundant files Removed: ignite/site/trunk/images/News.png ignite/site/trunk/images/margin.png ignite/site/trunk/images/screencast.png
svn commit: r1801992 - in /ignite/site/trunk: ./ css/ features/ images/ includes/ scss/
Author: dmagda Date: Fri Jul 14 21:36:23 2017 New Revision: 1801992 URL: http://svn.apache.org/viewvc?rev=1801992&view=rev Log: updated the site Added: ignite/site/trunk/features/durablememory.html (with props) ignite/site/trunk/features/machinelearning.html (with props) ignite/site/trunk/images/Machine-Learning-Diagram_v4.png (with props) ignite/site/trunk/images/check_pointing.png (with props) ignite/site/trunk/images/cluster_and_cylinders.png (with props) ignite/site/trunk/screencasts.html (with props) Modified: ignite/site/trunk/css/all.css ignite/site/trunk/features/streaming.html ignite/site/trunk/includes/header-1.html ignite/site/trunk/index-5.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1801992&r1=1801991&r2=1801992&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Fri Jul 14 21:36:23 2017 @@ -8494,7 +8494,6 @@ section.page-subsection { } .screencast-left { - padding-right: 20px; padding-left: 0; } @media (max-width: 767px) { @@ -8574,7 +8573,7 @@ section.page-subsection { .main-banner h2 { font-size: 27px; line-height: 27px; - letter-spacing: 1.5px; + letter-spacing: 1.1px; font-weight: 300; margin: 0 0 15px; text-align: left; @@ -8616,7 +8615,7 @@ section.page-subsection { font-size: 22px; padding-left: 10px; font-weight: 300; - letter-spacing: 1.5px; + letter-spacing: 1.1px; } .main-banner ul.banner-list > li > p > span { font-size: 22px; @@ -8759,7 +8758,7 @@ hr { width: 120px; text-align: center; font-weight: 300; - letter-spacing: 1.5px; + letter-spacing: 1.1px; margin-top: 20px; } .banner-learn-more p { @@ -9025,10 +9024,6 @@ a.event-link:hover { font-weight: 300; } -.pre-scrollable { - max-height: 350px !important; -} - hr.vertical { height: 18px; width: 0; Added: ignite/site/trunk/features/durablememory.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/durablememory.html?rev=1801992&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/features/durablememory.html -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/features/machinelearning.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/machinelearning.html?rev=1801992&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/features/machinelearning.html -- svn:mime-type = application/octet-stream Modified: ignite/site/trunk/features/streaming.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/streaming.html?rev=1801992&r1=1801991&r2=1801992&view=diff == --- ignite/site/trunk/features/streaming.html (original) +++ ignite/site/trunk/features/streaming.html Fri Jul 14 21:36:23 2017 @@ -39,7 +39,7 @@ under the License. -Streaming and Complex Event Processing - Apache Ignite +Data Ingestion and Streaming - Apache Ignite https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> @@ -52,11 +52,11 @@ under the License. -Streaming and Complex Event Processing +Data Ingestion and Streaming -Ignite Streaming and Continuous Event Processing (CEP) allows to process continuous never-ending streams of data in scalable +Ignite streaming capabilities allows injesting never-ending streams of data in a scalable and fault-tolerant fashion. The rates at which data can be injected into Ignite can be very high and easily exceed millions of events per second on a moderately sized cluster. @@ -65,7 +65,7 @@ under the License. Clients inject streams of data into Ignite. Data is automatically partitioned between Ignite data nodes. -Data is concurrently processed in sliding windows. +Data is concurrently processed across all cluster nodes. Clients perform concurrent SQL queries on the streamed data. Clients subscribe to continuous queries as data change
svn commit: r1802002 - in /ignite/site/trunk: css/all.css download.html features/persistence.html features/streaming.html images/apache-ignite-cluster.png images/check_pointing-2.png includes/header-1
Author: dmagda Date: Sat Jul 15 01:05:30 2017 New Revision: 1802002 URL: http://svn.apache.org/viewvc?rev=1802002&view=rev Log: new front page Added: ignite/site/trunk/features/persistence.html ignite/site/trunk/images/apache-ignite-cluster.png (with props) ignite/site/trunk/images/check_pointing-2.png (with props) ignite/site/trunk/index-6.html Modified: ignite/site/trunk/css/all.css ignite/site/trunk/download.html ignite/site/trunk/features/streaming.html ignite/site/trunk/includes/header-1.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1802002&r1=1802001&r2=1802002&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Sat Jul 15 01:05:30 2017 @@ -7646,6 +7646,8 @@ div.toolbar { div, p, h1, h2, h3, span, body, html, ul, li { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 18px; + font-weight: 300; + letter-spacing: 0.2px; } .carousel { @@ -7668,12 +7670,26 @@ div, p, h1, h2, h3, span, body, html, ul h3, .h3 { font-size: 22px; color: #333; + font-weight: 400; +} + +h4, b { + font-weight: 400; } p { line-height: 1.2em; color: #333; font-size: 18px; + font-weight: 300; + letter-spacing: 0.2px; +} + +a { + color: #f00; + text-decoration: none; + font-weight: 300; + letter-spacing: 0.2px; } sup, sub { @@ -7844,6 +7860,7 @@ section.page-section h1, section.page-se color: #333; padding: 0 0 15px 0; text-align: left; + font-weight: 400; } section.page-section h1 { font-size: 32px; @@ -7875,7 +7892,7 @@ section.page-section div.page-links { } section.page-section div.page-heading { padding-top: 10px; - font-weight: 700; + font-weight: 400; padding-bottom: 10px; } section.page-section .code-examples { @@ -7987,7 +8004,7 @@ table.overview > thead > tr { table.overview > thead > tr > th { color: #000; font-size: 21px !important; - font-weight: bold; + font-weight: 400; border: none !important; padding: 20px !important; } @@ -8003,7 +8020,6 @@ table.overview > tbody > tr:nth-child(ev table.overview > tbody > tr > td { border: none !important; font-size: 18px !important; - font-weight: 400; } table.overview > tbody > tr > td > p { margin-top: 8px; @@ -8020,6 +8036,7 @@ table.formatted { border: 1px solid #ddd !important; margin-bottom: 40px; position: relative; + letter-spacing: 0.2px; } table.formatted > thead > tr { background: #cfcfcf; @@ -8029,9 +8046,11 @@ table.formatted > thead > tr > th { color: #000; font-weight: bold; border: none !important; + font-weight: 400; } table.formatted > thead > tr .left { padding-left: 20px !important; + font-weight: 400; } table.formatted > tbody > tr:nth-child(even) { background: #f5f5f5; @@ -8058,6 +8077,7 @@ table.formatted > tbody > tr > td > p { table.formatted > tbody > tr .left { font-weight: bold; padding-left: 20px !important; + font-weight: 400; } @media (max-width: 767px) { table.formatted > tbody { @@ -8310,7 +8330,7 @@ tr.sub-heading > th { background: #cfcfcf !important; border: 1px solid #cfcfcf !important; color: #000; - font-weight: bold; + font-weight: 400; } .feature-section { @@ -8328,7 +8348,7 @@ tr.sub-heading > th { .features-left { padding-left: 20px !important; - font-weight: bold; + font-weight: 400; width: 35%; } @@ -8571,10 +8591,10 @@ section.page-subsection { padding: 50px 0 0; } .main-banner h2 { - font-size: 27px; - line-height: 27px; + font-size: 30px; + line-height: 30px; letter-spacing: 1.1px; - font-weight: 300; + font-weight: 400; margin: 0 0 15px; text-align: left; } @@ -8593,7 +8613,7 @@ section.page-subsection { } .main-banner h2 > span { font-size: 27px; - font-weight: 300; + font-weight: 400; } @media (max-width: 992px) { .main-banner h2 > span { @@ -8622,9 +8642,9 @@ section.page-subsection { font-weight: 300; } .main-banner .main-image { - padding-top: 10px; - padding-left: 65px; + padding-left: 10px; padding-right: 0px; + margin-top: 10px; } @media (max-width: 992px) { .main-banner .main-image { @@ -8664,7 +8684,7 @@ section.page-subsection { .feature-box h2 { text-align: center !important; - font-weight: 300; + font-weight: 300 !important; } .feature-box h2:hover { color: #e5; @@ -8754,24 +8774,36 @@ hr { } .banner-learn-more { - border: white solid 1px; - width: 120px; + width: 125px; text-align: center; - font-weight: 300; + border-radius: 2px; + background: #ef; letter-spacing: 1.1px; - margin-top: 20px; + margin-top: 50px; + transition: background-color 0.2s
svn commit: r1802003 - in /ignite/site/trunk: css/all.css scss/ignite.scss
Author: dmagda Date: Sat Jul 15 01:12:43 2017 New Revision: 1802003 URL: http://svn.apache.org/viewvc?rev=1802003&view=rev Log: new front page Modified: ignite/site/trunk/css/all.css ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1802003&r1=1802002&r2=1802003&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Sat Jul 15 01:12:43 2017 @@ -8774,25 +8774,12 @@ hr { } .banner-learn-more { + border: 1px solid white; width: 125px; text-align: center; border-radius: 2px; - background: #ef; letter-spacing: 1.1px; margin-top: 50px; - transition: background-color 0.2s linear; - -moz-transition: background-color 0.2s linear; - -webkit-transition: background-color 0.2s linear; - -ms-transition: background-color 0.2s linear; - -o-transition: background-color 0.2s linear; -/* -&:hover { -border: $red solid 1px; - -p { -color: $red; -} -}*/ } .banner-learn-more p { color: #fff; @@ -8802,8 +8789,10 @@ hr { font-weight: 400; } .banner-learn-more:hover { - background-color: #941d15 !important; - color: white !important; + border: #f00 solid 1px; +} +.banner-learn-more:hover p { + color: #f00; } table.comparison-matrix { Modified: ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/ignite/site/trunk/scss/ignite.scss?rev=1802003&r1=1802002&r2=1802003&view=diff == --- ignite/site/trunk/scss/ignite.scss (original) +++ ignite/site/trunk/scss/ignite.scss Sat Jul 15 01:12:43 2017 @@ -1262,11 +1262,10 @@ hr { } .banner-learn-more { - +border: 1px solid white; width : 125px; text-align:center; border-radius: 2px; -background: #ef; letter-spacing: 1.1px; margin-top: 50px; @@ -1277,24 +1276,14 @@ hr { padding-bottom: 10px; font-weight: 400; } -transition: background-color 0.2s linear; - -moz-transition: background-color 0.2s linear; - -webkit-transition: background-color 0.2s linear; - -ms-transition: background-color 0.2s linear; - -o-transition: background-color 0.2s linear; &:hover { -background-color: #941d15 !important; -color: white !important; -} -/* -&:hover { border: $red solid 1px; p { color: $red; } -}*/ +} } table.comparison-matrix {
svn commit: r1802150 [1/2] - in /ignite/site/trunk: addons.html css/all.css events.html features.html includes/header-1.html includes/scripts.html index-6.html scss/ignite.scss whatisignite.html
Author: dmagda Date: Mon Jul 17 14:18:13 2017 New Revision: 1802150 URL: http://svn.apache.org/viewvc?rev=1802150&view=rev Log: new version Added: ignite/site/trunk/events.html ignite/site/trunk/whatisignite.html Modified: ignite/site/trunk/addons.html ignite/site/trunk/css/all.css ignite/site/trunk/features.html ignite/site/trunk/includes/header-1.html ignite/site/trunk/includes/scripts.html ignite/site/trunk/index-6.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/addons.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/addons.html?rev=1802150&r1=1802149&r2=1802150&view=diff == --- ignite/site/trunk/addons.html (original) +++ ignite/site/trunk/addons.html Mon Jul 17 14:18:13 2017 @@ -90,7 +90,7 @@ under the License. -https://youtu.be/V-o3IFVnk5k";>Web Console Monitoring +https://youtu.be/V-o3IFVnk5k";>Web Console Monitoring - Demo mode 04:07 Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1802150&r1=1802149&r2=1802150&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Mon Jul 17 14:18:13 2017 @@ -8774,7 +8774,7 @@ hr { } .banner-learn-more { - border: 1px solid white; + border: 1px solid #fff; width: 125px; text-align: center; border-radius: 2px; @@ -8782,17 +8782,18 @@ hr { margin-top: 50px; } .banner-learn-more p { - color: #fff; + color: #e5; font-size: 18px !important; margin-bottom: 0px; padding-bottom: 10px; font-weight: 400; } .banner-learn-more:hover { - border: #f00 solid 1px; + background: #e5; + border: 1px solid #e5; } .banner-learn-more:hover p { - color: #f00; + color: #fff; } table.comparison-matrix { @@ -9058,6 +9059,10 @@ hr.vertical { margin-bottom: 0px !important; } +#ignite-faq h2 { + font-size: 22px; +} + .btn-transparent { color: #fff; background-color: transparent; Added: ignite/site/trunk/events.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/events.html?rev=1802150&view=auto == --- ignite/site/trunk/events.html (added) +++ ignite/site/trunk/events.html Mon Jul 17 14:18:13 2017 @@ -0,0 +1,1212 @@ + + + + + + + +https://ignite.apache.org/news.html"; /> + + + + + +Latest News - Apache Ignite + +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> + + + + + + + + + +News About Apache Ignite + + +Building Consistent and Highly Available Distributed Systems with Apache® Ignite⢠+Webinar, Valentin Kulichenko +August 02, 2017 + +In this session, Valentin Kulichenko, Apache Ignite Committer and PMC, will give an overview of some of Apache® Ignite⢠+capabilities that allow the delivery as much availability as possible, while not breaking data consistency. +Valentin will give specific guidelines on how to build such systems, and will do a deep dive into topics like: + + +In-memory backups +Data persistence +Data center replication +Full and incremental snapshots + + + +https://www.gridgain.com/resources/webinars/building-consistent-and-highly-available-distributed-systems-apacher-ignitetm"; target="_blank">Read more + + + + + +https://www.gridgain.com/resources/webinars/building-consistent-and-highly-available-distributed-systems-apacher-ignitetm"; + data-a2a-title="Building Consistent and Highly Available Distributed Systems with Apache® Igniteâ¢"> + + + +https://www.addtoany.com/share";> + + + + + + + +
svn commit: r1802150 [2/2] - in /ignite/site/trunk: addons.html css/all.css events.html features.html includes/header-1.html includes/scripts.html index-6.html scss/ignite.scss whatisignite.html
Modified: ignite/site/trunk/features.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features.html?rev=1802150&r1=1802149&r2=1802150&view=diff == --- ignite/site/trunk/features.html (original) +++ ignite/site/trunk/features.html Mon Jul 17 14:18:13 2017 @@ -54,47 +54,53 @@ under the License. Product Features -Apache Ignite In-Memory Data Fabric comprises the following set of components shared across the Ignite platform. +Apache Ignite Memory-Centric platform comprises the following set of components: - -Transactions & Analytics + +Main Features +Durable Memory +Persistence +SQL Database Data Grid -Distributed SQL Compute Grid -Service Grid -Streaming & CEP -RDBMS Integration -Data Structures -Messaging & Events +Machine Learning - -Hadoop & Spark + +Extended Features -Spark Shared RDD -In-Memory File System -In-Memory MapReduce - - - - +Service Grid +Fast Data Ingest +External RDBMS Integration +Data Structures +Messaging & Events - -Runs Everywhere - + +Runs Everywhere + Java .NET C++ Client Protocols Deployment Options + + + +Hadoop & Spark + +Spark Shared RDD +In-Memory File System +In-Memory MapReduce + + Modified: ignite/site/trunk/includes/header-1.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/header-1.html?rev=1802150&r1=1802149&r2=1802150&view=diff == --- ignite/site/trunk/includes/header-1.html (original) +++ ignite/site/trunk/includes/header-1.html Mon Jul 17 14:18:13 2017 @@ -52,6 +52,9 @@ Features +Overview +What is Ignite + Main Features Durable Memory Persistence @@ -83,6 +86,7 @@ Spark Shared RDDs In-Memory File System In-Memory MapReduce +More Modified: ignite/site/trunk/includes/scripts.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/scripts.html?rev=1802150&r1=1802149&r2=1802150&view=diff == --- ignite/site/trunk/includes/scripts.html (original) +++ ignite/site/trunk/includes/scripts.html Mon Jul 17 14:18:13 2017 @@ -187,12 +187,6 @@ $(document).ready(function(){ }); - -$(document).ready(function() { -$(event1).before("
"); -}); - - https://static.addtoany.com/menu/page.js";> Modified: ignite/site/trunk/index-6.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index-6.html?rev=1802150&r1=1802149&r2=1802150&view=diff == --- ignite/site/trunk/index-6.html (original) +++ ignite/site/trunk/index-6.html Mon Jul 17 14:18:13 2017 @@ -64,7 +64,7 @@ under the License. - +
svn commit: r1802190 - in /ignite/site/trunk: blogs.html css/all.css events.html features/durablememory.html features/machinelearning.html features/persistence.html index-6.html index.html scss/ignite
Author: dmagda Date: Mon Jul 17 19:14:10 2017 New Revision: 1802190 URL: http://svn.apache.org/viewvc?rev=1802190&view=rev Log: updated the front page Modified: ignite/site/trunk/blogs.html ignite/site/trunk/css/all.css ignite/site/trunk/events.html ignite/site/trunk/features/durablememory.html ignite/site/trunk/features/machinelearning.html ignite/site/trunk/features/persistence.html ignite/site/trunk/index-6.html ignite/site/trunk/index.html ignite/site/trunk/scss/ignite.scss ignite/site/trunk/whatisignite.html Modified: ignite/site/trunk/blogs.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/blogs.html?rev=1802190&r1=1802189&r2=1802190&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1802190&r1=1802189&r2=1802190&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Mon Jul 17 19:14:10 2017 @@ -8933,8 +8933,9 @@ a.timeline-Tweet-text { } .highlight-ignite-comparison { - background: #fce0e0; - border-bottom: 1px solid #ebebeb !important; + background-color: #fce0e0; + background-clip: padding-box; + /* for Firefox and IE*/ } .durable-memory-panel p.feature-icon { Modified: ignite/site/trunk/events.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/events.html?rev=1802190&r1=1802189&r2=1802190&view=diff == --- ignite/site/trunk/events.html (original) +++ ignite/site/trunk/events.html Mon Jul 17 19:14:10 2017 @@ -32,13 +32,13 @@ under the License. -https://ignite.apache.org/news.html"; /> +https://ignite.apache.org/events.html"; /> -Latest News - Apache Ignite +Meetups & Events - Apache Ignite https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css"; rel="stylesheet"> Modified: ignite/site/trunk/features/durablememory.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/durablememory.html?rev=1802190&r1=1802189&r2=1802190&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/features/machinelearning.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/machinelearning.html?rev=1802190&r1=1802189&r2=1802190&view=diff == Binary files - no diff available. Modified: ignite/site/trunk/features/persistence.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features/persistence.html?rev=1802190&r1=1802189&r2=1802190&view=diff == --- ignite/site/trunk/features/persistence.html (original) +++ ignite/site/trunk/features/persistence.html Mon Jul 17 19:14:10 2017 @@ -33,7 +33,7 @@ under the License. -https://ignite.apache.org/features/deploy.html"; /> +https://ignite.apache.org/features/persistence.html"; /> Modified: ignite/site/trunk/index-6.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index-6.html?rev=1802190&r1=1802189&r2=1802190&view=diff == --- ignite/site/trunk/index-6.html (original) +++ ignite/site/trunk/index-6.html Mon Jul 17 19:14:10 2017 @@ -214,7 +214,7 @@ under the License. ✗ failover only ✓ high ✓ high -✓ high +✓ high Consistency Modified: ignite/site/trunk/index.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/index.html?rev=1802190&r1=1802189&r2=1802190&view=diff == --- ignite/site/trunk/index.html (original) +++ ignite/site/trunk/index.html Mon Jul 17 19:14:10 2017 @@ -120,7 +120,7 @@ under the License. Download Ignite -https://github.com/apache/ignite";> +https://github.com/apache/ignite";> https://github.com/apache/ignite"; data-icon="octicon-star" data-style="mega" data-show-count="true" aria-label="Star apache/ignite on GitHub">Star @@ -135,11 +135,11 @@ under the License. News & E
svn commit: r1802227 - in /ignite/site/trunk: css/all.css includes/header-1.html scss/ignite.scss whatisignite.html
Author: dmagda Date: Mon Jul 17 22:57:42 2017 New Revision: 1802227 URL: http://svn.apache.org/viewvc?rev=1802227&view=rev Log: updated the front page Modified: ignite/site/trunk/css/all.css ignite/site/trunk/includes/header-1.html ignite/site/trunk/scss/ignite.scss ignite/site/trunk/whatisignite.html Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1802227&r1=1802226&r2=1802227&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Mon Jul 17 22:57:42 2017 @@ -8803,8 +8803,8 @@ table.comparison-matrix { top: -30px; } table.comparison-matrix > thead > tr { - background: #E5; - border: 1px solid #E5; + background: #e5; + border: 1px solid #e5; } table.comparison-matrix > thead > tr > th { color: white; @@ -8826,6 +8826,7 @@ table.comparison-matrix > tbody > tr > t table.comparison-matrix > tbody > tr > td > p { margin-top: 8px; margin-bottom: 8px; + padding-right: 15px; } @media (max-width: 767px) { table.comparison-matrix > tbody > tr > td > p { @@ -8850,13 +8851,13 @@ table.comparison-matrix > tbody > tr .le } .github-stats-bar { - background: #E5; + background: #e5; padding-top: 12px; padding-bottom: 7px; } .download-button-dropdown { - background-color: #E5; + background-color: #e5; border-radius: 5px; padding-top: 5px !important; padding-bottom: 5px !important; Modified: ignite/site/trunk/includes/header-1.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/includes/header-1.html?rev=1802227&r1=1802226&r2=1802227&view=diff == --- ignite/site/trunk/includes/header-1.html (original) +++ ignite/site/trunk/includes/header-1.html Mon Jul 17 22:57:42 2017 @@ -114,7 +114,7 @@ Ignite http://apacheignite.readme.io/docs"; target="_blank">English https://www.zybuluo.com/liyuj/note/230739"; target="_blank">Chinese -https://leanpub.com/ignite"; target="_blank">Book + Ignite.NET https://apacheignite-net.readme.io/docs/"; target="_blank">English @@ -134,6 +134,10 @@ https://ignite.apache.org/releases/latest/cppdoc/index.html"; target="_blank">C++ API https://ignite.apache.org/releases/latest/scaladoc/scalar/index.html"; target="_blank">Scala API https://github.com/apache/ignite/tree/master/examples"; target="_blank">Examples + +Ignite Book +http://a.co/h4MBi1v"; target="_blank">Amazon +https://leanpub.com/ignite"; target="_blank">Leanpub Modified: ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/ignite/site/trunk/scss/ignite.scss?rev=1802227&r1=1802226&r2=1802227&view=diff == --- ignite/site/trunk/scss/ignite.scss (original) +++ ignite/site/trunk/scss/ignite.scss Mon Jul 17 22:57:42 2017 @@ -1294,8 +1294,8 @@ table.comparison-matrix { top: -30px; & > thead > tr { -background: #E5; -border: 1px solid #E5; +background: #e5; +border: 1px solid #e5; & > th { color: white; @@ -1318,12 +1318,13 @@ table.comparison-matrix { letter-spacing: 0.2px; & > p { -margin-top :8px; -margin-bottom :8px; +margin-top : 8px; +margin-bottom : 8px; +padding-right: 15px; @media (max-width: $mobile) { -margin-top :0px; -margin-right :5px; +margin-top : 0px; +margin-right : 5px; padding-right: 5px; } } @@ -1346,13 +1347,13 @@ table.comparison-matrix { } .github-stats-bar { -background: #E5;
svn commit: r1802322 - in /ignite/site/trunk: css/all.css features.html features/durablememory.html scss/ignite.scss
Author: dmagda Date: Tue Jul 18 18:21:11 2017 New Revision: 1802322 URL: http://svn.apache.org/viewvc?rev=1802322&view=rev Log: updated features page Modified: ignite/site/trunk/css/all.css ignite/site/trunk/features.html ignite/site/trunk/features/durablememory.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1802322&r1=1802321&r2=1802322&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Tue Jul 18 18:21:11 2017 @@ -8822,11 +8822,11 @@ table.comparison-matrix > tbody > tr > t border: none !important; font-weight: 300; letter-spacing: 0.2px; + padding-right: 0px !important; } table.comparison-matrix > tbody > tr > td > p { margin-top: 8px; margin-bottom: 8px; - padding-right: 15px; } @media (max-width: 767px) { table.comparison-matrix > tbody > tr > td > p { Modified: ignite/site/trunk/features.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/features.html?rev=1802322&r1=1802321&r2=1802322&view=diff == --- ignite/site/trunk/features.html (original) +++ ignite/site/trunk/features.html Tue Jul 18 18:21:11 2017 @@ -60,11 +60,12 @@ under the License. Main Features Durable Memory -Persistence + SQL Database Data Grid Compute Grid Machine Learning + @@ -104,26 +105,74 @@ under the License. - -Ignite Feature Summary -The following is a summary of list of features currently available in Apache Ignite. -Data Grid - - + +Ignite Feature Summary +The following is a summary of list of features currently available in Apache Ignite. + +Architecture + + -DISTRIBUTED CACHING +Durable Memory - - + + -Key-Value Store +Memory Architecture -Ignite data grid is an in-memory key-value store which can be viewed as a distributed partitioned hash map. +Apache Ignite memory-centric platform is based on the Durable Memory architecture that allows storing and processing data and indexes both in memory and on disk. -http://apacheignite.readme.io/docs/data-grid"; target="docs">Docs for this feature +https://apacheignite.readme.io/docs/clients-vs-servers"; target="docs">Docs for this feature + + + + + + + + + + + + + + + + +MARSHALLING + + + +Binary Protocol + + +Starting from v1.5 Ignite introduced a new concept of storing data in caches, called BinaryObjects. It allows you to: + + +Read a serialized object's field without full object deserialization. +Dynamically change an object's structure. +Dynamically create an object. + + +https://apacheignite.readme.io/docs/binary-marshaller"; target="docs">Docs for this feature + + + + +HIGH AVAILABILITY + + + +Self-Hea
svn commit: r1802350 - in /ignite/site/trunk: ./ css/ images/ includes/ scss/
Author: dmagda Date: Wed Jul 19 02:52:10 2017 New Revision: 1802350 URL: http://svn.apache.org/viewvc?rev=1802350&view=rev Log: new front pages Added: ignite/site/trunk/images/Artboard-1.png (with props) ignite/site/trunk/images/Artboard-2.png (with props) ignite/site/trunk/images/Diagram.png (with props) ignite/site/trunk/images/DiagramBig.png (with props) ignite/site/trunk/images/bg-1.png (with props) ignite/site/trunk/images/shutterstock_676051051.jpg (with props) ignite/site/trunk/index-7.html (with props) ignite/site/trunk/index-8.html (with props) Modified: ignite/site/trunk/css/all.css ignite/site/trunk/includes/header-1.html ignite/site/trunk/scss/ignite.scss Modified: ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/ignite/site/trunk/css/all.css?rev=1802350&r1=1802349&r2=1802350&view=diff == --- ignite/site/trunk/css/all.css (original) +++ ignite/site/trunk/css/all.css Wed Jul 19 02:52:10 2017 @@ -8568,7 +8568,7 @@ section.page-subsection { color: #fff; position: relative; z-index: 9; - background: url(../images/bg-carousel.jpg) no-repeat center/cover; + background: url(../images/bg-1) no-repeat center/cover; -webkit-transition: all, 0.2s, linear; -o-transition: all, 0.2s, linear; transition: all, 0.2s, linear; @@ -8591,8 +8591,8 @@ section.page-subsection { padding: 50px 0 0; } .main-banner h2 { - font-size: 30px; - line-height: 30px; + font-size: 37px; + line-height: 37px; letter-spacing: 1.1px; font-weight: 400; margin: 0 0 15px; @@ -8612,7 +8612,7 @@ section.page-subsection { } } .main-banner h2 > span { - font-size: 27px; + font-size: 37px; font-weight: 400; } @media (max-width: 992px) { @@ -8644,7 +8644,7 @@ section.page-subsection { .main-banner .main-image { padding-left: 10px; padding-right: 0px; - margin-top: 10px; + margin-top: 30px; } @media (max-width: 992px) { .main-banner .main-image { @@ -8774,22 +8774,22 @@ hr { } .banner-learn-more { - border: 1px solid #fff; + border: 2px solid #fff; width: 125px; text-align: center; - border-radius: 2px; + border-radius: 7px; letter-spacing: 1.1px; margin-top: 50px; } .banner-learn-more p { - color: #e5; + color: #fff; font-size: 18px !important; margin-bottom: 0px; padding-bottom: 10px; font-weight: 400; } .banner-learn-more:hover { - background: #e5; + background-color: #e5; border: 1px solid #e5; } .banner-learn-more:hover p { @@ -9065,6 +9065,23 @@ hr.vertical { font-size: 22px; } +.header { + background: black !important; + opacity: 0.9; +} +.header.affix { + background: black; +} + +.github-stats { + text-align: left; +} + +.twitter-follow { + text-align: right; + padding-top: 5px; +} + .btn-transparent { color: #fff; background-color: transparent; Added: ignite/site/trunk/images/Artboard-1.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/Artboard-1.png?rev=1802350&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/Artboard-1.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/Artboard-2.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/Artboard-2.png?rev=1802350&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/Artboard-2.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/Diagram.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/Diagram.png?rev=1802350&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/Diagram.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/DiagramBig.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/DiagramBig.png?rev=1802350&view=auto == Binary file - no diff available. Propchange: ignite/site/trunk/images/DiagramBig.png -- svn:mime-type = application/octet-stream Added: ignite/site/trunk/images/bg-1.png URL: http://svn.apache.org/viewvc/ignite/site/trunk/images/bg-1.png?rev=1802350&view=auto == Binary file - no diff available. Propch
ignite git commit: IGNITE-3793: Need to fix dependencies and it's licenses Reviewed and merged by Denis Magda (dma...@apache.org)
Repository: ignite Updated Branches: refs/heads/master 96527d92f -> d20b7f1d2 IGNITE-3793: Need to fix dependencies and it's licenses Reviewed and merged by Denis Magda (dma...@apache.org) Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/d20b7f1d Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d20b7f1d Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d20b7f1d Branch: refs/heads/master Commit: d20b7f1d29fae7c7907fa9905ac39493ec66b465 Parents: 96527d9 Author: Alexander Fedotov Authored: Fri Feb 3 10:10:49 2017 -0800 Committer: Denis Magda Committed: Fri Feb 3 10:10:49 2017 -0800 -- assembly/LICENSE_FABRIC | 35 ++-- assembly/LICENSE_HADOOP | 17 +- examples/schema-import/bin/h2-server.bat| 2 +- examples/schema-import/bin/h2-server.sh | 4 +-- .../schema-import/bin/schema-import.properties | 2 +- .../src/main/resources/META-INF/licenses.txt.vm | 7 ++-- 6 files changed, 32 insertions(+), 35 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/d20b7f1d/assembly/LICENSE_FABRIC -- diff --git a/assembly/LICENSE_FABRIC b/assembly/LICENSE_FABRIC index b9c75b2..35a8529 100644 --- a/assembly/LICENSE_FABRIC +++ b/assembly/LICENSE_FABRIC @@ -214,9 +214,8 @@ licenses. == For SnapTree: == -This product bundles SnapTree, which is available under a -"3-clause BSD" license. For details, see -https://github.com/nbronson/snaptree/blob/master/LICENSE. +This product bundles SnapTree, which is available under the following: +"3-clause BSD" license. For details, see https://github.com/nbronson/snaptree/blob/master/LICENSE. == For JSR 166 classes in "org.jsr166" package @@ -228,55 +227,55 @@ http://creativecommons.org/publicdomain/zero/1.0/ == For JSR107 API and SPI (https://github.com/jsr107/jsr107spec) javax.cache:cache-api:jar:1.0.0 == -This product bundles JSR107 API and SPI which is available under a: -JSR-000107 JCACHE 2.9 Public Review - Updated Specification License. For details, see https://raw.github.com/jsr107/jsr107spec/master/LICENSE.txt. +This product bundles JSR107 API and SPI which is available under the following: +JSR-000107 JCACHE 2.9 Public Review - Updated Specification License. https://raw.github.com/jsr107/jsr107spec/master/LICENSE.txt == For JSch (http://www.jcraft.com/jsch/) com.jcraft:jsch:jar:0.1.50 == -This product bundles JSch which is available under a: +This product bundles JSch which is available under the following: Revised BSD. For details, see http://www.jcraft.com/jsch/LICENSE.txt. == For JLine (http://nexus.sonatype.org/oss-repository-hosting.html/jline) jline:jline:jar:2.12.1 == -This product bundles JLine which is available under a: +This product bundles JLine which is available under the following: The BSD License. For details, see http://www.opensource.org/licenses/bsd-license.php. == For Scala Library (http://www.scala-lang.org/) org.scala-lang:scala-library:jar:2.* == -This product bundles Scala Library which is available under a: +This product bundles Scala Library which is available under the following: BSD 3-Clause. For details, see http://www.scala-lang.org/license.html. == -For H2 Database Engine (http://www.h2database.com) com.h2database:h2:jar:1.3.175 +For H2 Database Engine (http://www.h2database.com) com.h2database:h2:jar:1.4.191 == -This product bundles H2 Database Engine which is available under a: -The H2 License, Version 1.0. For details, see http://h2database.com/html/license.html. +This product bundles H2 Database Engine which is available under the following: +MPL 2.0, and EPL 1.0. For details, see http://h2database.com/html/license.html. =
svn commit: r1781585 - /ignite/site/trunk/community/resources.html
Author: dmagda Date: Fri Feb 3 18:27:33 2017 New Revision: 1781585 URL: http://svn.apache.org/viewvc?rev=1781585&view=rev Log: updated contributors table Modified: ignite/site/trunk/community/resources.html Modified: ignite/site/trunk/community/resources.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/resources.html?rev=1781585&r1=1781584&r2=1781585&view=diff == --- ignite/site/trunk/community/resources.html (original) +++ ignite/site/trunk/community/resources.html Fri Feb 3 18:27:33 2017 @@ -204,9 +204,10 @@ under the License. Name -Alexander Paschenko Alexandre Boundnik +Alexandr Fedotov Alexander Menshikov +Alexander Paschenko Alexei Scherbakov Aliaksandr Kazlou Alper Tekinalp
svn commit: r1782058 - /ignite/site/trunk/community/resources.html
Author: dmagda Date: Tue Feb 7 19:17:55 2017 New Revision: 1782058 URL: http://svn.apache.org/viewvc?rev=1782058&view=rev Log: updated contributors list Modified: ignite/site/trunk/community/resources.html Modified: ignite/site/trunk/community/resources.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/resources.html?rev=1782058&r1=1782057&r2=1782058&view=diff == --- ignite/site/trunk/community/resources.html (original) +++ ignite/site/trunk/community/resources.html Tue Feb 7 19:17:55 2017 @@ -225,6 +225,7 @@ under the License. Dmitriy Karachentsev Eduard Shangareev Eduard Yuzlikeev +Guru Stron Igor Sapego Ilya Lantukh Ilya Suntsov
svn commit: r1782285 - /ignite/site/trunk/community/resources.html
Author: dmagda Date: Thu Feb 9 00:50:11 2017 New Revision: 1782285 URL: http://svn.apache.org/viewvc?rev=1782285&view=rev Log: updated contributors list Modified: ignite/site/trunk/community/resources.html Modified: ignite/site/trunk/community/resources.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/resources.html?rev=1782285&r1=1782284&r2=1782285&view=diff == --- ignite/site/trunk/community/resources.html (original) +++ ignite/site/trunk/community/resources.html Thu Feb 9 00:50:11 2017 @@ -209,6 +209,7 @@ under the License. Alexander Menshikov Alexander Paschenko Alexei Scherbakov +Alexey Kuznetsov Aliaksandr Kazlou Alper Tekinalp Amir Akhmedov @@ -237,8 +238,11 @@ under the License. Lalit Kumar Jha Marko Jevtic Maxim Afanasiev +Maxim Kozlov +Mikhail Khruzin Michael Griggs Milap Wadhwa +Nikita Amelchev Oleg Ostanin Patrick Peralta Paulo Pires @@ -253,6 +257,7 @@ under the License. Sergey Stronchinskiy Taras Ledkov Tolstolulakov Nikolay +Vadim Opolski Vasilisa Sidorova Vasiliy Sisko Victor Maevski
svn commit: r1782393 - in /ignite/site/trunk: ./ community/ features/ jcache/1.0.0/javadoc/ jcache/1.0.0/javadoc/javax/cache/ jcache/1.0.0/javadoc/javax/cache/annotation/ jcache/1.0.0/javadoc/javax/ca
Author: dmagda Date: Thu Feb 9 21:30:01 2017 New Revision: 1782393 URL: http://svn.apache.org/viewvc?rev=1782393&view=rev Log: seo optimizations [This commit notification would consist of 479 parts, which exceeds the limit of 50 ones, so it was shortened to the summary.]
[ignite] Git Push Summary
Repository: ignite Updated Branches: refs/heads/ignite-4159 [created] d949b739d
ignite git commit: IGNITE-4160: working implementation of Kubernetes IP finder.
Repository: ignite Updated Branches: refs/heads/ignite-4159 d949b739d -> b4b924023 IGNITE-4160: working implementation of Kubernetes IP finder. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/b4b92402 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/b4b92402 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/b4b92402 Branch: refs/heads/ignite-4159 Commit: b4b9240231641614af5318ac0f57721dae5dc30c Parents: d949b73 Author: Denis Magda Authored: Sun Feb 12 18:13:26 2017 -0800 Committer: Denis Magda Committed: Sun Feb 12 18:13:26 2017 -0800 -- .../TcpDiscoveryKubernetesIpFinder.java | 278 +++ .../tcp/ipfinder/kubernetes/package-info.java | 22 ++ pom.xml | 1 + 3 files changed, 301 insertions(+) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/b4b92402/modules/kubernetes/src/main/java/org/apache/ignite/spi/discovery/tcp/ipfinder/kubernetes/TcpDiscoveryKubernetesIpFinder.java -- diff --git a/modules/kubernetes/src/main/java/org/apache/ignite/spi/discovery/tcp/ipfinder/kubernetes/TcpDiscoveryKubernetesIpFinder.java b/modules/kubernetes/src/main/java/org/apache/ignite/spi/discovery/tcp/ipfinder/kubernetes/TcpDiscoveryKubernetesIpFinder.java new file mode 100644 index 000..3c292e8 --- /dev/null +++ b/modules/kubernetes/src/main/java/org/apache/ignite/spi/discovery/tcp/ipfinder/kubernetes/TcpDiscoveryKubernetesIpFinder.java @@ -0,0 +1,278 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes; + + +import java.io.IOException; +import java.net.InetSocketAddress; +import java.net.URL; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.security.SecureRandom; +import java.security.cert.X509Certificate; +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.atomic.AtomicBoolean; +import javax.net.ssl.HostnameVerifier; +import javax.net.ssl.HttpsURLConnection; +import javax.net.ssl.SSLContext; +import javax.net.ssl.SSLSession; +import javax.net.ssl.TrustManager; +import javax.net.ssl.X509TrustManager; +import org.apache.ignite.IgniteLogger; +import org.apache.ignite.internal.IgniteInterruptedCheckedException; +import org.apache.ignite.internal.util.typedef.internal.U; +import org.apache.ignite.resources.LoggerResource; +import org.apache.ignite.spi.IgniteSpiException; +import org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinderAdapter; +import org.codehaus.jackson.annotate.JsonIgnoreProperties; +import org.codehaus.jackson.map.ObjectMapper; + +/** + * Kubernetes Service based IP finder. + */ +public class TcpDiscoveryKubernetesIpFinder extends TcpDiscoveryIpFinderAdapter { +/** Grid logger. */ +@LoggerResource +private IgniteLogger log; + +/** Init routine guard. */ +private final AtomicBoolean initGuard = new AtomicBoolean(); + +/** Init routine latch. */ +private final CountDownLatch initLatch = new CountDownLatch(1); + +/** Trust manager. */ +private TrustManager[] trustAll = new TrustManager[] { +new X509TrustManager() { +public void checkServerTrusted(X509Certificate[] certs, String authType) {} +public void checkClientTrusted(X509Certificate[] certs, String authType) {} +public X509Certificate[] getAcceptedIssuers() { return null; } +} +}; + +/** Host verifier. */ +private HostnameVerifier trustAllHosts = new HostnameVerifier() { +public boolean verify(String hostname, SSLSession session) { +return true; +} +}; + +/** Ignite's Kubernetes Service name. */ +private String serviceName = "ignite"; + +/** Ignite Pod namespace name. */ +private String namespace = "default"; + +/** Kubernetes master URL. */ +private String master = "htt
ignite git commit: IGNITE-4160: working implementation of Kubernetes IP finder.
Repository: ignite Updated Branches: refs/heads/ignite-4159 b4b924023 -> 8b970594e IGNITE-4160: working implementation of Kubernetes IP finder. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/8b970594 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/8b970594 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/8b970594 Branch: refs/heads/ignite-4159 Commit: 8b970594e53c608b1586debca9afefbf94c1ecad Parents: b4b9240 Author: Denis Magda Authored: Sun Feb 12 18:14:32 2017 -0800 Committer: Denis Magda Committed: Sun Feb 12 18:14:32 2017 -0800 -- modules/kubernetes/README.txt | 33 +++ modules/kubernetes/licenses/apache-2.0.txt | 202 +++ modules/kubernetes/pom.xml | 72 +++ .../tcp/ipfinder/gce/package-info.java | 22 ++ 4 files changed, 329 insertions(+) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/8b970594/modules/kubernetes/README.txt -- diff --git a/modules/kubernetes/README.txt b/modules/kubernetes/README.txt new file mode 100644 index 000..c2e23d6 --- /dev/null +++ b/modules/kubernetes/README.txt @@ -0,0 +1,33 @@ +Apache Ignite Kubernetes Module + + +Apache Ignite Kubernetes module provides a TCP Discovery IP Finder that uses a Kubernetes Service +to locate IPs of Apache Ignite nodes containerized by Kubernetes. + +To enable Kubernetes module when starting a standalone node, move 'optional/ignite-Kubernetes' folder to +'libs' folder before running 'ignite.{sh|bat}' script. The content of the module folder will +be added to classpath in this case. + +Importing GCE Module In Maven Project +- + +If you are using Maven to manage dependencies of your project, you can add Kubernetes module +dependency like this (replace '${ignite.version}' with actual Ignite version you are +interested in): + +http://maven.apache.org/POM/4.0.0"; +xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 +http://maven.apache.org/xsd/maven-4.0.0.xsd";> +... + +... + +org.apache.ignite +ignite-kubernetes +${ignite.version} + +... + +... + http://git-wip-us.apache.org/repos/asf/ignite/blob/8b970594/modules/kubernetes/licenses/apache-2.0.txt -- diff --git a/modules/kubernetes/licenses/apache-2.0.txt b/modules/kubernetes/licenses/apache-2.0.txt new file mode 100644 index 000..d645695 --- /dev/null +++ b/modules/kubernetes/licenses/apache-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 +http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which
svn commit: r1782847 - /ignite/site/trunk/community/resources.html
Author: dmagda Date: Mon Feb 13 20:05:34 2017 New Revision: 1782847 URL: http://svn.apache.org/viewvc?rev=1782847&view=rev Log: updated contributors lists Modified: ignite/site/trunk/community/resources.html Modified: ignite/site/trunk/community/resources.html URL: http://svn.apache.org/viewvc/ignite/site/trunk/community/resources.html?rev=1782847&r1=1782846&r2=1782847&view=diff == --- ignite/site/trunk/community/resources.html (original) +++ ignite/site/trunk/community/resources.html Mon Feb 13 20:05:34 2017 @@ -232,6 +232,7 @@ under the License. Ilya Lantukh Ilya Suntsov Ivan Veselovsky +Ivan Rakov Jens Hoffman John Levey Krome Plasma
ignite git commit: IGNITE-4160: added tests and documentation.
Repository: ignite Updated Branches: refs/heads/ignite-4159 8b970594e -> 7f4125d58 IGNITE-4160: added tests and documentation. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7f4125d5 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7f4125d5 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7f4125d5 Branch: refs/heads/ignite-4159 Commit: 7f4125d589bd958ba038a8b09967e9431482bcd7 Parents: 8b97059 Author: Denis Magda Authored: Mon Feb 13 16:13:42 2017 -0800 Committer: Denis Magda Committed: Mon Feb 13 16:13:42 2017 -0800 -- modules/kubernetes/DEVNOTES.txt | 63 + modules/kubernetes/README.txt | 8 +- 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/pom.xml | 21 + .../TcpDiscoveryKubernetesIpFinder.java | 93 ++-- .../tcp/ipfinder/kubernetes/package-info.java | 2 +- .../tcp/ipfinder/gce/package-info.java | 22 - .../TcpDiscoveryKubernetesIpFinderSelfTest.java | 93 .../tcp/ipfinder/kubernetes/package-info.java | 22 + .../testsuites/IgniteKubernetesTestSuite.java | 41 + 14 files changed, 489 insertions(+), 55 deletions(-) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/7f4125d5/modules/kubernetes/DEVNOTES.txt -- diff --git a/modules/kubernetes/DEVNOTES.txt b/modules/kubernetes/DEVNOTES.txt new file mode 100644 index 000..b2a8173 --- /dev/null +++ b/modules/kubernetes/DEVNOTES.txt @@ -0,0 +1,63 @@ +Building and testing Kubernetes module += + +The instructions provide a guidance on how to build and test Ignite Kubernetes IP finder in Kubernetes environment. + +To test the IP finder you have to build the whole Apache Ignite project, package the binary as a Docker image and +feed the image to your kubernetes environment. + +Building Apache Ignite += + +Use the command below to assemble an Apache Ignite binary: +mvn clean package -Prelease -Dignite.edition=fabric-lgpl -DskipTests + +Note, if you alter the build instruction somehow make sure to update the files under 'config' folder if needed. + +Installing Docker and Minikube +== + +Install Docker and Minikube for testing purpose in your development environment. + +Once this is done, make sure that Minikube sees Docker images registered locally: +eval $(minikube docker-env) + +Start Minikube: +minikube start --vm-driver=xhyve + +Assembling Apache Ignite Docker Image += + +Create a folder for all the files to be placed in the Docker image and copy the following there: +- Apache Ignite binary in a zip form built at the step above. +- Dockerfile from `ignite-kubernetes/config/Dockerfile`. +- Ignite configuration with enabled Kubernetes IP finder from `ignite-kubernetes/config/example-kube.xml`. +- The executable file that will start an Ignite node process from `ignite-kubernetes/config/run.sh` + +Go to the folder and execute a command below to prepare the image: +docker build -t ignite-kube:v1 . + +Creating containerized Ignite pods and Ignite lookup service + + +Start the Kubernetes service that is used for IP addresses lookup. Use `ignite-kubernetes/config/ignite-service.yaml`: + kubectl create -f {path_to}/ignite-service.yaml + +Create and deploy Ignite pods using `ignite-kubernetes/config/ignite-deployment.yaml` configuration: +kubectl create -f {path_to}/ignite-deployment.yaml + +Make sure that the pods were deployed and running properly: +kubectl get pod +kubectl logs {pod name} + +Increase or decrease number of Ignite pods checking that Kubernetes IP finder works as expected: +kubectl scale --replicas=4 -f {path_to}/ignite-deployment.yaml + +Docker Image Redeployment += + +If you need to redeploy the docker image after it gets updated and you prefer not to change the image version then +delete a current Kubernetes Ignite deployment (don't delete the service): +kubectl delete deployment ignite-cluster + +After that you are free to build and deploy an updated docker image using the same commands as listed above. http://git-wip-us.apache.org/repos/asf/ignite/blob/7f4125d5/modules/kubernetes/README.txt
ignite git commit: IGNITE-4159: Kubernetes IP finder.
Repository: ignite Updated Branches: refs/heads/master 3ef7a0e03 -> 37c0a2202 IGNITE-4159: Kubernetes IP finder. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/37c0a220 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/37c0a220 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/37c0a220 Branch: refs/heads/master Commit: 37c0a220284527a38b181561865e8a57cfb1549b Parents: 3ef7a0e Author: Denis Magda Authored: Mon Feb 13 17:33:32 2017 -0800 Committer: Denis Magda Committed: Mon Feb 13 17:33:32 2017 -0800 -- 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 | 315 +++ .../tcp/ipfinder/kubernetes/package-info.java | 22 ++ .../TcpDiscoveryKubernetesIpFinderSelfTest.java | 93 ++ .../tcp/ipfinder/kubernetes/package-info.java | 22 ++ .../testsuites/IgniteKubernetesTestSuite.java | 41 +++ pom.xml | 1 + 15 files changed, 1064 insertions(+) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/37c0a220/modules/kubernetes/DEVNOTES.txt -- diff --git a/modules/kubernetes/DEVNOTES.txt b/modules/kubernetes/DEVNOTES.txt new file mode 100644 index 000..b2a8173 --- /dev/null +++ b/modules/kubernetes/DEVNOTES.txt @@ -0,0 +1,63 @@ +Building and testing Kubernetes module += + +The instructions provide a guidance on how to build and test Ignite Kubernetes IP finder in Kubernetes environment. + +To test the IP finder you have to build the whole Apache Ignite project, package the binary as a Docker image and +feed the image to your kubernetes environment. + +Building Apache Ignite += + +Use the command below to assemble an Apache Ignite binary: +mvn clean package -Prelease -Dignite.edition=fabric-lgpl -DskipTests + +Note, if you alter the build instruction somehow make sure to update the files under 'config' folder if needed. + +Installing Docker and Minikube +== + +Install Docker and Minikube for testing purpose in your development environment. + +Once this is done, make sure that Minikube sees Docker images registered locally: +eval $(minikube docker-env) + +Start Minikube: +minikube start --vm-driver=xhyve + +Assembling Apache Ignite Docker Image += + +Create a folder for all the files to be placed in the Docker image and copy the following there: +- Apache Ignite binary in a zip form built at the step above. +- Dockerfile from `ignite-kubernetes/config/Dockerfile`. +- Ignite configuration with enabled Kubernetes IP finder from `ignite-kubernetes/config/example-kube.xml`. +- The executable file that will start an Ignite node process from `ignite-kubernetes/config/run.sh` + +Go to the folder and execute a command below to prepare the image: +docker build -t ignite-kube:v1 . + +Creating containerized Ignite pods and Ignite lookup service + + +Start the Kubernetes service that is used for IP addresses lookup. Use `ignite-kubernetes/config/ignite-service.yaml`: + kubectl create -f {path_to}/ignite-service.yaml + +Create and deploy Ignite pods using `ignite-kubernetes/config/ignite-deployment.yaml` configuration: +kubectl create -f {path_to}/ignite-deployment.yaml + +Make sure that the pods were deployed and running properly: +kubectl get pod +kubectl logs {pod name} + +Increase or decrease number of Ignite pods checking that Kubernetes IP finder works as expected: +kubectl scale --replicas=4 -f {path_to}/ignite-deployment.yaml + +Docker Image Redeployment += + +If you need to redeploy the docker image after it gets updated and you prefer not to change the image version then +delete a current Kubernetes Ignite deployment (don't delete the service): +kubectl delete deployment ignite-cluster + +After that you are free to build and deploy an updated docker image using the same commands as listed above. http://git-wip-us.apache.org/repos/asf/ignite/blob/37c0a220/modules/kubernetes/README.txt
[ignite] Git Push Summary
Repository: ignite Updated Branches: refs/heads/ignite-4159 [deleted] 7f4125d58
[2/2] ignite git commit: Merge remote-tracking branch 'origin/ignite-1.9' into ignite-1.9
Merge remote-tracking branch 'origin/ignite-1.9' into ignite-1.9 Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f606a0a3 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f606a0a3 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f606a0a3 Branch: refs/heads/ignite-1.9 Commit: f606a0a357212896b09939ec5bfbc1f9004871aa Parents: db4ccbb 3ef7a0e Author: Denis Magda Authored: Mon Feb 13 17:46:19 2017 -0800 Committer: Denis Magda Committed: Mon Feb 13 17:46:19 2017 -0800 -- NOTICE | 2 +- assembly/NOTICE_FABRIC | 2 +- assembly/NOTICE_HADOOP | 2 +- modules/core/src/main/java/META-INF/NOTICE | 2 +- .../internal/GridEventConsumeHandler.java | 5 + .../internal/GridMessageListenHandler.java | 5 + .../ignite/internal/IgniteVersionUtils.java | 2 +- .../processors/cache/GridCacheProcessor.java| 5 + .../continuous/CacheContinuousQueryHandler.java | 16 + .../continuous/GridContinuousHandler.java | 5 + .../continuous/GridContinuousProcessor.java | 3 + .../cache/GridCacheLifecycleAwareSelfTest.java | 33 ++ ...niteTopologyValidatorGridSplitCacheTest.java | 334 +++ .../ClientReconnectContinuousQueryTest.java | 201 +++ .../startup/GridRandomCommandLineLoader.java| 2 +- .../IgniteTopologyValidatorTestSuit.java| 1 + .../IgniteCacheQuerySelfTestSuite3.java | 2 + .../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 ++ .../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 +- .../Properties/AssemblyInfo.cs | 2 +- modules/scalar-2.10/pom.xml | 2 +- modules/scalar/pom.xml | 2 +- .../app/modules/branding/branding.provider.js | 2 +- .../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 parent/pom.xml | 2 +- 51 files changed, 1743 insertions(+), 818 deletions(-) --
[1/2] ignite git commit: IGNITE-4159: Kubernetes IP finder. (cherry picked from commit 37c0a22)
Repository: ignite Updated Branches: refs/heads/ignite-1.9 3ef7a0e03 -> f606a0a35 IGNITE-4159: Kubernetes IP finder. (cherry picked from commit 37c0a22) Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/db4ccbbc Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/db4ccbbc Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/db4ccbbc Branch: refs/heads/ignite-1.9 Commit: db4ccbbce09a6027252ecadacdb078f8a44869ee Parents: 543a65f Author: Denis Magda Authored: Mon Feb 13 17:33:32 2017 -0800 Committer: Denis Magda Committed: Mon Feb 13 17:46:01 2017 -0800 -- 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 | 315 +++ .../tcp/ipfinder/kubernetes/package-info.java | 22 ++ .../TcpDiscoveryKubernetesIpFinderSelfTest.java | 93 ++ .../tcp/ipfinder/kubernetes/package-info.java | 22 ++ .../testsuites/IgniteKubernetesTestSuite.java | 41 +++ pom.xml | 1 + 15 files changed, 1064 insertions(+) -- http://git-wip-us.apache.org/repos/asf/ignite/blob/db4ccbbc/modules/kubernetes/DEVNOTES.txt -- diff --git a/modules/kubernetes/DEVNOTES.txt b/modules/kubernetes/DEVNOTES.txt new file mode 100644 index 000..b2a8173 --- /dev/null +++ b/modules/kubernetes/DEVNOTES.txt @@ -0,0 +1,63 @@ +Building and testing Kubernetes module += + +The instructions provide a guidance on how to build and test Ignite Kubernetes IP finder in Kubernetes environment. + +To test the IP finder you have to build the whole Apache Ignite project, package the binary as a Docker image and +feed the image to your kubernetes environment. + +Building Apache Ignite += + +Use the command below to assemble an Apache Ignite binary: +mvn clean package -Prelease -Dignite.edition=fabric-lgpl -DskipTests + +Note, if you alter the build instruction somehow make sure to update the files under 'config' folder if needed. + +Installing Docker and Minikube +== + +Install Docker and Minikube for testing purpose in your development environment. + +Once this is done, make sure that Minikube sees Docker images registered locally: +eval $(minikube docker-env) + +Start Minikube: +minikube start --vm-driver=xhyve + +Assembling Apache Ignite Docker Image += + +Create a folder for all the files to be placed in the Docker image and copy the following there: +- Apache Ignite binary in a zip form built at the step above. +- Dockerfile from `ignite-kubernetes/config/Dockerfile`. +- Ignite configuration with enabled Kubernetes IP finder from `ignite-kubernetes/config/example-kube.xml`. +- The executable file that will start an Ignite node process from `ignite-kubernetes/config/run.sh` + +Go to the folder and execute a command below to prepare the image: +docker build -t ignite-kube:v1 . + +Creating containerized Ignite pods and Ignite lookup service + + +Start the Kubernetes service that is used for IP addresses lookup. Use `ignite-kubernetes/config/ignite-service.yaml`: + kubectl create -f {path_to}/ignite-service.yaml + +Create and deploy Ignite pods using `ignite-kubernetes/config/ignite-deployment.yaml` configuration: +kubectl create -f {path_to}/ignite-deployment.yaml + +Make sure that the pods were deployed and running properly: +kubectl get pod +kubectl logs {pod name} + +Increase or decrease number of Ignite pods checking that Kubernetes IP finder works as expected: +kubectl scale --replicas=4 -f {path_to}/ignite-deployment.yaml + +Docker Image Redeployment += + +If you need to redeploy the docker image after it gets updated and you prefer not to change the image version then +delete a current Kubernetes Ignite deployment (don't delete the service): +kubectl delete deployment ignite-cluster + +After that you are free to build and deploy an updated docker image using the same commands as listed above. http://git-wip-us.apache.org/repos/asf/ignite/blob/db4ccbbc/modules/kubernetes/README.txt