mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Clemmer <>
Subject Re: Review Request 47821: Remove SASL dependency for Windows builds.
Date Sat, 28 May 2016 02:20:34 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated May 28, 2016, 2:20 a.m.)

Review request for mesos, Daniel Pravat, Artem Harutyunyan, Joris Van Remoortere, and Michael


master rebased

Bugs: MESOS-5450

Repository: mesos


SASL is currently a hard dependency for Mesos. Per MESOS-5450, we expect
that some platforms will not support SASL (namely Windows), so this
commit will begin the first step in a several-step process of removing
it as a hard dependency.

For this first step, this commit will shed SASL dependency in libmesos
only for Windows builds. We do this by:

  (1) Adding a preprocessor symbol, `HAS_AUTHENTICATION` that wraps the
      SASL-dependent code, so that we can conditionally choose not to
      compile it.
  (2) Defining `HAS_AUTHENTICATION` on all Unix builds, and leaving it
      undefined on all Windows builds.
  (3) Logging an error and exiting the master if the user passes in
      flags that depend on SASL, such as `--authenticate`.

Notably, what we do *not* do is:

  (1) Shed SASL dependency in the tests.

The impact of this is that, on Windows, relevant libmesos tests will
either not compile, or not pass. Naturally, as tracked by MESOS-5450,
the second phase of this series will be to shed the test dependency as

Diffs (updated)

  cmake/CompilationConfigure.cmake d3a5daee3c4c90712e920136bfe76fc9ab59ec45 
  src/ f1bd5e6e5515535c2aaf9ea8b205f4e8c7096ec5 
  src/master/master.cpp 6442762c9fdfa368d5d9d7cd43b97f5addaf7f17 
  src/sched/sched.cpp 8380e48950f9f9c7919cea6de5236cec8cc1729d 




Alex Clemmer

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message