types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

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