Starting, Stopping, and Restarting Services

You can start, stop, or restart services from the command line or from the MapR Control System (MCS).

In some cases, MapR automatically restarts the main services that manage the platform.

From the Command Line

  • To start, stop, or restart services from the command line, use the node services command. The syntax for the node services command is:
    maprcli node services <-service_name> start|stop|restart -nodes <node1> <node2> ...
  • Examples:
    • To restart the TaskTracker service on three nodes with hostnames: node1, node2, and node3, enter:

      maprcli node services -tasktracker restart -nodes node1 node2 node3

      To start the CLDB service on a node whose hostname is nodeC, enter:

      maprcli node services -cldb start -nodes nodeC

From the MCS

To start, stop, or restart a service through Manage Services, complete the following steps:
  1. In the Navigation pane, expand the Cluster group and click the Nodes view.
  2. Select the checkbox next to the node or nodes whose services you want to start, stop, or restart.
  3. Click the Manage Services button to display the Manage Services dialog.
  4. For each service, select the appropriate option from the corresponding drop-down menu.
  5. Click OK to start, stop, and restart the services according to your selections.

To start, stop, or restart a service through Nodes and Properties, complete the following steps:

  1. From the Nodes view, select the checkbox beside the node whose services you want to display.
  2. Click the Properties button to display all the properties for the node.
  3. Scroll down to the Manage Node Services section to see the status of each service.
  4. Click on the Stop/Start or Restart icons as necessary.

Automatic Restarts

  • When a MapR system is rebooted, the following services are automatically restarted:
    • mapr-warden
    • mapr-zookeeper
    • mapr-loopbacknfs
    • mapr-posix-client-*
  • These services are also automatically restarted if they are shut down externally (as opposed to being shut down explicitly via service or sysctl commands).
NOTE: This feature is implemented with systemd and is only supported on the following operating systems:
  • RHEL 7.0, 7.1
  • CentOS 7.0, 7.1
  • SuSe 12
This feature is not supported on any of the Ubuntu versions that MapR currently supports.