17 #ifndef __SCHED_FLAGS_HPP__ 18 #define __SCHED_FLAGS_HPP__ 40 "registration_backoff_factor",
41 "Scheduler driver (re-)registration retries are exponentially backed\n" 42 "off based on 'b', the registration backoff factor (e.g., 1st retry\n" 43 "uses a random value between [0, b], 2nd retry between [0, b * 2^1],\n" 44 "3rd retry between [0, b * 2^2]...) up to a maximum of (framework\n" 45 "failover timeout/10, if failover timeout is specified) or " +
56 "List of modules to be loaded and be available to the internal\n" 59 "Use --modules=filepath to specify the list of modules via a\n" 60 "file containing a JSON formatted string. 'filepath' can be\n" 61 "of the form 'file:///path/to/file' or '/path/to/file'.\n" 63 "Use --modules=\"{...}\" to specify the list of modules inline.\n" 69 " \"file\": \"/path/to/libfoo.so\",\n" 72 " \"name\": \"org_apache_mesos_bar\",\n" 73 " \"parameters\": [\n" 81 " \"name\": \"org_apache_mesos_baz\"\n" 86 " \"name\": \"qux\",\n" 89 " \"name\": \"org_apache_mesos_norf\"\n" 101 "Directory path of the module manifest files.\n" 102 "The manifest files are processed in alphabetical order.\n" 103 "(See --modules for more information on module manifest files).\n" 104 "Cannot be used in conjunction with --modules.\n");
108 "Authenticatee implementation to use when authenticating against the\n" 110 "or load an alternate authenticatee module using MESOS_MODULES.",
114 "authentication_backoff_factor",
115 "The scheduler will time out its authentication with the master based\n" 116 "on exponential backoff. The timeout will be randomly chosen within\n" 117 "the range `[min, min + factor*2^n]` where `n` is the number of\n" 118 "failed attempts. To tune these parameters, set the\n" 119 "`--authentication_timeout_[min|max|factor]` flags.\n",
123 "authentication_timeout_min",
125 "The minimum amount of time the scheduler waits before retrying\n" 126 "authenticating with the master. See `authentication_backoff_factor`\n" 127 "for more details. NOTE: since authentication retry cancels the\n" 128 "previous authentication request, one should consider what is the\n" 129 "normal authentication delay when setting this flag to prevent\n" 134 "authentication_timeout_max",
135 "The maximum amount of time the scheduler waits before retrying\n" 136 "authenticating with the master. See `authentication_backoff_factor`\n" 154 #endif // __SCHED_FLAGS_HPP__
Flags()
Definition: flags.hpp:37
constexpr char DEFAULT_AUTHENTICATEE[]
Definition: constants.hpp:42
constexpr Duration DEFAULT_AUTHENTICATION_TIMEOUT_MAX
Definition: constants.hpp:54
Option< Modules > modules
Definition: flags.hpp:143
Definition: duration.hpp:32
constexpr Duration DEFAULT_AUTHENTICATION_TIMEOUT_MIN
Definition: constants.hpp:50
Duration authentication_timeout_min
Definition: flags.hpp:146
Duration authentication_backoff_factor
Definition: flags.hpp:141
constexpr Duration DEFAULT_REGISTRATION_BACKOFF_FACTOR
Definition: constants.hpp:35
Name DeprecatedName(const std::string &name)
Definition: flag.hpp:52
constexpr Duration REGISTRATION_RETRY_INTERVAL_MAX
Definition: constants.hpp:39
Definition: attributes.hpp:24
void add(T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 *t2, F validate)
Definition: flags.hpp:333
std::string authenticatee
Definition: flags.hpp:145
Duration authentication_timeout_max
Definition: flags.hpp:147
Duration registration_backoff_factor
Definition: flags.hpp:142
constexpr Duration DEFAULT_AUTHENTICATION_BACKOFF_FACTOR
Definition: constants.hpp:46
std::string stringify(int flags)
Option< std::string > modulesDir
Definition: flags.hpp:144