mmhadoopctl command
Installs and sets up the GPFS connector for a Hadoop distribution; starts or stops the GPFS connector daemon on a node.
Synopsis
mmhadoopctl connector {start |stop |getstate}
or
mmhadoopctl connector syncconf [--nocheck] [path]
Availability
Available on all IBM Storage Scale editions.
Description
Use the mmhadoopctl command to install and set up the GPFS connector for a Hadoop distribution, or to start or stop the GPFS connector daemon on a node.
Parameters
- connector
- Controls the GPFS connector daemon with one of the following actions:
- start
- Starts the connector daemon.
- stop
- Stops the connector daemon.
- getstate
- Detects whether the connector daemon is running and shows its process ID.
- syncconf
- Synchronizes the connector configuration in the cluster.
- --nocheck
- If --nocheck is used, the sanity check is not performed. Therefore, use this option with caution.
- path
- Specifies the path to the config directory or file.
Exit status
- 0
- Successful completion.
- nonzero
- A failure has occurred.
Security
You must have root authority to run the mmhadoopctl command.
The node on which the command is issued must be able to execute remote shell commands on any other node in the cluster without the use of a password and without producing any extraneous messages. For more information, see Requirements for administering a GPFS file system.
Examples
To start the GPFS connector daemon, issue this command:
mmhadoopctl connector start
The
system displays output similar to this:Hadoop connector 'gpfs-connector-daemon' started
Location
/usr/lpp/mmfs/bin