AnsweredAssumed Answered

Problems install mapr-cldb "The stack size specified is too small, Specify at least 228k"

Question asked by tannetto on Nov 17, 2013
Latest reply on Nov 18, 2013 by tannetto
Hi to all out there ,
 - I'm use OS: Centos 6.4 64bit, Ram: 4G, storage /dev/sda:20gb (run OS), /dev/sdb(disksetup):20gb and

**java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode).**

 - Security :Selinux: disable, iptables:off
 - run /opt/mapr/server/configure.sh -C 47.mapr:7222 -Z 47.mapr:5181 -N MyCluster
 **-  ls -l /opt/mapr/roles**

             total 0
             rwxr-xr-x 1 root root 0 Sep  6 09:33 cldb
             rwxr-xr-x 1 root root 0 Sep  6 09:33 fileserver
             rwxr-xr-x 1 root root 0 Sep  6 09:33 nfs
             rwxr-xr-x 1 root root 0 Sep  6 09:33 zookeeper
 -**Set  /opt/mapr/conf/env.sh:**

             export JAVA_HOME=/usr/java/jdk1.7.0_45
             export MAPR_HOME=/opt/mapr
             export MAPR_USER=mapr

 - Format disk /opt/mapr/server/disksetup -F /tmp/disks.txt : ok

 **- Bringing Up**
 - service mapr-zookeeper start

JMX enabled by default
Using config: /opt/mapr/zookeeper/zookeeper-3.3.6/conf/zoo.cfg
Starting zookeeper ... already running as process 8466.

 **- Service mapr-warden start**

Starting WARDEN, logging to /opt/mapr/logs/warden.log.
.
For diagnostics look at /opt/mapr/logs/ for createsystemvolumes.log, warden.log and configured services log files

 **- service mapr-cldb start : Error: cldb can not be started. See /opt/mapr/logs/cldb.log for details**

 **- File cldb.log**

The stack size specified is too small, Specify at least 228k

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

**After I'm to change config to file  /opt/mapr/initscripts/mapr-cldb**

-XX:ThreadStackSize=160 \ -->> -XX:ThreadStackSize=228 \

 - service mapr-cldb start

Starting CLDB, logging to /opt/mapr/logs/cldb.log

=> Error to fix, but i'm don't understand work to java on MapR.

Please help me explain to problems.
Any help will be great ,thanks a lot.

Outcomes