IGFS works as usual caches and you can get it remotely too without any
problem.
Before accessing set Network configuration, so your program will be able to
connect to remote node.
ishan-jain wrote
> And IGFS cache is system cache so cannot be remotely accessed.
>
> On Thu, Jun 8, 2017 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@
> >
>> 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.
>>>
>>
>>
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/IGFS-Question-tp13447p13515.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.