ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject incubator-ignite git commit: # IGNITE-737 WIP fixed cache command.
Date Tue, 21 Apr 2015 10:58:11 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-737 02dda0b4c -> 876b3a120


# IGNITE-737 WIP fixed cache command.


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

Branch: refs/heads/ignite-737
Commit: 876b3a12032cf38449ee2ccb4b9fdc111623c1c2
Parents: 02dda0b
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Tue Apr 21 17:57:58 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Tue Apr 21 17:57:58 2015 +0700

----------------------------------------------------------------------
 .../apache/ignite/visor/commands/cache/VisorCacheCommand.scala   | 2 +-
 .../src/main/scala/org/apache/ignite/visor/visor.scala           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/876b3a12/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
index d5d89f0..c3b6462 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
@@ -328,7 +328,7 @@ class VisorCacheCommand {
                     sumT += (
                         mkCacheName(ad.name()),
                         ad.mode(),
-                        ad.nodes,
+                        ad.nodes.map(nid8),
                         (
                             "min: " + ad.minimumSize,
                             "avg: " + formatDouble(ad.averageSize),

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/876b3a12/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala b/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala
index 77582c8..2f2fdaf 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/visor.scala
@@ -260,11 +260,11 @@ object visor extends VisorTag {
 
     /**
      * @param node Optional node.
-     * @return Cluster group with specified node or projection with random node if specified
node is `None`.
+     * @return Cluster group with specified node or projection with all remote nodes.
      */
     def groupForNode(node: Option[ClusterNode]): ClusterGroup = node match {
         case Some(n) => ignite.cluster.forNode(n)
-        case None => ignite.cluster.forRandom()
+        case None => ignite.cluster.forRemotes()
     }
 
     /**


Mime
View raw message