
●
All lowercase and uppercase letters and numbers are allowed in secrets.
-
,
_
, and
.
are allowed at any
position in the secret
●
! can be used, but should not be the first character
●
Other punctuation characters can cause authentication issues and are not recommended
●
White space in the secret is not allowed. White space at the end of the string will get trimmed
●
An empty space secret will not authenticate.
For more information, refer to the
urika-mesos-change-secret
man page.
Procedure
1. Log on to the SMW as root.
2. Stop the Mesos cluster.
#
urika-stop -s mesos_cluster
3. Execute the
urika-change-mesos-secret
script, specifying the framework and new secret.
Modify Spark's secret:
#
urika-change-mesos-secret -spark secret
Modify Marathon's secret:
#
urika-change-mesos-secret -marathon secret
The system will return an error if no secret is specified or if the secret is not entered in plain text.
4. Start the Mesos cluster.
CAUTION: The Mesos cluster needs to be restarted after running the
urika-mesos-change-
secret
command, otherwise the framework will not authenticate.
#
urika-start -s mesos_cluster
8.6
Clean Up Log Data
As jobs are executed on the system, a number of logs are generated, which need to be cleaned up, otherwise
they may consume unnecessary space. Log data is useful for debugging issues, but if it is certain that this data is
no longer needed, it can be deleted.
●
Mesos logs - Mesos logs are stored under
var/log/mesos
, whereas the Mesos framework logs are stored
under
/var/log/mesos/agent/slaves
. These logs need to be deleted manually.
●
Marathon logs - Marathon logs are stored under
var/log/message
and need to be deleted manually.
●
HA Proxy logs - HA Proxy logs are stored under
var/log/message
and need to be deleted manually.
●
Jupyter logs - Juypter log file are located at
var/log/jupyterhub/jupyterhub.log
and need to be
deleted manually.
Troubleshooting
S3016
257