And IGFS cache is system cache so cannot be remotely accessed.

On Thu, Jun 8, 2017 at 8:51 AM, Ishan Jain <[email protected]> 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 <[email protected]>
> wrote:
>
>> Hi, maybe like this:
>>
>> try (
>>          InputStream in = fs.open(new IgfsPath(dataPath));
>>          BufferedReader buffer = new BufferedReader(new
>> InputStreamReader(in));
>>          IgniteDataStreamer<Integer,String> dsStreamer =
>> ignite.dataStreamer(cache.getName())
>>      )
>>        {
>>             AtomicInteger i = new AtomicInteger();
>>             buffer.lines().forEach(s ->
>> dsStreamer.add(i.getAndIncrement(),s));
>>         }
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/IGFS-Question-tp13447p13463.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>

Reply via email to