View contents of cache

classic Classic list List threaded Threaded
7 messages Options
Alexey Alexey
Reply | Threaded
Open this post in threaded view
|

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

vkulichenko vkulichenko
Reply | Threaded
Open this post in threaded view
|

Re: View contents of cache

Hi Alexey,

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

What error do you get?

-Val
Alexey Alexey
Reply | Threaded
Open this post in threaded view
|

Re: View contents of cache

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
Alexey Alexey
Reply | Threaded
Open this post in threaded view
|

Re: View contents of cache

In reply to this post by vkulichenko
I see error:

"Unable to access the site"

It seems address
http://node1:8080/ignite?cmd=size&cacheName=myCacheName 
is incorrect
vkulichenko vkulichenko
Reply | Threaded
Open this post in threaded view
|

Re: View contents of cache

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
Alexey Alexey
Reply | Threaded
Open this post in threaded view
|

Re: View contents of cache

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
vkulichenko vkulichenko
Reply | Threaded
Open this post in threaded view
|

Re: View contents of cache

Do you have only one node? Can you attach the log file?

-Val