Apache Mesos
Namespaces | Classes | Functions | Variables
mesos::internal::master Namespace Reference

Namespaces

 allocator
 
 maintenance
 
 quota
 
 validation
 
 weights
 

Classes

class  AdmitSlave
 
class  Flags
 
struct  Framework
 
class  Heartbeater
 
struct  HttpConnection
 
struct  Machine
 
class  MarkSlaveGone
 
class  MarkSlaveReachable
 
class  MarkSlaveUnreachable
 
class  Master
 
struct  Metrics
 
class  Prune
 
class  Registrar
 
class  RegistryOperation
 
class  RemoveSlave
 
struct  Role
 
struct  Slave
 
class  UpdateSlave
 

Functions

std::vector< MasterInfo::Capability > MASTER_CAPABILITIES ()
 
std::ostream & operator<< (std::ostream &stream, const Slave &slave)
 
std::ostream & operator<< (std::ostream &stream, const Framework &framework)
 

Variables

constexpr int MAX_OFFERS_PER_FRAMEWORK = 50
 
constexpr double MIN_CPUS = 0.01
 
constexpr Bytes MIN_MEM = Megabytes(32)
 
constexpr Duration DEFAULT_HEARTBEAT_INTERVAL = Seconds(15)
 
constexpr Duration DEFAULT_AGENT_PING_TIMEOUT = Seconds(15)
 
constexpr size_t DEFAULT_MAX_AGENT_PING_TIMEOUTS = 5
 
constexpr Duration MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10)
 
constexpr double RECOVERY_AGENT_REMOVAL_PERCENT_LIMIT = 1.0
 
constexpr size_t MAX_REMOVED_SLAVES = 100000
 
constexpr size_t DEFAULT_MAX_COMPLETED_FRAMEWORKS = 50
 
constexpr size_t DEFAULT_MAX_COMPLETED_TASKS_PER_FRAMEWORK = 1000
 
constexpr size_t DEFAULT_MAX_UNREACHABLE_TASKS_PER_FRAMEWORK = 1000
 
constexpr Duration WHITELIST_WATCH_INTERVAL = Seconds(5)
 
constexpr size_t TASK_LIMIT = 100
 
constexpr Duration DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15)
 
constexpr Duration DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2)
 
constexpr size_t DEFAULT_REGISTRY_MAX_AGENT_COUNT = 100 * 1024
 
constexpr char MASTER_INFO_LABEL [] = "info"
 Label used by the Leader Contender and Detector. More...
 
constexpr char MASTER_INFO_JSON_LABEL [] = "json.info"
 Label used by the Leader Contender and Detector, for JSON content. More...
 
constexpr Duration ZOOKEEPER_SESSION_TIMEOUT = Seconds(10)
 
constexpr char DEFAULT_AUTHENTICATOR [] = "crammd5"
 
constexpr char DEFAULT_ALLOCATOR [] = "hierarchical"
 
constexpr Duration DEFAULT_ALLOCATION_INTERVAL = Seconds(1)
 
constexpr char DEFAULT_AUTHORIZER [] = "local"
 
constexpr char READONLY_HTTP_AUTHENTICATION_REALM []
 
constexpr char READWRITE_HTTP_AUTHENTICATION_REALM []
 
constexpr char DEFAULT_HTTP_FRAMEWORK_AUTHENTICATION_REALM []
 
const Version MINIMUM_AGENT_VERSION = Version(1, 0, 0)
 

Function Documentation

std::vector<MasterInfo::Capability> mesos::internal::master::MASTER_CAPABILITIES ( )
std::ostream& mesos::internal::master::operator<< ( std::ostream &  stream,
const Slave slave 
)
inline
std::ostream & mesos::internal::master::operator<< ( std::ostream &  stream,
const Framework framework 
)
inline

Variable Documentation

constexpr Duration mesos::internal::master::DEFAULT_AGENT_PING_TIMEOUT = Seconds(15)
constexpr Duration mesos::internal::master::DEFAULT_ALLOCATION_INTERVAL = Seconds(1)
constexpr char mesos::internal::master::DEFAULT_ALLOCATOR[] = "hierarchical"
constexpr char mesos::internal::master::DEFAULT_AUTHENTICATOR[] = "crammd5"
constexpr char mesos::internal::master::DEFAULT_AUTHORIZER[] = "local"
constexpr Duration mesos::internal::master::DEFAULT_HEARTBEAT_INTERVAL = Seconds(15)
constexpr char mesos::internal::master::DEFAULT_HTTP_FRAMEWORK_AUTHENTICATION_REALM[]
Initial value:
=
"mesos-master-scheduler"
constexpr size_t mesos::internal::master::DEFAULT_MAX_AGENT_PING_TIMEOUTS = 5
constexpr size_t mesos::internal::master::DEFAULT_MAX_COMPLETED_FRAMEWORKS = 50
constexpr size_t mesos::internal::master::DEFAULT_MAX_COMPLETED_TASKS_PER_FRAMEWORK = 1000
constexpr size_t mesos::internal::master::DEFAULT_MAX_UNREACHABLE_TASKS_PER_FRAMEWORK = 1000
constexpr Duration mesos::internal::master::DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15)
constexpr Duration mesos::internal::master::DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2)
constexpr size_t mesos::internal::master::DEFAULT_REGISTRY_MAX_AGENT_COUNT = 100 * 1024
constexpr char mesos::internal::master::MASTER_INFO_JSON_LABEL[] = "json.info"

Label used by the Leader Contender and Detector, for JSON content.

Since
Mesos 0.23 (see MESOS-2340).
constexpr char mesos::internal::master::MASTER_INFO_LABEL[] = "info"

Label used by the Leader Contender and Detector.

Deprecated:
Will be deprecated as of Mesos 0.24: see MESOS-2340.
constexpr int mesos::internal::master::MAX_OFFERS_PER_FRAMEWORK = 50
constexpr size_t mesos::internal::master::MAX_REMOVED_SLAVES = 100000
constexpr Duration mesos::internal::master::MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10)
constexpr double mesos::internal::master::MIN_CPUS = 0.01
constexpr Bytes mesos::internal::master::MIN_MEM = Megabytes(32)
const Version mesos::internal::master::MINIMUM_AGENT_VERSION = Version(1, 0, 0)
constexpr char mesos::internal::master::READONLY_HTTP_AUTHENTICATION_REALM[]
Initial value:
=
"mesos-master-readonly"
constexpr char mesos::internal::master::READWRITE_HTTP_AUTHENTICATION_REALM[]
Initial value:
=
"mesos-master-readwrite"
constexpr double mesos::internal::master::RECOVERY_AGENT_REMOVAL_PERCENT_LIMIT = 1.0
constexpr size_t mesos::internal::master::TASK_LIMIT = 100
constexpr Duration mesos::internal::master::WHITELIST_WATCH_INTERVAL = Seconds(5)
constexpr Duration mesos::internal::master::ZOOKEEPER_SESSION_TIMEOUT = Seconds(10)