ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ozerov <voze...@gridgain.com>
Subject Re: How to access data stored in IGFS or IGFS as Hadoop cache
Date Mon, 07 Sep 2015 07:12:42 GMT
>> 1.  How to access(set/get) data stored in IGFS or IGFS as Hadoop cache?

This depeds on how do you want to access it. If you are accessing data form
Hadoop, then it is not different from any other Hadoop file systems: you
can use FileSystem API, "dfs" command line tool, etc.. If you want to
access data through Ignite API, use IgniteFileSystem API:
https://apacheignite.readme.io/docs/igfs

>> 2.  In IGFS as Hadoop cache mode, is core-site.xml need to be
configured? (hadoop v2)

Yes, it needs to be configured.

>> - what shall fs.defaultFS be?

"fs.defaultFS" parameter should be set to the same value as "fs.default.name"
in v1. It should be URI to running IGFS instance. Please see "Configure
Hadoop" and "File System URI" paragraphs here
https://apacheignite.readme.io/docs/file-system for examples.

Let us know if you still have outstanding questions.

>> - where shall this core-site.xml file put, in hadoop path or ignite path
or both?

core-site.xml is only needed by Hadoop. Please put it into Hadoop path as
usual.

On Sun, Sep 6, 2015 at 7:14 AM, yaoqin <yaoqin@huawei.com> wrote:

> 1.  How to access(set/get) data stored in IGFS or IGFS as Hadoop cache?
>
> 2.  In IGFS as Hadoop cache mode, is core-site.xml need to be configured?
> (hadoop v2)
>
> - what shall fs.defaultFS be?
>
> - where shall this core-site.xml file put, in hadoop path or ignite path
> or both?
>
>
>
>
>
>
>

Mime
View raw message