[21/50] [abbrv] ignite git commit: Minor compilation fixes in IgniteCacheProxy for Java 8.

2017-03-30 Thread agoncharuk
Minor compilation fixes in IgniteCacheProxy for Java 8.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/cb5e9ebc
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/cb5e9ebc
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/cb5e9ebc

Branch: refs/heads/ignite-3477-master
Commit: cb5e9ebc004102792dbeba9ddb43713ecf4074e2
Parents: 488b25e
Author: devozerov 
Authored: Mon Mar 27 15:33:53 2017 +0300
Committer: devozerov 
Committed: Mon Mar 27 15:33:53 2017 +0300

--
 .../processors/cache/IgniteCacheProxy.java  | 23 +++-
 1 file changed, 8 insertions(+), 15 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ignite/blob/cb5e9ebc/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
--
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
index 28cf0db..d36b58c 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
@@ -99,16 +99,6 @@ public class IgniteCacheProxy extends 
AsyncSupportAdapter ctx;
 
@@ -379,9 +369,10 @@ public class IgniteCacheProxy extends 
AsyncSupportAdapter extends 
AsyncSupportAdapter

[21/50] [abbrv] ignite git commit: Minor fixes.

2017-03-13 Thread vozerov
Minor fixes.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/684dc7be
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/684dc7be
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/684dc7be

Branch: refs/heads/ignite-4565-ddl
Commit: 684dc7be114c8acccf4dd196daca56c041d78a5c
Parents: 1080e68
Author: Andrey Novikov 
Authored: Thu Mar 2 16:36:43 2017 +0700
Committer: Andrey Novikov 
Committed: Thu Mar 2 16:36:43 2017 +0700

--
 .../internal/GridCacheRecreateLockTest.java | 18 +-
 modules/web-console/backend/app/agent.js| 36 
 modules/web-console/backend/app/browser.js  | 28 +++
 .../frontend/app/modules/sql/sql.controller.js  |  1 -
 .../demo/service/DemoCachesLoadService.java | 26 ++
 5 files changed, 107 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ignite/blob/684dc7be/modules/core/src/test/java/org/apache/ignite/internal/GridCacheRecreateLockTest.java
--
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/GridCacheRecreateLockTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/GridCacheRecreateLockTest.java
index ae4ef87..24bb1c9 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/GridCacheRecreateLockTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/GridCacheRecreateLockTest.java
@@ -1,3 +1,20 @@
+/*
+ * 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;
 
 import org.apache.ignite.Ignite;
@@ -13,7 +30,6 @@ import 
org.apache.ignite.testframework.junits.common.GridCommonTest;
  */
 @GridCommonTest(group = "Kernal Self")
 public class GridCacheRecreateLockTest extends GridCommonAbstractTest {
-
 /**
  * @throws IgniteCheckedException If failed.
  */

http://git-wip-us.apache.org/repos/asf/ignite/blob/684dc7be/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 4cae8ee..b4394b7 100644
--- a/modules/web-console/backend/app/agent.js
+++ b/modules/web-console/backend/app/agent.js
@@ -329,6 +329,42 @@ module.exports.factory = function(_, fs, path, JSZip, 
socketio, settings, mongo,
 }
 
 /**
+ * Collect running queries
+ * @param {Boolean} demo Is need run command on demo node.
+ * @param {Number} duration minimum duration time of running queries.
+ * @returns {Promise}
+ */
+queryCollectRunning(demo, duration) {
+const cmd = new Command(demo, 'exe')
+.addParam('name', 
'org.apache.ignite.internal.visor.compute.VisorGatewayTask')
+.addParam('p1', '')
+.addParam('p2', 
'org.apache.ignite.internal.visor.query.VisorCollectRunningQueriesTask')
+.addParam('p3', 'java.lang.Long')
+.addParam('p4', duration);
+
+return this.executeRest(cmd);
+}
+
+/**
+ * Cancel running query.
+ * @param {Boolean} demo Is need run command on demo node.
+ * @param {String} nid Node id.
+ * @param {Number} queryId query id to cancel.
+ * @returns {Promise}
+ */
+queryCancel(demo, nid, queryId) {
+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.VisorCancelQueriesTask')
+.addParam('p3', 'java.util.Collection')
+.addParam('p4', 'java.lang.Long')
+.addParam('p5', queryId);
+
+return this.executeRest(cmd);
+}
+
+/**
  * @param {Boolean} demo Is need run command on 

[21/50] [abbrv] ignite git commit: minor

2015-12-07 Thread sboikov
minor


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c4d29f98
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c4d29f98
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c4d29f98

Branch: refs/heads/master
Commit: c4d29f987939f114f54a0d2cbf5837e1066015d4
Parents: 3ac1504
Author: Yakov Zhdanov 
Authored: Wed Dec 2 18:02:05 2015 +0300
Committer: Yakov Zhdanov 
Committed: Wed Dec 2 18:02:05 2015 +0300

--
 .../org/apache/ignite/internal/portable/BinaryWriterExImpl.java | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ignite/blob/c4d29f98/modules/core/src/main/java/org/apache/ignite/internal/portable/BinaryWriterExImpl.java
--
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/portable/BinaryWriterExImpl.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/portable/BinaryWriterExImpl.java
index 95807ea..59632f1 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/portable/BinaryWriterExImpl.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/portable/BinaryWriterExImpl.java
@@ -317,7 +317,7 @@ public class BinaryWriterExImpl implements BinaryWriter, 
BinaryRawWriterEx, Obje
 flags |= PortableUtils.FLAG_OFFSET_ONE_BYTE;
 else if (offsetByteCnt == PortableUtils.OFFSET_2)
 flags |= PortableUtils.FLAG_OFFSET_TWO_BYTES;
-
+
 // Write raw offset if needed.
 if (rawOffPos != 0) {
 flags |= PortableUtils.FLAG_HAS_RAW;
@@ -1806,9 +1806,6 @@ public class BinaryWriterExImpl implements BinaryWriter, 
BinaryRawWriterEx, Obje
 out.unsafeWriteByte(GridPortableMarshaller.HANDLE);
 out.unsafeWriteInt(pos - old);
 
-if (obj.getClass().isArray())
-System.out.println("CASE!");
-
 return true;
 }
 }