Restarting the Services

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.

You can restart one or more services using the MapR Control System and the CLI

Restarting the Services Running on the Nodes Using the MapR Control System

To restart the services running on the nodes:

  1. Log in to MCS and click Nodes to display the Nodes page.
  2. Select the nodes from the list of nodes in the Nodes pane and click Manage Services to display the Manage Services window.
  3. Choose the Restart radio button for the services you wish to restart on the selected nodes and click Save.

Restarting one or more Services on a Node Using the MapR Control System

  1. Go to the Summary tab in the node information page.
  2. Select the services to restart in the Services pane.
  3. Click Restart Service(s).
    The Restart Service(s) confirmation dialog displays.
  4. Verify the list of services to restart and click Restart Service.

Restarting the Services on the Cluster Using the MapR Control System

  1. Log in to MCS and under Services.
  2. Click associated with the service to restart.
    The Restart Service confirmation dialog displays.
  3. Verify the list of nodes on which to restart the service and click Restart Service.

Restarting a Service Using the CLI or REST API

The basic command to restart a service on a node is:

maprcli node services -nodes <node name> -name <service> -action restart

For complete reference information, see node services.