AnsweredAssumed Answered

Restart nodemanager from the cli

Question asked by wolvmak on Feb 15, 2017
Latest reply on Feb 15, 2017 by cathy

How do you restart the NodeManger service from the command line?  i.e. for TaskTracker, we can run this:

/usr/bin/maprcli node services -tasktracker restart -nodes $HOSTNAME

However it doesn't look like nodemanager is compatible with this:

/usr/bin/maprcli node services -list
node services
[ -cluster cluster name ]
[ -filter node names filter. Please put it in quotes"" ]
[ -zkconnect ZooKeeper Connect String: 'host:port,host:port,host:port,...' ]
[ -nodes node names space separated ]
[ -cldb managing cldb service: [start, stop, suspend, resume, restart] ]
[ -fileserver managing fileserver service: [start, stop, suspend, resume, restart] ]
[ -hbmaster managing hbmaster service: [start, stop, suspend, resume, restart] ]
[ -hbregionserver managing hbregionserver service: [start, stop, suspend, resume, restart] ]
[ -jobtracker managing jobtracker service: [start, stop, suspend, resume, restart] ]
[ -nfs managing nfs service: [start, stop, suspend, resume, restart] ]
[ -tasktracker managing tasktracker service: [start, stop, suspend, resume, restart] ]
[ -webserver managing webserver service: [start, stop, suspend, resume, restart] ]
[ -name service name to perform action on ]

Outcomes