Created 04-11-2018 10:35 PM
I get out of memory execption
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fb9c6000000, 34795945984, 0) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 34795945984 bytes for committing reserved memory. # An error report file with more information is saved as: # /var/log/hbase/hs_err_pid14895.log
Created 04-11-2018 11:28 PM
Without your memory settings its difficult to help but generally your can run the below command to temporarily set the memory
sudo -u hbase HBASE_HEAPSIZE=10G hbase hbck -fix
Please revert
Created 04-11-2018 11:31 PM
@Geoffrey Shelton Okot I tried that..but that did not help. I have attached the log that has more infohs-err-pid19844.txt
Created 04-11-2018 11:45 PM
Can you share /var/log/hbase/hs_err_pid14895.log
Created 04-11-2018 11:50 PM
Created 04-13-2018 06:20 AM
Error shows process is not able to get the required memory from system.
Ideally HBASE_HEAPSIZE should have helped.
By default, hbase hbck will use default heap size of JVM which is usually ~1GB.
You can try setting below option and then try executing hbck.
export _JAVA_OPTIONS="-Xmx1024m -Xms1024m"
hbase hbck
Note : You can try different values of heap in _JAVA_OPTIONS