Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ResourceManager is a MASTER component, and the command script is scripts/resourcemanager.py, which can be found in the services/YARN/package directory. That command script is PYTHON and that script implements the default commands as python methods. This is the install method for the default install INSTALL command:

Code Block
class Resourcemanager(Script):
  def install(self, env):
    self.install_packages(env)
    self.configure(env)

You can also see a custom command is defined DECOMMISSION, which means there is also a decommission method in that python command script:

...