<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Hbase Regionserver doesn't start in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157640#M120041</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/9581/raghug0922.html" nodeid="9581"&gt;@Raghu Gurrala&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Would you mind taking a look of below page.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.theshell.guru/native-memory-allocation-mmap-failed-to-map-xx-bytes-for-committing-reserved-memory-jdk-1-8-centos-6-7/" target="_blank"&gt;http://www.theshell.guru/native-memory-allocation-mmap-failed-to-map-xx-bytes-for-committing-reserved-memory-jdk-1-8-centos-6-7/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This guy also faced the same problem and I think he has the working fix.&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2016 14:52:14 GMT</pubDate>
    <dc:creator>asinghal</dc:creator>
    <dc:date>2016-05-20T14:52:14Z</dc:date>
    <item>
      <title>Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157633#M120034</link>
      <description>&lt;P&gt;Please help me out, &lt;/P&gt;&lt;P&gt;Unable to figure out what the problem is while starting regionserver, It exits with following message &lt;/P&gt;&lt;PRE&gt;starting regionserver, logging to /var/log/hbase/hbase-root-regionserver-ip-172-31-19-88.out
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000300000000, 20401094656, 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 20401094656 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /var/log/hbase/hs_err_pid31016.log&lt;/PRE&gt;&lt;P&gt;below are the free -m o/p:&lt;/P&gt;&lt;PRE&gt;            total |used |free|shared|buffers|cached
Mem:         68555 |21134 |47420|0|181 |14850 -/+ buffers/cache:       6102      62452
Swap:            0          0          0&lt;/PRE&gt;&lt;P&gt;I am not not sure if it is a Java Error or OS error&lt;/P&gt;&lt;P&gt;Below is are system configs:&lt;/P&gt;&lt;PRE&gt;Ram : 70gb
os: Redhat centos 6.7
Ambari : 2.2.2  
HDP : 2.4.2
Java Version (Ambari): 1.8.0_40 &lt;/PRE&gt;</description>
      <pubDate>Fri, 20 May 2016 00:40:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157633#M120034</guid>
      <dc:creator>Joyglobal</dc:creator>
      <dc:date>2016-05-20T00:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157634#M120035</link>
      <description>&lt;P&gt;That error message is saying that the JVM failed to allocate ~20GB of memory via the Linux system call (mmap). It looks like that would be very close to the total unused memory on your system which is likely why the call failed. The operating system couldn't actually allocate that much memory for your process.&lt;/P&gt;&lt;P&gt;Try setting -Xmx16G in the variable HBASE_REGIONSERVER_OPTS in hbase-env.sh instead of 20G.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 00:49:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157634#M120035</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-05-20T00:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157635#M120036</link>
      <description>&lt;P&gt;I have changed the configuration in Ambari it resulted as follows:&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000400000000, 16106127360, 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 16106127360 bytes for committing reserved memory. # An error report file with more information is saved as: # /var/log/hbase/hs_err_pid35924.log&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 01:15:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157635#M120036</guid>
      <dc:creator>Joyglobal</dc:creator>
      <dc:date>2016-05-20T01:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157636#M120037</link>
      <description>&lt;P&gt;Additional Information:&lt;/P&gt;&lt;P&gt;HBase Region Server that fails immediately on start from Ambari shows this error in logfile:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2016-05-06 18:53:46,507 ERROR [ShortCircuitCache_SlotReleaser] shortcircuit.ShortCircuitCache: ShortCircuitCache(0x196d0093): failed to release short-circuit shared memory slot Slot(slotIdx=126, shm=DfsClientShm(4ceb7a14af49cdf5ee906542fea6dfee)) by sending ReleaseShortCircuitAccessRequestProto to /var/lib/hadoop-hdfs/dn_socket.  Closing shared memory segment.
java.io.IOException: ERROR_INVALID: there is no shared memory segment registered with shmId 4ceb7a14af49cdf5ee906542fea6dfee
  at org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache$SlotReleaser.run(ShortCircuitCache.java:208)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at java.lang.Thread.run(Thread.java:745)
2016-05-06 18:53:46,507 WARN  [ShortCircuitCache_SlotReleaser] shortcircuit.DfsClientShmManager: EndpointShmManager(DatanodeInfoWithStorage[172.31.19.89:50010,DS-80a6e92c-8fcc-4ee4-a172-0cfa57a6768a,DISK], parent=ShortCircuitShmManager(4c54fd52)): error shutting down shm: got IOException calling shutdown(SHUT_RDWR)&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 01:55:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157636#M120037</guid>
      <dc:creator>Stry2K</dc:creator>
      <dc:date>2016-05-20T01:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157637#M120038</link>
      <description>&lt;P&gt;Also, can you share that JVM crash report? It probably has some signs about what was trying to do that allocation.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 01:56:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157637#M120038</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-05-20T01:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157638#M120039</link>
      <description>&lt;P&gt;Please find the log file attached&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4382-hs-err-pid41985.zip"&gt;hs-err-pid41985.zip&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 02:14:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157638#M120039</guid>
      <dc:creator>Joyglobal</dc:creator>
      <dc:date>2016-05-20T02:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157639#M120040</link>
      <description>&lt;PRE&gt;Current thread (0x00007f2e7c01d000):  JavaThread "Unknown thread" [_thread_in_vm, id=42067, stack(0x00007f2e83bc8000,0x00007f2e83cc9000)]

Stack: [0x00007f2e83bc8000,0x00007f2e83cc9000],  sp=0x00007f2e83cc72f0,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xaaca9a]  VMError::report_and_die()+0x2ba
V  [libjvm.so+0x4f333b]  report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x8b
V  [libjvm.so+0x90e8c3]  os::Linux::commit_memory_impl(char*, unsigned long, bool)+0x103
V  [libjvm.so+0x90ee19]  os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29
V  [libjvm.so+0x90877a]  os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a
V  [libjvm.so+0xaa8749]  VirtualSpace::expand_by(unsigned long, bool)+0x1c9
V  [libjvm.so+0xaa921e]  VirtualSpace::initialize(ReservedSpace, unsigned long)+0xee
V  [libjvm.so+0x5eda21]  CardGeneration::CardGeneration(ReservedSpace, unsigned long, int, GenRemSet*)+0xf1
V  [libjvm.so+0x4cb3fb]  ConcurrentMarkSweepGeneration::ConcurrentMarkSweepGeneration(ReservedSpace, unsigned long, int, CardTableRS*, bool, FreeBlockDictionary&amp;lt;FreeChunk&amp;gt;::DictionaryChoice)+0x4b
V  [libjvm.so+0x5eead2]  GenerationSpec::init(ReservedSpace, int, GenRemSet*)+0xf2
V  [libjvm.so+0x5dd77e]  GenCollectedHeap::initialize()+0x1ee
V  [libjvm.so+0xa75bab]  Universe::initialize_heap()+0xfb
V  [libjvm.so+0xa75f1e]  universe_init()+0x3e
V  [libjvm.so+0x62f665]  init_globals()+0x65
V  [libjvm.so+0xa5a12e]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x23e
V  [libjvm.so+0x6c3274]  JNI_CreateJavaVM+0x74
C  [libjli.so+0x745e]  JavaMain+0x9e
C  [libpthread.so.0+0x7aa1]  start_thread+0xd1
&lt;/PRE&gt;&lt;P&gt;Is telling us that the JVM was still trying to create the JVM and failed to do so.&lt;/P&gt;&lt;PRE&gt;jvm_args: -Dproc_regionserver -XX:OnOutOfMemoryError=kill -9 %p -Dhdp.version=2.4.2.0-258 -XX:+UseConcMarkSweepGC -XX:ErrorFile=/var/log/hbase/hs_err_pid%p.log -Djava.io.tmpdir=/tmp -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/var/log/hbase/gc.log-201605191913 -Xmn1024m -XX:CMSInitiatingOccupancyFraction=70 -Xms16384m -Xmx16384m -Dhbase.log.dir=/var/log/hbase -Dhbase.log.file=hbase-root-regionserver-ip-172-31-19-88.log -Dhbase.home.dir=/usr/hdp/current/hbase-regionserver/bin/.. -Dhbase.id.str=root -Dhbase.root.logger=DEBUG,RFA -Djava.library.path=:/usr/hdp/2.4.2.0-258/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.4.2.0-258/hadoop/lib/native -Dhbase.security.logger=INFO,RFAS&lt;/PRE&gt;&lt;P&gt;We can also see all of the JVM arguments. You set the young generation size to 1G, and the min and max heap size to 16G. These seem fine.&lt;/P&gt;&lt;P&gt;I apparently misread your free memory earlier. You have 40GB free and 20G in caches, so you should have plenty of free memory for HBase.&lt;/P&gt;&lt;P&gt;Can you also please share the output of `ulimit -a` as the hbase user and your hbase-site.xml?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 03:34:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157639#M120040</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-05-20T03:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157640#M120041</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/9581/raghug0922.html" nodeid="9581"&gt;@Raghu Gurrala&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Would you mind taking a look of below page.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.theshell.guru/native-memory-allocation-mmap-failed-to-map-xx-bytes-for-committing-reserved-memory-jdk-1-8-centos-6-7/" target="_blank"&gt;http://www.theshell.guru/native-memory-allocation-mmap-failed-to-map-xx-bytes-for-committing-reserved-memory-jdk-1-8-centos-6-7/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This guy also faced the same problem and I think he has the working fix.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 14:52:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157640#M120041</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-05-20T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157641#M120042</link>
      <description>&lt;PRE&gt; ulimit -a 
core file size (blocks, -c) 0 
data seg size (kbytes, -d) 
unlimited scheduling priority (-e) 0 
file size (blocks, -f) 
unlimited pending signals (-i) 274125 
max locked memory (kbytes, -l) 64 
max memory size (kbytes, -m) 
unlimited open files (-n) 32000 
pipe size (512 bytes, -p) 8 
POSIX message queues (bytes, -q) 819200 
real-time priority (-r) 0 
stack size (kbytes, -s) 10240 
cpu time (seconds, -t) 
unlimited max user processes (-u) 16000 
virtual memory (kbytes, -v) 
unlimited file locks (-x) unlimited&lt;/PRE&gt;</description>
      <pubDate>Sat, 21 May 2016 01:56:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157641#M120042</guid>
      <dc:creator>Joyglobal</dc:creator>
      <dc:date>2016-05-21T01:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157642#M120043</link>
      <description>&lt;P&gt;Thank you for getting back, below is the output for ulimit -a&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 01:57:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157642#M120043</guid>
      <dc:creator>Joyglobal</dc:creator>
      <dc:date>2016-05-21T01:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157643#M120044</link>
      <description>&lt;P&gt;Thank you for the response,&lt;/P&gt;&lt;P&gt;Tried that one but seem to have no impact&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 01:58:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157643#M120044</guid>
      <dc:creator>Joyglobal</dc:creator>
      <dc:date>2016-05-21T01:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Regionserver doesn't start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157644#M120045</link>
      <description>&lt;P&gt;Here is the solution&lt;/P&gt;&lt;P&gt;Hawq installation have caused a change to /etc/sysctl.conf&lt;/P&gt;&lt;P&gt;Had to change it back to default value and got rid of all the OOM errors.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;vm.overcommit_memory=2&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;
Had to change to default value 
vm.overcommit_memory=0

&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jun 2016 21:43:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Regionserver-doesn-t-start/m-p/157644#M120045</guid>
      <dc:creator>Joyglobal</dc:creator>
      <dc:date>2016-06-13T21:43:59Z</dc:date>
    </item>
  </channel>
</rss>

