conf

package
v0.0.0-...-58217a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YARN_DEFAULT = "yarn-default.xml"
	YARN_SITE    = "yarn-site.xml"
)
View Source
const (
	YARN_PREFIX                  = "yarn."
	RM_PREFIX                    = YARN_PREFIX + "resourcemanager."
	RM_ADDRESS                   = RM_PREFIX + "address"
	DEFAULT_RM_ADDRESS           = "0.0.0.0:8032"
	RM_SCHEDULER_ADDRESS         = RM_PREFIX + "scheduler.address"
	DEFAULT_RM_SCHEDULER_ADDRESS = "0.0.0.0:8030"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type YarnConfiguration

type YarnConfiguration interface {
	GetRMAddress() (string, error)
	GetRMSchedulerAddress() (string, error)

	SetRMAddress(address string) error
	SetRMSchedulerAddress(address string) error
}

func NewYarnConfiguration

func NewYarnConfiguration() (YarnConfiguration, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL