Re: IGFS Question

2017-06-08 Thread Yermek
Yes, of course, you're right. I used a little wrong phrase, only by using FileSystem API vkulichenko wrote > IGFS cache can't and should not be accessed directly. Use FileSystem API > for this. > > -Val -- View this message in context:

Re: IGFS Question

2017-06-08 Thread Yermek
7 at 8:51 AM, Ishan Jain > jain.ishan95@ > wrote: > >> But for this i have to open ignite with IGFS config. How will i use >> ignite >> then with normal config? >> >> On Wed, Jun 7, 2017 at 3:55 PM, Yermek > yermek.kumarbekov@ &

Re: IGFS Question

2017-06-08 Thread Yermek
ishan-jain wrote > But for this i have to open ignite with IGFS config. How will i use ignite > then with normal config? > > On Wed, Jun 7, 2017 at 3:55 PM, Yermek > yermek.kumarbekov@ > wrote: > >> Hi, maybe like this: >> >> try ( >> I

Re: IGFS Question

2017-06-07 Thread Yermek
Hi, maybe like this: try ( InputStream in = fs.open(new IgfsPath(dataPath)); BufferedReader buffer = new BufferedReader(new InputStreamReader(in)); IgniteDataStreamer dsStreamer = ignite.dataStreamer(cache.getName()) ) {

Re: Storing JSON data on Ignite cache

2017-06-06 Thread Yermek
Hi, I think, also possible to query JSON data from Apache Spark. You just should download data from cache to Spark dataset and parallelize it. To start using Spark just add libraries links to Maven project. -- View this message in context: