Managing the job tracker using dsetool commands
Examples for using dsetool commands to identify and manage job tracker nodes.
- dsetool jobtracker
Returns the job tracker hostname and port to your location in the data center where you issued the command.
- dsetool movejt
data center-workload
node IP
Moves the job tracker, or the Spark master, and notifies the task tracker nodes.
- dsetool movejt
node IP
If you do not specify the data center name, the command moves the reserve job tracker.
- dsetool listjt
Lists all job tracker nodes grouped by their local data center.
- dsetool ring
Lists the nodes and types of the nodes in the ring.
More dsetool commands and options are described later.
Listing job trackers example
If you are not sure which nodes in your DSE cluster are job trackers, run the following command:
- Installer-Services and Package installations:
$ dsetool jobtracker
- Installer-No Services and Tarball installations:
$ install_location/bin/dsetool jobtracker
Moving the job tracker node example
If your primary job tracker node fails, you can use dsetool movejt to move the job tracker to another analytics node in the cluster. In-progress MapReduce jobs fail when you move the job tracker node or when the node goes down.