You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "RISHIKESH BANSOD (JIRA)" <ji...@apache.org> on 2017/05/03 15:16:04 UTC

[jira] [Comment Edited] (IGNITE-4043) Visor CMD: cache scan - support execution on selected node only

    [ https://issues.apache.org/jira/browse/IGNITE-4043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990367#comment-15990367 ] 

RISHIKESH BANSOD edited comment on IGNITE-4043 at 5/3/17 3:16 PM:
------------------------------------------------------------------

Hi, [~kuaw26], [~vkulichenko] I am thinking of following approach. Define one scanArgId variable, which will take node id(UUID) as input. Then following code needs to be added in VisorCacheScanCommand.scala, 

if scanArgId.isDefined then,
    executeOne(nid: UUID, task: Class[_ <: VisorMultiNodeTask[A, R, J]], arg: A) 
else
    executeRandom(grp: ClusterGroup, task: Class[_ <: VisorMultiNodeTask[A, R, J]], arg: A)

If part is the extra part which needs to be added, please verify this so that I can continue with my approach

Thanks,



was (Author: rishi007bansod):
Hi, [~kuaw26] I am thinking of following approach. Define one scanArgId variable, which will take node id(UUID) as input. Then following code needs to be added in VisorCacheScanCommand.scala, 

if scanArgId.isDefined then,
    executeOne(nid: UUID, task: Class[_ <: VisorMultiNodeTask[A, R, J]], arg: A) 
else
    executeRandom(grp: ClusterGroup, task: Class[_ <: VisorMultiNodeTask[A, R, J]], arg: A)

If part is the extra part which needs to be added, please verify this so that I can continue with my approach

Thanks,


> Visor CMD: cache scan - support execution on selected node only
> ---------------------------------------------------------------
>
>                 Key: IGNITE-4043
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4043
>             Project: Ignite
>          Issue Type: Task
>          Components: wizards
>    Affects Versions: 1.7
>            Reporter: Alexey Kuznetsov
>            Assignee: RISHIKESH BANSOD
>
> See: http://stackoverflow.com/questions/39887651/get-cache-entrieskeys-values-list-on-particular-node-in-apache-ignite#



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)