Search code examples
apache-zookeeperwardenmapr

starting warden after zookeeper of MapR


I am installing the MapR and I stucked at starting warden after start zookeeper on a single node.

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

On this file there is no detail. Does anybody have a hint? Thanks =)


Solution

  • If you aren't getting anything in warden.log, then it's likely that the warden JVM is never even being started by the mapr-warden init script.

    In some MapR versions, the mapr-warden init script will log some details into /opt/mapr/logs/wardeninit.log. You can try checking there.

    However, I will also caution that currently the logging done by the init script is sparse and not necessarily user friendly to read. If you can't discern the cause from the contents of the wardeninit.log you can post them here and maybe I can help.

    Another thing you can do is edit /etc/init.d/mapr-warden and add "set -x" towards the top of the file, right before the "BASEMAPR=" line, then try starting warden again and you'll get a bunch of shell debugging output on your screen. If you copy and paste that output here that should be enough to tell the root cause of the problem.

    One more thing to mention, you may be better off using the http://answers.mapr.com forum as that is MapR specific and I think there may be more users there that could help.