MapR 5.0 Documentation : Starting, Stopping, and Restarting Services

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

 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> ...

Command Line 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 manage node services from the MCS, you can:

  • Click on Nodes and then Manage Services.
  • Click on Nodes and then Properties.

Both methods are explained below.

Clicking on Nodes and Manage Services:

  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.

Clicking on Nodes and Properties:

  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.