Documentation
¶
Index ¶
Constants ¶
View Source
const (
// EnvPort show server port
EnvPort = "GINIT_PORT"
)
Variables ¶
View Source
var ( HadoopPath = "/hadoop-yarn" CgroupRoot = "/sys/fs/cgroup" // CgroupPath describe witch cgroup path to collect CgroupPath = []string{HadoopPath} CadvisorParameters = cadvisor.CadvisorParameter{ MemCache: memory.New(cadvisorCacheDuration, nil), SysFs: sysfs.NewRealSysFs(), IncludeMetrics: cadvisorMetrics, MaxHousekeepingInterval: cadvisorMaxHousekeepingInterval, } )
Functions ¶
This section is empty.
Types ¶
type RMApp ¶
type RMApp struct {
ID string `json:"id"`
User string `json:"user"`
Name string `json:"name"`
Queue string `json:"queue"`
State string `json:"state"`
FinalStatus string `json:"finalStatus"`
Progress float32 `json:"progress"`
TrackingUI string `json:"trackingUI"`
AmLogs string `json:"amContainerLogs"`
}
RMApp describe application options
type RMAppWrapper ¶
type RMAppWrapper struct {
App RMApp `json:"app"`
}
RMAppWrapper show the applications struct from nodemanager API
Click to show internal directories.
Click to hide internal directories.