Given that you have tried a smaller file and it worked, I think it is a heap allocation problem. Unlike HDFS, IGFS stores data in memory and therefore requires more RAM. Can you allocate -Xmx2g and see if the same problem remains?
D. On Tue, Sep 8, 2015 at 12:39 AM, yaoqin <[email protected]> wrote: > JVM_OPTS="-Xms1g –Xmx1g -server -XX:+AggressiveOpts -XX:MaxPermSize=256m" > > > > > > > > *发件人:* Dmitriy Setrakyan [mailto:[email protected]] > *发送时间:* 2015年9月8日 12:07 > *收件人:* yaoqin; [email protected]; Hejun (Jun He) > *主题:* Re: 答复: 答复: 答复: How to access data stored in IGFS or IGFS as Hadoop > cache > > > > Can you tell us how much memory you allocate for the JVM running IGFS? > What is the -Xmx value? > > > > Also, would be great to find out if you are running out of memory. Can you > check in a profiler how much memory is used? > > > > D. > > > > On Mon, Sep 7, 2015 at 7:47 PM, yaoqin <[email protected]> wrote: > > Yes, I tried small file before ,it can work > > > > And I use official example > “org.apache.ignite.examples.igfs.IgfsMapReduceExample” to upload the file > (size 324.13) to IGFS, it can only success with 128M,where are other data > go? (the second line shows the right size of the file using hadoop fs –put > XXXX) > > >
