Michael Kaufmann created CRAIL-35:
-------------------------------------
Summary: Missing (understandable) error message if Crail runs out
of free hugepages
Key: CRAIL-35
URL: https://issues.apache.org/jira/browse/CRAIL-35
Project: Apache Crail
Issue Type: Bug
Reporter: Michael Kaufmann
Crail does not give useful error messages when it runs out of huge pages. I
would appreciate something like "Not enough free hugepages. Please try to
delete some files in /path/to/hugepages/dir" instead of the quite uninformative
stack dump that it currently shows. If you don't have your own personal
[~pepperjo] it can take quite some time to find out what's wrong and how to fix
it.
{{18/05/17 17:14:35 INFO crail: datanode statistics, freeBlocks 19456}}
{{18/05/17 17:14:35 INFO crail: datanode statistics, freeBlocks 20480}}
{{18/05/17 17:14:36 INFO crail: datanode statistics, freeBlocks 21504}}
{{18/05/17 17:14:36 INFO crail: datanode statistics, freeBlocks 22528}}
{{Exception in thread "main" java.io.IOException: Map failed}}
{{ at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:940)}}
{{ at
org.apache.crail.storage.rdma.RdmaStorageServer.allocateResource(RdmaStorageServer.java:114)}}
{{ at
org.apache.crail.storage.StorageServer.main(StorageServer.java:152)}}
{{Caused by: java.lang.OutOfMemoryError: Map failed}}
{{ at sun.nio.ch.FileChannelImpl.map0(Native Method)}}
{{ at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:937)}}
{{ ... 2 more}}
This bug applies to git rev: 0db64fddad52044eab75ee73e1857c7bcf6fae7d (and
earlier)
thanks,
Michael
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)