flashxio / FlashX

FlashX is a collection of big data analytics tools that perform data analytics in the form of graphs and matrices.
http://flashx.io/
Apache License 2.0
233 stars 53 forks source link

fix a bug in accessing SSDs. #402

Open zheng-da opened 7 years ago

zheng-da commented 7 years ago

If we store a block matrix to SSDs, we may get this error. This bug has been temporarily fixed by converting the block matrix to a normal matrix. We need to handle it more gracefully.

> emdata <- fm.conv.store(data, in.mem = FALSE)
mkdir: Permission denied

 *** caught segfault ***
address (nil), cause 'memory not mapped'

Traceback:
 1: .Call("R_FM_conv_store", fm, as.logical(in.mem), as.character(name),     PACKAGE = "FlashR")
 2: fm.conv.store(data, in.mem = FALSE)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace