You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by pgarg <pg...@gridgain.com> on 2015/05/09 09:46:02 UTC
Issues fetching data from REST API
/asked by colin duggan/
I'm configured a node locally and can access via
http://localhost:47100/ignite however when i execute a command like getting
the node version to try read and write to a cache i get the following
response ÿ|h2—Ÿ™Lá·šŠHpT«Ã
My setup is very basic - I have a single Ignite node running on a Windows
machine. The node is using one of the sample cache examples when starting
the node.
Should i be using a separate port or do i need to enable REST API?
-----
/This post is migrated from now discontinued Apache Ignite forum at
http://apacheignite.readme.io/v1.0/discuss/
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Issues-fetching-data-from-REST-API-tp155.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Issues fetching data from REST API
Posted by sumeet70 <su...@gmail.com>.
Check out the Apache Ignite Extensions (aiex) project...
To ease testing of scenarios like this, I have started put together a
modular Apache Ignite API browser
Check it out here: https://github.com/sumeet70/aiex
You ill be able to interact with all Apache Ignite Rest Api related to
caches.
If you want to create your own extensions, one way to do it ould be
implementing a Job and Task, then you can invoke it via the rest interface
using endpoint /exe
Let me know if you are unable to run. Docs are missing because I just
started the project.
Simply clone it and run: npm install; bower install; npm start
and browse to http://localhost
Hope this helps
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Issues-fetching-data-from-REST-API-tp155p1659.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Issues fetching data from REST API
Posted by pgarg <pg...@gridgain.com>.
/commented by alexey goncharuk/
Colin, you are right. Ports 47100 and 47500 are used internally by Ignite
for node communication and discovery.
-----
/This post is migrated from now discontinued Apache Ignite forum at
http://apacheignite.readme.io/v1.0/discuss/
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Issues-fetching-data-from-REST-API-tp155p157.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Issues fetching data from REST API
Posted by pgarg <pg...@gridgain.com>.
/commented by colin duggan/
ok i just needed to update the port number - when i started IGnite with the
-v flag it displayed the various ports used available for tcp access. One of
which included 8082. When i replace this port number the REST service now
works as expected
-----
/This post is migrated from now discontinued Apache Ignite forum at
http://apacheignite.readme.io/v1.0/discuss/
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Issues-fetching-data-from-REST-API-tp155p156.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.