You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Krzysztof Chmielewski <kr...@gmail.com> on 2017/11/22 13:26:16 UTC

Unable to query system cache through Visor console

Hi, 
is there a way to query system caches like *ignite-sys-atomic-cache* via
Visor console?
If I'm trying to execute Visor command "cache -scan -c=@c2" where @2 is a
cache's id, I'm receiving this error:
*(wrn) <visor>: Failed to get cache because it is a system cache:
ignite-sys-atomic-cache@default-ds-group*


Im using Ignite 2.3.0

Thanks
Krzysztof



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Unable to query system cache through Visor console

Posted by Denis Magda <dm...@apache.org>.
Krzystof,

It will be more correct to add missing metrics that will provide this information. Feel free to propose the new metrics in this discussion:
http://apache-ignite-developers.2346864.n4.nabble.com/Ignite-Enhancement-Proposal-6-Metrics-td24192.html <http://apache-ignite-developers.2346864.n4.nabble.com/Ignite-Enhancement-Proposal-6-Metrics-td24192.html>

The community has putting efforts on making the metrics more mature and advanced.

P.S. don’t forget to sign up for the dev list before sending a message there.

--
Denis

> On Nov 22, 2017, at 1:12 PM, Krzysztof Chmielewski <kr...@gmail.com> wrote:
> 
> Thanks for your response Denis. 
> My uses case would be to list all Ignite semaphores and Ignite atomic
> references used in my Ignite grid.
> As fare as I know, those are stored in system caches.
> 
> Thanks
> Krzysztof 
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Unable to query system cache through Visor console

Posted by Krzysztof Chmielewski <kr...@gmail.com>.
Thanks for your response Denis. 
My uses case would be to list all Ignite semaphores and Ignite atomic
references used in my Ignite grid.
As fare as I know, those are stored in system caches.

Thanks
Krzysztof 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Unable to query system cache through Visor console

Posted by Denis Mekhanikov <dm...@gmail.com>.
Hi Krzysztof!

It's even problematic to get an instance of system cache over Java API, not
even from Visor CLI.
Internal system information is stored there, so it's hidden from users. And
Visor cannot access it as well, because it uses public API.

Why would you want to do something like that? Could you describe your
use-case?

Denis

ср, 22 нояб. 2017 г. в 16:26, Krzysztof Chmielewski <
krzysiek.chmielewski@gmail.com>:

> Hi,
> is there a way to query system caches like *ignite-sys-atomic-cache* via
> Visor console?
> If I'm trying to execute Visor command "cache -scan -c=@c2" where @2 is a
> cache's id, I'm receiving this error:
> *(wrn) <visor>: Failed to get cache because it is a system cache:
> ignite-sys-atomic-cache@default-ds-group*
>
>
> Im using Ignite 2.3.0
>
> Thanks
> Krzysztof
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>