You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Alexey <js...@list.ru> on 2016/05/23 13:52:10 UTC

View contents of cache

Hi All,

I am trying to check the contents of cache as shown in example 
https://apacheignite.readme.io/docs/kafka-streamer but see an error.  Ignite
nodes started using ExampleNodeStartup.
What is my mistake? Thanks.

Example:

HTTP
http://node1:8080/ignite?cmd=size&cacheName=myCacheName





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/View-contents-of-cache-tp5118.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: View contents of cache

Posted by vkulichenko <va...@gmail.com>.
Do you have only one node? Can you attach the log file?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/View-contents-of-cache-tp5118p5192.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: View contents of cache

Posted by Alexey <js...@list.ru>.
Thank you for your answer!
Unfortunately it doesn't help. I copyed ignite-rest-http folder to lib, add
this module to dependancies and started node but I still unable to get
access to the site

http://node1:8080/ignite?cmd=size&cacheName=myCache



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/View-contents-of-cache-tp5118p5184.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: View contents of cache

Posted by vkulichenko <va...@gmail.com>.
Most likely you don't have ignite-rest-http module enabled. Go to your
IGNITE_HOME and copy 'libs/optional/ignite-rest-http' folder to 'libs'
folder and start the node.

Let me know if this helps.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/View-contents-of-cache-tp5118p5178.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: View contents of cache

Posted by Alexey <js...@list.ru>.
I see error:

"Unable to access the site"

It seems address
http://node1:8080/ignite?cmd=size&cacheName=myCacheName 
is incorrect



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/View-contents-of-cache-tp5118p5124.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: View contents of cache

Posted by Alexey <js...@list.ru>.
Yes, I need to create Kafka streamer.
I try to create simple example, but it doesn't work and I want to check the
contents of my cache like described in
https://apacheignite.readme.io/docs/kafka-streamer




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/View-contents-of-cache-tp5118p5123.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: View contents of cache

Posted by vkulichenko <va...@gmail.com>.
Hi Alexey,

You attached the link to the page about Kafka streamer, are you sure it's
correct?

What error do you get?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/View-contents-of-cache-tp5118p5122.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.