Class BootstrapActions.ConfigureDaemons

    • Method Detail

      • withHeapSize

        public BootstrapActions.ConfigureDaemons withHeapSize​(BootstrapActions.Daemon daemon,
                                                              int megabytes)
        Set the heap size of a daemon.
        Parameters:
        daemon - The deamon to configure.
        megabytes - The requested heap size of the daemon.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • withOpts

        public BootstrapActions.ConfigureDaemons withOpts​(BootstrapActions.Daemon daemon,
                                                          String opts)
        Specify additional Java opts to be included when the daemon starts.
        Parameters:
        daemon - The daemon to add opts to.
        opts - Additional Java command line arguments.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • withReplace

        public BootstrapActions.ConfigureDaemons withReplace​(boolean replace)
        Replace the existing hadoop-user-env.sh file if it exists.
        Parameters:
        replace - whether the file should be replaced.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • build

        public BootstrapActionConfig build()
        Returns an object which can be used in a RunJobflow call.
        Returns:
        an object which can be used in a RunJobflow call.